	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_memory_error_data
_get_memory_error_data:                 ## @get_memory_error_data
	.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	%rcx, %r13
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r12
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movl	%r14d, %edi
	callq	_sys2pmi
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	(%rax), %cl
	movl	-44(%rbp), %esi
	sarl	%cl, %esi
	movl	%esi, -44(%rbp)
	movb	4(%rax), %cl
	movl	-48(%rbp), %edx
	sarl	%cl, %edx
	movl	%edx, -48(%rbp)
	movl	%edx, (%r15)
	movq	%r12, %rdi
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	*8(%rax)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	-44(%rbp), %ecx
	movl	20(%r15), %r9d
	movl	16(%r15), %r10d
	movl	12(%r15), %r11d
	movl	8(%r15), %r12d
	movl	(%r15), %r8d
	movl	4(%r15), %eax
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	%r14d, %edx
	pushq	%rax
	pushq	%r12
	pushq	%r11
	pushq	%r10
	callq	_edac_dbg
	addq	$32, %rsp
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ops,8,3                        ## @ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SysAddr=%llx PmiAddr=%llx Channel=%d DIMM=%d Rank=%d Bank=%d Row=%d Column=%d\n"

	.no_dead_strip	_get_memory_error_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_memory_error_data
_get_memory_error_data:                 ; @get_memory_error_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	add	x1, sp, #8
	add	x2, sp, #12
	mov	x0, x19
	bl	_sys2pmi
	cbnz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [sp, #12]
	ldp	w10, w11, [x8]
	asr	w1, w9, w10
	ldr	w9, [sp, #8]
	asr	w2, w9, w11
	stp	w2, w1, [sp, #8]
	str	w2, [x20]
	ldr	x8, [x8, #8]
	mov	x0, x22
	mov	x3, x20
	mov	x4, x21
	blr	x8
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w3, [sp, #12]
	ldp	w6, w5, [x20, #16]
	ldp	w8, w7, [x20, #8]
	ldp	w4, w9, [x20]
	stp	w8, w9, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_edac_dbg
	mov	w0, #0
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ops,8,3                        ; @ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SysAddr=%llx PmiAddr=%llx Channel=%d DIMM=%d Rank=%d Bank=%d Row=%d Column=%d\n"

	.no_dead_strip	_get_memory_error_data
.subsections_via_symbols
