	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpc925_cpu_check
_cpc925_cpu_check:                      ## @cpc925_cpu_check
	.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
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	movq	_REG_APIEXCP_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	___raw_readl
	movl	%eax, %r14d
	movq	_CPU_EXCP_DETECTED@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_REG_APIMASK_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	___raw_readl
	movl	%eax, %r15d
	movq	_KERN_INFO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_cpc925_printk
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_cpc925_printk
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_cpc925_printk
	movl	(%r12), %ecx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_edac_device_handle_ue          ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_APIEXCP_OFFSET,8,3         ## @REG_APIEXCP_OFFSET
	.comm	_CPU_EXCP_DETECTED,4,2          ## @CPU_EXCP_DETECTED
	.comm	_REG_APIMASK_OFFSET,8,3         ## @REG_APIMASK_OFFSET
	.comm	_KERN_INFO,4,2                  ## @KERN_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Processor Interface Fault\nProcessor Interface register dump:\n"

L_.str.1:                               ## @.str.1
	.asciz	"APIMASK\t\t0x%08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"APIEXCP\t\t0x%08x\n"

	.no_dead_strip	_cpc925_cpu_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpc925_cpu_check
_cpc925_cpu_check:                      ; @cpc925_cpu_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _REG_APIEXCP_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_APIEXCP_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	___raw_readl
Lloh3:
	adrp	x8, _CPU_EXCP_DETECTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CPU_EXCP_DETECTED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _REG_APIMASK_OFFSET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_APIMASK_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	___raw_readl
	mov	x21, x0
Lloh9:
	adrp	x22, _KERN_INFO@GOTPAGE
Lloh10:
	ldr	x22, [x22, _KERN_INFO@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_cpc925_printk
	ldr	w0, [x22]
	str	x21, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_cpc925_printk
	ldr	w0, [x22]
	str	x20, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_cpc925_printk
	ldr	w3, [x19]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_edac_device_handle_ue
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_APIEXCP_OFFSET,8,3         ; @REG_APIEXCP_OFFSET
	.comm	_CPU_EXCP_DETECTED,4,2          ; @CPU_EXCP_DETECTED
	.comm	_REG_APIMASK_OFFSET,8,3         ; @REG_APIMASK_OFFSET
	.comm	_KERN_INFO,4,2                  ; @KERN_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Processor Interface Fault\nProcessor Interface register dump:\n"

l_.str.1:                               ; @.str.1
	.asciz	"APIMASK\t\t0x%08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"APIEXCP\t\t0x%08x\n"

	.no_dead_strip	_cpc925_cpu_check
.subsections_via_symbols
