	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniphier_aidet_probe
_uniphier_aidet_probe:                  ## @uniphier_aidet_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, %r12
	movl	(%rdi), %edi
	callq	_of_irq_find_parent
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_irq_find_host
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_of_node_put
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$12, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movl	%eax, 8(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:
	movl	8(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	%r15, %rdi
	addq	$4, %rdi
	callq	_spin_lock_init
	movq	_UNIPHIER_AIDET_NR_IRQS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%r12), %edi
	callq	_of_node_to_fwnode
	movq	_uniphier_aidet_domain_ops@GOTPCREL(%rip), %r8
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	movq	%r15, %r9
	callq	_irq_domain_create_hierarchy
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_6
## %bb.9:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	jmp	LBB0_10
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_UNIPHIER_AIDET_NR_IRQS,4,2     ## @UNIPHIER_AIDET_NR_IRQS
	.comm	_uniphier_aidet_domain_ops,4,2  ## @uniphier_aidet_domain_ops
	.no_dead_strip	_uniphier_aidet_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniphier_aidet_probe
_uniphier_aidet_probe:                  ; @uniphier_aidet_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	w0, [x0]
	bl	_of_irq_find_parent
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	bl	_irq_find_host
	mov	x20, x0
	mov	x0, x21
	bl	_of_node_put
	cbz	x20, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #12
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.3:
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	w0, [x21, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w0, [x21, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
Lloh3:
	adrp	x8, _ENXIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh5:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
	add	x0, x21, #4
	bl	_spin_lock_init
Lloh7:
	adrp	x8, _UNIPHIER_AIDET_NR_IRQS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UNIPHIER_AIDET_NR_IRQS@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	ldr	w0, [x19]
	bl	_of_node_to_fwnode
	mov	x3, x0
Lloh10:
	adrp	x4, _uniphier_aidet_domain_ops@GOTPAGE
Lloh11:
	ldr	x4, [x4, _uniphier_aidet_domain_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w1, #0
	mov	x2, x22
	mov	x5, x21
	bl	_irq_domain_create_hierarchy
	str	w0, [x21]
	cbz	w0, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	bl	_platform_set_drvdata
	mov	w0, #0
	b	LBB0_11
LBB0_9:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_UNIPHIER_AIDET_NR_IRQS,4,2     ; @UNIPHIER_AIDET_NR_IRQS
	.comm	_uniphier_aidet_domain_ops,4,2  ; @uniphier_aidet_domain_ops
	.no_dead_strip	_uniphier_aidet_probe
.subsections_via_symbols
