	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edac_mc_alloc                  ## -- Begin function edac_mc_alloc
	.p2align	4, 0x90
_edac_mc_alloc:                         ## @edac_mc_alloc
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movl	%esi, %ebx
	movl	%edi, %r15d
	movl	$72, %edi
	movl	$72, %esi
	callq	_edac_align_ptr
	movq	%rax, %r12
	movl	%ebx, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,8), %rax
	leaq	(%r12,%rax,8), %rdi
	movl	$72, %esi
	callq	_edac_align_ptr
	movl	%r14d, %ecx
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	imull	%ebx, %ecx
	leaq	(%rcx,%rcx,8), %rcx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rcx,8), %rdi
	movl	%r15d, %esi
	callq	_edac_align_ptr
	movq	%rax, %r13
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leal	(%rax,%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %r15
	addq	%rax, %r12
	addq	%rax, %r13
	xorl	%r11d, %r11d
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movl	$0, %eax
	cmovneq	%r13, %rax
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%r15)
	movq	%r12, 64(%r15)
	movq	%rax, 56(%r15)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r15)
	testl	%eax, %eax
	movq	-72(%rbp), %r10                 ## 8-byte Reload
	je	LBB0_13
## %bb.2:
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%r15,%rsi), %r13
	movl	%r14d, %edx
	leaq	-1(%rdx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %eax
	andl	$3, %eax
	andl	$-4, %edx
	leaq	(%rsi,%r15), %rcx
	addq	$248, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	32(%rsi,%r15), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,8), %rax
	leaq	(%rax,%rax,8), %rsi
	xorl	%edi, %edi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdi
	addl	%r14d, %r11d
	cmpq	%r10, %rdi
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movl	%edi, %eax
	imull	%r14d, %eax
	leaq	(%rdi,%rdi,8), %rcx
	movl	%edi, 8(%r12,%rcx,8)
	movq	%r15, 48(%r12,%rcx,8)
	movl	%r14d, 12(%r12,%rcx,8)
	leaq	(%rax,%rax,8), %rax
	leaq	(,%rax,8), %rax
	addq	%r13, %rax
	movq	%rax, 40(%r12,%rcx,8)
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r11d, %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,8), %r9
	leaq	(%r12,%rcx,8), %rcx
	cmpq	$3, -64(%rbp)                   ## 8-byte Folded Reload
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r8d, %r8d
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_10
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r9), %r10
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r8d, -232(%r10)
	movq	%rcx, -216(%r10)
	leal	1(%r8), %eax
	movl	%eax, -160(%r10)
	movq	%rcx, -144(%r10)
	leal	2(%r8), %eax
	movl	%eax, -88(%r10)
	movq	%rcx, -72(%r10)
	leal	3(%r8), %eax
	movl	%eax, -16(%r10)
	movq	%rcx, (%r10)
	addq	$4, %r8
	addq	$288, %r10                      ## imm = 0x120
	cmpq	%rdx, %r8
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %r10                 ## 8-byte Reload
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r8,%r8,8), %rax
	leaq	(%r9,%rax,8), %rbx
	addq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r8d, -16(%rbx,%rax)
	movq	%rcx, (%rbx,%rax)
	incl	%r8d
	addq	$72, %rax
	cmpq	%rax, %rsi
	jne	LBB0_11
	jmp	LBB0_12
LBB0_13:
	movq	_OP_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	%r15, %rdi
	addq	$20, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, %rdi
	callq	_edac_mc_register_sysfs_main_kobj
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:
	movq	%r15, %rdi
	callq	_kfree
LBB0_15:
	xorl	%r15d, %r15d
LBB0_16:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_OP_ALLOC,4,2                   ## @OP_ALLOC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edac_mc_alloc                  ; -- Begin function edac_mc_alloc
	.p2align	2
_edac_mc_alloc:                         ; @edac_mc_alloc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x24, x0
	mov	w20, #72
	mov	w0, #72
	mov	w1, #72
	bl	_edac_align_ptr
	mov	x25, x0
	umaddl	x0, w21, w20, x0
	mov	w1, #72
	bl	_edac_align_ptr
	mov	x23, x0
	mul	w8, w19, w21
	umaddl	x0, w8, w20, x0
	mov	x1, x24
	bl	_edac_align_ptr
	mov	x26, x0
	add	w0, w26, w24
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_14
; %bb.1:
	add	x8, x20, x25
	add	x9, x20, x26
	cmp	w24, #0
	csel	x9, xzr, x9, eq
	stp	x9, x8, [x20, #56]
	stp	w22, w21, [x20]
	cbz	w21, LBB0_12
; %bb.2:
	mov	w9, #0
	mov	x10, #0
	mov	w11, w21
	add	x12, x20, x23
	mov	w13, w19
	and	x14, x13, #0xfffffffc
	add	x16, x23, x20
	add	x15, x16, #160
	add	x16, x16, #32
	mov	w17, #72
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	add	w9, w9, w19
	cmp	x10, x11
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	madd	x0, x10, x17, x8
	stp	w10, w19, [x0, #8]
	mul	w1, w10, w19
	umaddl	x1, w1, w17, x12
	stp	x1, x20, [x0, #40]
	cbz	w19, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, #4
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, #0
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, #0
	umaddl	x2, w9, w17, x15
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w3, w1, #1
	stur	w1, [x2, #-144]
	add	w4, w1, #2
	add	w5, w1, #3
	stur	w3, [x2, #-72]
	str	w4, [x2]
	str	w5, [x2, #72]
	stur	x0, [x2, #-128]
	stur	x0, [x2, #-56]
	add	x1, x1, #4
	str	x0, [x2, #16]
	str	x0, [x2, #88]
	add	x2, x2, #288
	cmp	x14, x1
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x14
	cmp	x14, x13
	b.eq	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	umull	x2, w9, w17
	madd	x2, x1, x17, x2
	add	x2, x16, x2
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stur	w1, [x2, #-16]
	str	x0, [x2], #72
	add	x1, x1, #1
	cmp	x13, x1
	b.ne	LBB0_11
	b	LBB0_3
LBB0_12:
Lloh3:
	adrp	x8, _OP_ALLOC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OP_ALLOC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	add	x0, x20, #20
	bl	_INIT_LIST_HEAD
	mov	x0, x20
	bl	_edac_mc_register_sysfs_main_kobj
	cbz	w0, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_kfree
	mov	x20, #0
LBB0_14:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_OP_ALLOC,4,2                   ; @OP_ALLOC
.subsections_via_symbols
