	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function highbank_l2_err_probe
_highbank_l2_err_probe:                 ## @highbank_l2_err_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	%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	%rdi, %r15
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movl	$24, %edi
	movl	$1, %edx
	movl	$1, %r8d
	movl	$2, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_edac_device_alloc_ctl_info
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	24(%rax), %r13
	movq	%r15, 16(%rax)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devres_open_group
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r12
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r13d
	movq	%rax, %rdi
	callq	_resource_size
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_dev_name
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_devm_request_mem_region
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	movl	(%r12), %ebx
	movq	%r12, %rdi
	callq	_resource_size
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_devm_ioremap
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, 16(%r13)
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	_hb_l2_err_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_of_match_device
	movq	(%r15), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r14)
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	(%rax), %rax
	jmp	LBB0_14
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_19
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_19
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_12:
	leaq	L_.str.5(%rip), %rax
LBB0_14:
	movq	%rax, (%r14)
	movq	%r15, %rdi
	callq	_dev_name
	movl	%eax, 8(%r14)
	movq	%r14, %rdi
	callq	_edac_device_add_device
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_18
## %bb.15:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, %rbx
	movq	%rax, 8(%r13)
	movq	_highbank_l2_err_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_dev_name
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_platform_get_irq
	movq	%rax, %r12
	movq	%rax, (%r13)
	movq	_highbank_l2_err_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_dev_name
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_17
## %bb.20:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devres_close_group
	jmp	LBB0_19
LBB0_17:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_edac_device_del_device
LBB0_18:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devres_release_group
	movq	%r14, %rdi
	callq	_edac_device_free_ctl_info
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpu"

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

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.2:                               ## @.str.2
	.asciz	"Unable to get mem resource\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.3:                               ## @.str.3
	.asciz	"Error while requesting mem region\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.4:                               ## @.str.4
	.asciz	"Unable to map regs\n"

	.comm	_hb_l2_err_of_match,4,2         ## @hb_l2_err_of_match
L_.str.5:                               ## @.str.5
	.asciz	"unknown"

	.comm	_highbank_l2_err_handler,4,2    ## @highbank_l2_err_handler
	.no_dead_strip	_highbank_l2_err_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function highbank_l2_err_probe
_highbank_l2_err_probe:                 ; @highbank_l2_err_probe
	.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, x0
	str	wzr, [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, #24
	mov	w2, #1
	mov	w4, #1
	mov	w5, #2
	mov	x6, #0
	mov	w7, #0
	bl	_edac_device_alloc_ctl_info
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x24, [x0, #24]
	str	x19, [x0, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_devres_open_group
	cbz	w0, LBB0_7
; %bb.2:
Lloh7:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
	ldr	w22, [x0]
	bl	_resource_size
	mov	x23, x0
	mov	x0, x19
	bl	_dev_name
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_devm_request_mem_region
	cbz	w0, LBB0_9
; %bb.4:
	ldr	w22, [x21]
	mov	x0, x21
	bl	_resource_size
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_devm_ioremap
	str	w0, [x24, #16]
	cbz	w0, LBB0_10
; %bb.5:
Lloh10:
	adrp	x8, _hb_l2_err_of_match@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hb_l2_err_of_match@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x20, #12]
	cbz	x0, LBB0_14
; %bb.6:
	ldr	x8, [x0]
	b	LBB0_15
LBB0_7:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_8:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh18:
	adrp	x8, _ENODEV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh22:
	adrp	x8, _EBUSY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_12:
	mov	x0, x19
	mov	x1, #0
	bl	_devres_release_group
	mov	x0, x20
	bl	_edac_device_free_ctl_info
LBB0_13:
	mov	x0, x21
	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
LBB0_14:
Lloh28:
	adrp	x8, l_.str.5@PAGE
Lloh29:
	add	x8, x8, l_.str.5@PAGEOFF
LBB0_15:
	str	x8, [x20]
	mov	x0, x19
	bl	_dev_name
	str	w0, [x20, #8]
	mov	x0, x20
	bl	_edac_device_add_device
	cbz	x0, LBB0_17
; %bb.16:
	mov	w21, #0
	b	LBB0_12
LBB0_17:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x21, x0
	str	x0, [x24, #8]
Lloh30:
	adrp	x23, _highbank_l2_err_handler@GOTPAGE
Lloh31:
	ldr	x23, [x23, _highbank_l2_err_handler@GOTPAGEOFF]
	ldr	w22, [x23]
	mov	x0, x19
	bl	_dev_name
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_20
; %bb.18:
	mov	x0, x19
	mov	w1, #1
	bl	_platform_get_irq
	mov	x21, x0
	str	x0, [x24]
	ldr	w22, [x23]
	mov	x0, x19
	bl	_dev_name
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_20
; %bb.19:
	mov	x0, x19
	mov	x1, #0
	bl	_devres_close_group
	mov	w21, #0
	b	LBB0_13
LBB0_20:
	mov	x21, x0
	mov	x0, x19
	bl	_edac_device_del_device
	b	LBB0_12
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpu"

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

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.2:                               ; @.str.2
	.asciz	"Unable to get mem resource\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.3:                               ; @.str.3
	.asciz	"Error while requesting mem region\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.4:                               ; @.str.4
	.asciz	"Unable to map regs\n"

	.comm	_hb_l2_err_of_match,4,2         ; @hb_l2_err_of_match
l_.str.5:                               ; @.str.5
	.asciz	"unknown"

	.comm	_highbank_l2_err_handler,4,2    ; @highbank_l2_err_handler
	.no_dead_strip	_highbank_l2_err_probe
.subsections_via_symbols
