	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_sci_intr_irq_domain_probe
_ti_sci_intr_irq_domain_probe:          ## @ti_sci_intr_irq_domain_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, %r12
	callq	_dev_of_node
	movl	%eax, %edi
	callq	_of_irq_find_parent
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rdi
	callq	_irq_find_host
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_dev_of_node
	leaq	24(%r14), %rdx
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
LBB0_9:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_19:
	subl	(%rax), %ebx
LBB0_20:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_19
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_ti_sci_get_by_phandle
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	16(%r14), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_13:
	movq	$0, 16(%r14)
	jmp	LBB0_20
LBB0_14:
	movq	%r12, %rdi
	callq	_dev_of_node
	movq	%r14, %rdx
	addq	$8, %rdx
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %edi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_9
LBB0_16:
	movq	16(%r14), %rdi
	movl	8(%r14), %edx
	leaq	L_.str.8(%rip), %rcx
	movq	%r12, %rsi
	callq	_devm_ti_sci_get_of_resource
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.21:
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	(%r14), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_17:
	movq	%r12, %rdi
	callq	_dev_of_node
	movq	_ti_sci_intr_irq_domain_ops@GOTPCREL(%rip), %r8
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	movq	%r14, %r9
	callq	_irq_domain_add_hierarchy
	testq	%rax, %rax
	jne	LBB0_20
## %bb.18:
	leaq	L_.str.10(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get IRQ parent node\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"Failed to find IRQ parent domain\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"ti,intr-trigger-type"

L_.str.3:                               ## @.str.3
	.asciz	"missing ti,intr-trigger-type property\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"ti,sci"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.5:                               ## @.str.5
	.asciz	"ti,sci read fail %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"ti,sci-dst-id"

L_.str.7:                               ## @.str.7
	.asciz	"missing 'ti,sci-dst-id' property\n"

L_.str.8:                               ## @.str.8
	.asciz	"ti,sci-rm-range-girq"

L_.str.9:                               ## @.str.9
	.asciz	"Destination irq resource allocation failed\n"

	.comm	_ti_sci_intr_irq_domain_ops,4,2 ## @ti_sci_intr_irq_domain_ops
L_.str.10:                              ## @.str.10
	.asciz	"Failed to allocate IRQ domain\n"

	.no_dead_strip	_ti_sci_intr_irq_domain_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_sci_intr_irq_domain_probe
_ti_sci_intr_irq_domain_probe:          ; @ti_sci_intr_irq_domain_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
	bl	_dev_of_node
	bl	_of_irq_find_parent
	cbz	x0, LBB0_6
; %bb.1:
	bl	_irq_find_host
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_21
; %bb.3:
	mov	x20, x0
	mov	x0, x19
	bl	_dev_of_node
	add	x2, x20, #24
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_of_property_read_u32
	cbz	w0, LBB0_11
; %bb.4:
Lloh5:
	adrp	x1, l_.str.3@PAGE
Lloh6:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_dev_err
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_dev_err
Lloh13:
	adrp	x8, _ENODEV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	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
LBB0_11:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_devm_ti_sci_get_by_phandle
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.12:
	ldr	x0, [x20, #16]
	bl	_PTR_ERR
	mov	x21, x0
Lloh17:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_14
; %bb.13:
	str	x21, [sp]
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_14:
	str	xzr, [x20, #16]
	b	LBB0_10
LBB0_15:
	mov	x0, x19
	bl	_dev_of_node
	add	x2, x20, #8
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_of_property_read_u32
	cbz	w0, LBB0_17
; %bb.16:
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_5
LBB0_17:
	ldr	x0, [x20, #16]
	ldr	w2, [x20, #8]
Lloh26:
	adrp	x3, l_.str.8@PAGE
Lloh27:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x1, x19
	bl	_devm_ti_sci_get_of_resource
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.18:
Lloh28:
	adrp	x1, l_.str.9@PAGE
Lloh29:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20]
	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	_PTR_ERR
LBB0_19:
	mov	x0, x19
	bl	_dev_of_node
	mov	x3, x0
Lloh30:
	adrp	x4, _ti_sci_intr_irq_domain_ops@GOTPAGE
Lloh31:
	ldr	x4, [x4, _ti_sci_intr_irq_domain_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #0
	mov	x5, x20
	bl	_irq_domain_add_hierarchy
	mov	w21, #0
	cbnz	x0, LBB0_10
; %bb.20:
Lloh32:
	adrp	x1, l_.str.10@PAGE
Lloh33:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_21:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get IRQ parent node\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"Failed to find IRQ parent domain\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"ti,intr-trigger-type"

l_.str.3:                               ; @.str.3
	.asciz	"missing ti,intr-trigger-type property\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"ti,sci"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.5:                               ; @.str.5
	.asciz	"ti,sci read fail %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"ti,sci-dst-id"

l_.str.7:                               ; @.str.7
	.asciz	"missing 'ti,sci-dst-id' property\n"

l_.str.8:                               ; @.str.8
	.asciz	"ti,sci-rm-range-girq"

l_.str.9:                               ; @.str.9
	.asciz	"Destination irq resource allocation failed\n"

	.comm	_ti_sci_intr_irq_domain_ops,4,2 ; @ti_sci_intr_irq_domain_ops
l_.str.10:                              ; @.str.10
	.asciz	"Failed to allocate IRQ domain\n"

	.no_dead_strip	_ti_sci_intr_irq_domain_probe
.subsections_via_symbols
