	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_llcc_edac_probe
_qcom_llcc_edac_probe:                  ## @qcom_llcc_edac_probe
	.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, %r14
	movq	(%rdi), %r12
	movl	8(%r12), %edi
	callq	_qcom_llcc_core_setup
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movl	4(%r12), %r15d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_edac_device_alloc_index
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	xorl	%edi, %edi
	movl	$1, %edx
	movl	%r15d, %r8d
	movl	$1, %r9d
	pushq	%rax
	pushq	$0
	pushq	$0
	callq	_edac_device_alloc_ctl_info
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	%r14, 8(%rax)
	movq	%r14, %rdi
	callq	_dev_name
	movq	%rax, 40(%r15)
	movq	%r14, %rdi
	callq	_dev_name
	movq	%rax, 32(%r15)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%r15)
	movq	_LLCC_ERP_PANIC_ON_UE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	%r12, 16(%r15)
	movq	%r15, %rdi
	callq	_edac_device_add_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	movl	(%r12), %esi
	testl	%esi, %esi
	js	LBB0_5
## %bb.8:
	movq	_llcc_ecc_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_TRIGGER_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %r8
	movq	%r14, %rdi
	movq	%r15, %r9
	callq	_devm_request_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_5:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movq	8(%r15), %rdi
	callq	_edac_device_del_device
LBB0_7:
	movq	%r15, %rdi
	callq	_edac_device_free_ctl_info
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qcom-llcc"

L_.str.1:                               ## @.str.1
	.asciz	"bank"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"llcc"

	.comm	_LLCC_ERP_PANIC_ON_UE,4,2       ## @LLCC_ERP_PANIC_ON_UE
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_llcc_ecc_irq_handler,4,2       ## @llcc_ecc_irq_handler
	.comm	_IRQF_TRIGGER_HIGH,4,2          ## @IRQF_TRIGGER_HIGH
L_.str.3:                               ## @.str.3
	.asciz	"llcc_ecc"

	.no_dead_strip	_qcom_llcc_edac_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcom_llcc_edac_probe
_qcom_llcc_edac_probe:                  ; @qcom_llcc_edac_probe
	.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	x22, [x0]
	ldr	w0, [x22, #8]
	bl	_qcom_llcc_core_setup
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	w20, [x22, #4]
	bl	_edac_device_alloc_index
	str	w0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w0, #0
	mov	w2, #1
	mov	x4, x20
	mov	w5, #1
	mov	x6, #0
	mov	w7, #0
	bl	_edac_device_alloc_ctl_info
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	str	x19, [x0, #8]
	mov	x0, x19
	bl	_dev_name
	str	x0, [x20, #40]
	mov	x0, x19
	bl	_dev_name
	str	x0, [x20, #32]
Lloh4:
	adrp	x8, l_.str.2@PAGE
Lloh5:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x20]
Lloh6:
	adrp	x8, _LLCC_ERP_PANIC_ON_UE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LLCC_ERP_PANIC_ON_UE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	str	x22, [x20, #16]
	mov	x0, x20
	bl	_edac_device_add_device
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	w1, [x22]
	tbnz	w1, #31, LBB0_6
; %bb.4:
Lloh9:
	adrp	x8, _llcc_ecc_irq_handler@GOTPAGE
Lloh10:
	ldr	x8, [x8, _llcc_ecc_irq_handler@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _IRQF_TRIGGER_HIGH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQF_TRIGGER_HIGH@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x4, l_.str.3@PAGE
Lloh16:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x5, x20
	bl	_devm_request_irq
	mov	x21, x0
	cbnz	w0, LBB0_7
	b	LBB0_9
LBB0_5:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_6:
Lloh20:
	adrp	x8, _ENODEV@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_7:
	ldr	x0, [x20, #8]
	bl	_edac_device_del_device
LBB0_8:
	mov	x0, x20
	bl	_edac_device_free_ctl_info
LBB0_9:
	mov	x0, x21
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qcom-llcc"

l_.str.1:                               ; @.str.1
	.asciz	"bank"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"llcc"

	.comm	_LLCC_ERP_PANIC_ON_UE,4,2       ; @LLCC_ERP_PANIC_ON_UE
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_llcc_ecc_irq_handler,4,2       ; @llcc_ecc_irq_handler
	.comm	_IRQF_TRIGGER_HIGH,4,2          ; @IRQF_TRIGGER_HIGH
l_.str.3:                               ; @.str.3
	.asciz	"llcc_ecc"

	.no_dead_strip	_qcom_llcc_edac_probe
.subsections_via_symbols
