	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvebu_icu_probe
_mvebu_icu_probe:                       ## @mvebu_icu_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, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r15
	movq	%r14, 8(%rax)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.14:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	(%r15), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%r14), %edi
	callq	_of_get_child_count
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_legacy_bindings@GOTPCREL(%rip), %rdi
	callq	_static_branch_enable
LBB0_4:
	movq	_ICU_MAX_IRQS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_11
## %bb.5:
	xorl	%r13d, %r13d
	movq	_ICU_GRP_NSR@GOTPCREL(%rip), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rbx
	movl	%r13d, %edi
	callq	_ICU_INT_CFG
	addq	%rax, %rbx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_writel_relaxed
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%r13d
	movq	_ICU_MAX_IRQS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jge	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rbx
	movl	%r13d, %edi
	callq	_ICU_INT_CFG
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl_relaxed
	movq	_ICU_GROUP_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	sarl	%cl, %eax
	cmpl	(%r12), %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_ICU_GRP_SEI@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_legacy_bindings@GOTPCREL(%rip), %rdi
	callq	_static_branch_unlikely
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_9
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	movq	_legacy_bindings@GOTPCREL(%rip), %rdi
	callq	_static_branch_unlikely
	movq	%r14, %rdi
	addq	$8, %rsp
	testq	%rax, %rax
	je	LBB0_12
## %bb.15:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvebu_icu_subset_probe         ## TAILCALL
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_of_platform_populate      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to map icu base address.\n"

	.comm	_legacy_bindings,4,2            ## @legacy_bindings
	.comm	_ICU_MAX_IRQS,4,2               ## @ICU_MAX_IRQS
	.comm	_ICU_GROUP_SHIFT,4,2            ## @ICU_GROUP_SHIFT
	.comm	_ICU_GRP_NSR,4,2                ## @ICU_GRP_NSR
	.comm	_ICU_GRP_SEI,4,2                ## @ICU_GRP_SEI
	.no_dead_strip	_mvebu_icu_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvebu_icu_probe
_mvebu_icu_probe:                       ; @mvebu_icu_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #8]
Lloh3:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w0, [x19]
	bl	_of_get_child_count
	cbnz	w0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x0, _legacy_bindings@GOTPAGE
Lloh12:
	ldr	x0, [x0, _legacy_bindings@GOTPAGEOFF]
	bl	_static_branch_enable
LBB0_6:
Lloh13:
	adrp	x23, _ICU_MAX_IRQS@GOTPAGE
Lloh14:
	ldr	x23, [x23, _ICU_MAX_IRQS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.7:
	mov	w21, #0
Lloh15:
	adrp	x24, _ICU_GROUP_SHIFT@GOTPAGE
Lloh16:
	ldr	x24, [x24, _ICU_GROUP_SHIFT@GOTPAGEOFF]
Lloh17:
	adrp	x25, _ICU_GRP_NSR@GOTPAGE
Lloh18:
	ldr	x25, [x25, _ICU_GRP_NSR@GOTPAGEOFF]
Lloh19:
	adrp	x26, _ICU_GRP_SEI@GOTPAGE
Lloh20:
	ldr	x26, [x26, _ICU_GRP_SEI@GOTPAGEOFF]
Lloh21:
	adrp	x22, _legacy_bindings@GOTPAGE
Lloh22:
	ldr	x22, [x22, _legacy_bindings@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x27, [x20]
	mov	x0, x21
	bl	_ICU_INT_CFG
	add	x1, x0, x27
	mov	w0, #0
	bl	_writel_relaxed
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w21, w21, #1
	ldr	w8, [x23]
	cmp	w21, w8
	b.ge	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x20]
	mov	x0, x21
	bl	_ICU_INT_CFG
	add	x0, x0, x27
	bl	_readl_relaxed
	ldr	w8, [x24]
	asr	w8, w0, w8
	ldr	w9, [x25]
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	bl	_static_branch_unlikely
	cbnz	x0, LBB0_9
	b	LBB0_8
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh23:
	adrp	x0, _legacy_bindings@GOTPAGE
Lloh24:
	ldr	x0, [x0, _legacy_bindings@GOTPAGEOFF]
	bl	_static_branch_unlikely
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_mvebu_icu_subset_probe
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_devm_of_platform_populate
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to map icu base address.\n"

	.comm	_legacy_bindings,4,2            ; @legacy_bindings
	.comm	_ICU_MAX_IRQS,4,2               ; @ICU_MAX_IRQS
	.comm	_ICU_GROUP_SHIFT,4,2            ; @ICU_GROUP_SHIFT
	.comm	_ICU_GRP_NSR,4,2                ; @ICU_GRP_NSR
	.comm	_ICU_GRP_SEI,4,2                ; @ICU_GRP_SEI
	.no_dead_strip	_mvebu_icu_probe
.subsections_via_symbols
