	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_un_rec
_count_un_rec:                          ## @count_un_rec
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movl	%edx, %eax
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %rcx
	movq	(%rcx), %rdx
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_PAGE_MASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	notl	%r8d
	andl	%eax, %r8d
	sarl	%cl, %eax
	movq	_HW_EVENT_ERR_UNCORRECTED@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	addl	(%rdx), %eax
	subq	$8, %rsp
	leaq	L_.str(%rip), %r15
	movq	%r14, %rsi
	movl	$1, %edx
	movl	%eax, %ecx
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%r15
	pushq	$-1
	pushq	$0
	pushq	$0
	callq	_edac_mc_handle_error
	addq	$48, %rsp
	cmpl	$2, %ebx
	jl	LBB0_3
## %bb.2:
	movl	(%r12), %edi
	decl	%ebx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rax
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%rax
	pushq	$-1
	pushq	$0
	pushq	$0
	callq	_edac_mc_handle_error
	addq	$48, %rsp
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_PAGE_MASK,4,2                  ## @PAGE_MASK
	.comm	_HW_EVENT_ERR_UNCORRECTED,4,2   ## @HW_EVENT_ERR_UNCORRECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"address(es) not available"

	.no_dead_strip	_count_un_rec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_un_rec
_count_un_rec:                          ; @count_un_rec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	w1, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh2:
	ldr	w9, [x9]
	asr	w9, w2, w9
Lloh3:
	adrp	x10, _PAGE_MASK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PAGE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	bic	w4, w2, w10
Lloh6:
	adrp	x21, _HW_EVENT_ERR_UNCORRECTED@GOTPAGE
Lloh7:
	ldr	x21, [x21, _HW_EVENT_ERR_UNCORRECTED@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w8, [x8]
	add	w3, w8, w9
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
	stp	x22, x22, [sp, #8]
	mov	w23, #-1
	str	w23, [sp]
	mov	x1, x19
	mov	w2, #1
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_edac_mc_handle_error
	cmp	w20, #2
	b.lt	LBB0_3
; %bb.2:
	ldr	w0, [x21]
	sub	w2, w20, #1
Lloh10:
	adrp	x8, l_.str.1@PAGE
Lloh11:
	add	x8, x8, l_.str.1@PAGEOFF
	stp	x8, x22, [sp, #8]
	str	w23, [sp]
	mov	x1, x19
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_edac_mc_handle_error
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_PAGE_MASK,4,2                  ; @PAGE_MASK
	.comm	_HW_EVENT_ERR_UNCORRECTED,4,2   ; @HW_EVENT_ERR_UNCORRECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"address(es) not available"

	.no_dead_strip	_count_un_rec
.subsections_via_symbols
