	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc4xx_edac_remove
_ppc4xx_edac_remove:                    ## @ppc4xx_edac_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	8(%rax), %r14
	movq	_edac_op_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EDAC_OPSTATE_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	8(%r14), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movl	4(%r14), %edi
	movq	%rbx, %rsi
	callq	_free_irq
LBB0_2:
	movl	(%r14), %edi
	movq	_SDRAM_DCR_RESOURCE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dcr_unmap
	movl	(%rbx), %edi
	callq	_edac_mc_del_mc
	movq	%rbx, %rdi
	callq	_edac_mc_free
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_edac_op_state,8,3              ## @edac_op_state
	.comm	_EDAC_OPSTATE_INT,8,3           ## @EDAC_OPSTATE_INT
	.comm	_SDRAM_DCR_RESOURCE_LEN,4,2     ## @SDRAM_DCR_RESOURCE_LEN
	.no_dead_strip	_ppc4xx_edac_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc4xx_edac_remove
_ppc4xx_edac_remove:                    ; @ppc4xx_edac_remove
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_dev_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x8, _edac_op_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _edac_op_state@GOTPAGEOFF]
	ldr	x20, [x0, #8]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EDAC_OPSTATE_INT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EDAC_OPSTATE_INT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
	mov	x1, x19
	bl	_free_irq
	ldr	w0, [x20, #4]
	mov	x1, x19
	bl	_free_irq
LBB0_2:
	ldr	w0, [x20]
Lloh6:
	adrp	x8, _SDRAM_DCR_RESOURCE_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SDRAM_DCR_RESOURCE_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_dcr_unmap
	ldr	w0, [x19]
	bl	_edac_mc_del_mc
	mov	x0, x19
	bl	_edac_mc_free
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_edac_op_state,8,3              ; @edac_op_state
	.comm	_EDAC_OPSTATE_INT,8,3           ; @EDAC_OPSTATE_INT
	.comm	_SDRAM_DCR_RESOURCE_LEN,4,2     ; @SDRAM_DCR_RESOURCE_LEN
	.no_dead_strip	_ppc4xx_edac_remove
.subsections_via_symbols
