	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f1x_map_sysaddr_to_csrow
_f1x_map_sysaddr_to_csrow:              ## @f1x_map_sysaddr_to_csrow
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	movl	$0, -44(%rbp)
	leaq	-56(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r12, %rdi
	callq	_f1x_translate_sysaddr_to_cs
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r15d
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movl	%r13d, %edi
	callq	_error_address_to_page_and_offset
	movq	%r12, %rdi
	callq	_dct_ganging_enabled
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_get_channel_from_ecc_syndrome
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	js	LBB0_6
LBB0_10:
	movl	-52(%rbp), %esi
	movl	-48(%rbp), %edx
	movq	_EDAC_MOD_STR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	%eax, %r9d
	callq	_edac_mc_handle_ce
	jmp	LBB0_9
LBB0_1:
	movq	_EDAC_MOD_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_edac_mc_handle_ce_no_info
	jmp	LBB0_9
LBB0_4:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jns	LBB0_10
LBB0_6:
	movl	%r15d, %r12d
	movl	$0, -44(%rbp)
	movq	(%rbx), %rax
	cmpl	$0, (%rax,%r12,4)
	jle	LBB0_9
## %bb.7:
	xorl	%r9d, %r9d
	movq	_EDAC_MOD_STR@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	-52(%rbp), %esi
	movl	-48(%rbp), %edx
	movl	(%r13), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	callq	_edac_mc_handle_ce
	movl	-44(%rbp), %r9d
	incl	%r9d
	movl	%r9d, -44(%rbp)
	movq	(%rbx), %rax
	cmpl	(%rax,%r12,4), %r9d
	jl	LBB0_8
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDAC_MOD_STR,4,2               ## @EDAC_MOD_STR
	.no_dead_strip	_f1x_map_sysaddr_to_csrow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f1x_map_sysaddr_to_csrow
_f1x_map_sysaddr_to_csrow:              ; @f1x_map_sysaddr_to_csrow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x22, [x0, #8]
	str	wzr, [sp]
	add	x2, sp, #4
	mov	x3, sp
	mov	x0, x22
	bl	_f1x_translate_sysaddr_to_cs
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x21, x0
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x23
	bl	_error_address_to_page_and_offset
	mov	x0, x22
	bl	_dct_ganging_enabled
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_get_channel_from_ecc_syndrome
	mov	x5, x0
	str	w0, [sp]
	tbnz	w5, #31, LBB0_6
LBB0_3:
	ldp	w2, w1, [sp, #8]
Lloh0:
	adrp	x8, _EDAC_MOD_STR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDAC_MOD_STR@GOTPAGEOFF]
Lloh2:
	ldr	w6, [x8]
	mov	x0, x20
	mov	x3, x19
	mov	x4, x21
	bl	_edac_mc_handle_ce
	b	LBB0_9
LBB0_4:
Lloh3:
	adrp	x8, _EDAC_MOD_STR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EDAC_MOD_STR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_edac_mc_handle_ce_no_info
	b	LBB0_9
LBB0_5:
	ldr	w5, [sp]
	tbz	w5, #31, LBB0_3
LBB0_6:
	str	wzr, [sp]
	ldr	x8, [x20]
	ldr	w8, [x8, w21, uxtw #2]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	w5, #0
	mov	w22, w21
Lloh6:
	adrp	x23, _EDAC_MOD_STR@GOTPAGE
Lloh7:
	ldr	x23, [x23, _EDAC_MOD_STR@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w2, w1, [sp, #8]
	ldr	w6, [x23]
	mov	x0, x20
	mov	x3, x19
	mov	x4, x21
	bl	_edac_mc_handle_ce
	ldr	w8, [sp]
	add	w5, w8, #1
	str	w5, [sp]
	ldr	x8, [x20]
	ldr	w8, [x8, x22, lsl #2]
	cmp	w5, w8
	b.lt	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EDAC_MOD_STR,4,2               ; @EDAC_MOD_STR
	.no_dead_strip	_f1x_map_sysaddr_to_csrow
.subsections_via_symbols
