	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc4xx_edac_register_irq
_ppc4xx_edac_register_irq:              ## @ppc4xx_edac_register_irq
	.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	%rsi, %r12
	movq	(%rsi), %r13
	movq	(%rdi), %rbx
	movq	_INTMAP_ECCDED_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_irq_of_parse_and_map
	movl	%eax, %r14d
	movq	_INTMAP_ECCSEC_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_irq_of_parse_and_map
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	_ppc4xx_edac_isr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rcx
	movl	%r14d, %edi
	xorl	%edx, %edx
	movq	%r12, %r8
	callq	_request_irq
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	(%rbx), %esi
	leaq	L_.str.3(%rip), %rcx
	xorl	%ebx, %ebx
	movl	%r15d, %edi
	xorl	%edx, %edx
	movq	%r12, %r8
	callq	_request_irq
	testl	%eax, %eax
	js	LBB0_6
## %bb.10:
	movq	_KERN_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rsi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_ppc4xx_edac_mc_printk
	movq	_KERN_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rsi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_ppc4xx_edac_mc_printk
	movl	%r14d, (%r13)
	movl	%r15d, 4(%r13)
	jmp	LBB0_9
LBB0_2:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_ppc4xx_edac_mc_printk
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_8
LBB0_4:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rsi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_ppc4xx_edac_mc_printk
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_7
LBB0_6:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rsi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_ppc4xx_edac_mc_printk
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_free_irq
LBB0_7:
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_free_irq
LBB0_8:
	negl	%ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTMAP_ECCDED_INDEX,4,2        ## @INTMAP_ECCDED_INDEX
	.comm	_INTMAP_ECCSEC_INDEX,4,2        ## @INTMAP_ECCSEC_INDEX
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to map interrupts.\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ppc4xx_edac_isr,4,2            ## @ppc4xx_edac_isr
L_.str.1:                               ## @.str.1
	.asciz	"[EDAC] MC ECCDED"

L_.str.2:                               ## @.str.2
	.asciz	"Unable to request irq %d for ECC DED"

L_.str.3:                               ## @.str.3
	.asciz	"[EDAC] MC ECCSEC"

L_.str.4:                               ## @.str.4
	.asciz	"Unable to request irq %d for ECC SEC"

	.comm	_KERN_INFO,4,2                  ## @KERN_INFO
L_.str.5:                               ## @.str.5
	.asciz	"ECCDED irq is %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"ECCSEC irq is %d\n"

	.no_dead_strip	_ppc4xx_edac_register_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc4xx_edac_register_irq
_ppc4xx_edac_register_irq:              ; @ppc4xx_edac_register_irq
	.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, x1
	ldr	x22, [x1]
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _INTMAP_ECCDED_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTMAP_ECCDED_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_irq_of_parse_and_map
	mov	x20, x0
Lloh3:
	adrp	x8, _INTMAP_ECCSEC_INDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTMAP_ECCSEC_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_irq_of_parse_and_map
	cmp	w20, #0
	ccmp	w0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	bl	_ppc4xx_edac_mc_printk
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
	b	LBB0_8
LBB0_2:
	mov	x21, x0
Lloh14:
	adrp	x23, _ppc4xx_edac_isr@GOTPAGE
Lloh15:
	ldr	x23, [x23, _ppc4xx_edac_isr@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh16:
	adrp	x3, l_.str.1@PAGE
Lloh17:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	w1, [x23]
Lloh18:
	adrp	x3, l_.str.3@PAGE
Lloh19:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	tbnz	w0, #31, LBB0_6
; %bb.4:
Lloh20:
	adrp	x23, _KERN_INFO@GOTPAGE
Lloh21:
	ldr	x23, [x23, _KERN_INFO@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x8, x20
	str	x8, [sp]
Lloh22:
	adrp	x2, l_.str.5@PAGE
Lloh23:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_ppc4xx_edac_mc_printk
	ldr	w0, [x23]
	mov	x8, x21
	str	x8, [sp]
Lloh24:
	adrp	x2, l_.str.6@PAGE
Lloh25:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_ppc4xx_edac_mc_printk
	mov	w0, #0
	stp	w20, w21, [x22]
	b	LBB0_9
LBB0_5:
Lloh26:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh29:
	adrp	x2, l_.str.2@PAGE
Lloh30:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_ppc4xx_edac_mc_printk
Lloh31:
	adrp	x8, _ENODEV@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh33:
	ldr	w22, [x8]
	b	LBB0_7
LBB0_6:
Lloh34:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh37:
	adrp	x2, l_.str.4@PAGE
Lloh38:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_ppc4xx_edac_mc_printk
Lloh39:
	adrp	x8, _ENODEV@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh41:
	ldr	w22, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_free_irq
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_free_irq
LBB0_8:
	neg	w0, w22
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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_INTMAP_ECCDED_INDEX,4,2        ; @INTMAP_ECCDED_INDEX
	.comm	_INTMAP_ECCSEC_INDEX,4,2        ; @INTMAP_ECCSEC_INDEX
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to map interrupts.\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ppc4xx_edac_isr,4,2            ; @ppc4xx_edac_isr
l_.str.1:                               ; @.str.1
	.asciz	"[EDAC] MC ECCDED"

l_.str.2:                               ; @.str.2
	.asciz	"Unable to request irq %d for ECC DED"

l_.str.3:                               ; @.str.3
	.asciz	"[EDAC] MC ECCSEC"

l_.str.4:                               ; @.str.4
	.asciz	"Unable to request irq %d for ECC SEC"

	.comm	_KERN_INFO,4,2                  ; @KERN_INFO
l_.str.5:                               ; @.str.5
	.asciz	"ECCDED irq is %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"ECCSEC irq is %d\n"

	.no_dead_strip	_ppc4xx_edac_register_irq
.subsections_via_symbols
