	.file	"extr_irq-mvebu-sei.c_mvebu_sei_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed to remap SEI resource\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Could not retrieve controller capabilities\n"
	.align 8
.LC2:
	.string	"Failed to retrieve top-level SPI IRQ\n"
	.align 8
.LC3:
	.string	"Failed to create SEI IRQ domain\n"
	.align 8
.LC4:
	.string	"Failed to create AP IRQ domain\n"
	.align 8
.LC5:
	.string	"Failed to create CPs IRQ domain\n"
	.align 8
.LC6:
	.string	"Failed to create CPs MSI domain\n"
	.text
	.p2align 4
	.type	mvebu_sei_probe, @function
mvebu_sei_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	esi, 56
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	r13, QWORD PTR [rdi]
	call	devm_kzalloc@PLT
	test	rax, rax
	je	.L16
	mov	QWORD PTR 32[rax], rbp
	mov	r12, rax
	lea	rdi, 52[rax]
	call	mutex_init@PLT
	lea	rdi, 48[r12]
	call	raw_spin_lock_init@PLT
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	platform_get_resource@PLT
	mov	rdi, QWORD PTR 32[r12]
	mov	DWORD PTR 44[r12], eax
	mov	esi, eax
	call	devm_ioremap_resource@PLT
	mov	DWORD PTR 40[r12], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L17
	mov	rdi, rbp
	call	of_device_get_match_data@PLT
	mov	QWORD PTR 24[r12], rax
	test	rax, rax
	je	.L18
	xor	esi, esi
	mov	rdi, r13
	call	irq_of_parse_and_map@PLT
	mov	rbp, rax
	test	rax, rax
	jle	.L19
	mov	rax, QWORD PTR 24[r12]
	mov	rdi, r13
	mov	r14, QWORD PTR [rax]
	add	r14, QWORD PTR 8[rax]
	call	of_node_to_fwnode@PLT
	mov	rcx, r12
	lea	rdx, mvebu_sei_domain_ops[rip]
	mov	rsi, r14
	mov	edi, eax
	call	irq_domain_create_linear@PLT
	mov	QWORD PTR [r12], rax
	mov	rdi, rax
	test	rax, rax
	je	.L20
	mov	esi, DWORD PTR DOMAIN_BUS_NEXUS[rip]
	call	irq_domain_update_bus_token@PLT
	mov	rdi, r13
	call	of_node_to_fwnode@PLT
	mov	rdi, QWORD PTR [r12]
	mov	r9, r12
	xor	esi, esi
	mov	ecx, eax
	mov	rax, QWORD PTR 24[r12]
	lea	r8, mvebu_sei_ap_domain_ops[rip]
	mov	rdx, QWORD PTR 8[rax]
	call	irq_domain_create_hierarchy@PLT
	mov	QWORD PTR 8[r12], rax
	mov	rdi, rax
	test	rax, rax
	je	.L21
	mov	esi, DWORD PTR DOMAIN_BUS_WIRED[rip]
	call	irq_domain_update_bus_token@PLT
	mov	rdi, r13
	call	of_node_to_fwnode@PLT
	mov	rdi, QWORD PTR [r12]
	mov	r9, r12
	xor	esi, esi
	mov	ecx, eax
	mov	rax, QWORD PTR 24[r12]
	lea	r8, mvebu_sei_cp_domain_ops[rip]
	mov	rdx, QWORD PTR [rax]
	call	irq_domain_create_hierarchy@PLT
	mov	QWORD PTR 16[r12], rax
	mov	rdi, rax
	test	rax, rax
	je	.L22
	mov	esi, DWORD PTR DOMAIN_BUS_GENERIC_MSI[rip]
	call	irq_domain_update_bus_token@PLT
	mov	r14, QWORD PTR 16[r12]
	mov	rdi, r13
	call	of_node_to_fwnode@PLT
	lea	rsi, mvebu_sei_msi_domain_info[rip]
	mov	edi, eax
	mov	rdx, r14
	call	platform_msi_create_irq_domain@PLT
	test	rax, rax
	je	.L23
	mov	rdi, r12
	xor	r13d, r13d
	call	mvebu_sei_reset@PLT
	mov	esi, DWORD PTR mvebu_sei_handle_cascade_irq[rip]
	mov	rdx, r12
	mov	rdi, rbp
	call	irq_set_chained_handler_and_data@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, QWORD PTR 32[r12]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	edi, DWORD PTR 40[r12]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	rdi, QWORD PTR 32[r12]
	lea	rsi, .LC2[rip]
	call	dev_err@PLT
	mov	r13d, DWORD PTR ENODEV[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, QWORD PTR 32[r12]
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, QWORD PTR 32[r12]
	lea	rsi, .LC4[rip]
	call	dev_err@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
.L10:
	mov	rdi, QWORD PTR [r12]
	call	irq_domain_remove@PLT
.L8:
	mov	rdi, rbp
	call	irq_dispose_mapping@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rdi, QWORD PTR 32[r12]
	lea	rsi, .LC3[rip]
	call	dev_err@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L22:
	lea	rdi, .LC5[rip]
	call	pr_err@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
.L12:
	mov	rdi, QWORD PTR 8[r12]
	call	irq_domain_remove@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L23:
	lea	rdi, .LC6[rip]
	call	pr_err@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	mov	rdi, QWORD PTR 16[r12]
	neg	r13d
	call	irq_domain_remove@PLT
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	mvebu_sei_probe, .-mvebu_sei_probe
	.comm	mvebu_sei_msi_domain_info,4,4
	.comm	mvebu_sei_handle_cascade_irq,4,4
	.comm	mvebu_sei_domain_ops,4,4
	.comm	mvebu_sei_cp_domain_ops,4,4
	.comm	mvebu_sei_ap_domain_ops,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	DOMAIN_BUS_WIRED,4,4
	.comm	DOMAIN_BUS_NEXUS,4,4
	.comm	DOMAIN_BUS_GENERIC_MSI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_irq-mvebu-sei.c_mvebu_sei_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to remap SEI resource\012\000"
	.align	2
.LC1:
	.ascii	"Could not retrieve controller capabilities\012\000"
	.align	2
.LC2:
	.ascii	"Failed to retrieve top-level SPI IRQ\012\000"
	.align	2
.LC3:
	.ascii	"Failed to create SEI IRQ domain\012\000"
	.align	2
.LC4:
	.ascii	"Failed to create AP IRQ domain\012\000"
	.align	2
.LC5:
	.ascii	"Failed to create CPs IRQ domain\012\000"
	.align	2
.LC6:
	.ascii	"Failed to create CPs MSI domain\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mvebu_sei_probe, %function
mvebu_sei_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L24
	mov	r1, #36
	ldr	r2, [r3]
	sub	sp, sp, #12
	mov	r7, r0
	ldr	r6, [r0]
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L16
	str	r7, [r4, #16]
	add	r0, r4, #32
	bl	mutex_init
	add	r0, r4, #28
	bl	raw_spin_lock_init
	ldr	r3, .L24+4
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r7
	bl	platform_get_resource
	mov	r1, r0
	ldr	r0, [r4, #16]
	str	r1, [r4, #24]
	bl	devm_ioremap_resource
	str	r0, [r4, #20]
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L17
	mov	r0, r7
	bl	of_device_get_match_data
	cmp	r0, #0
	str	r0, [r4, #12]
	beq	.L18
	mov	r1, r5
	mov	r0, r6
	bl	irq_of_parse_and_map
	subs	r7, r0, #0
	ble	.L19
	mov	r0, r6
	bl	of_node_to_fwnode
	ldr	r2, [r4, #12]
	mov	r3, r4
	ldm	r2, {r1, ip}
	ldr	r2, .L24+8
	add	r1, ip, r1
	bl	irq_domain_create_linear
	cmp	r0, #0
	str	r0, [r4]
	beq	.L20
	ldr	r3, .L24+12
	ldr	r1, [r3]
	bl	irq_domain_update_bus_token
	ldr	r3, [r4, #12]
	mov	r0, r6
	ldr	r9, [r3, #4]
	ldr	r8, [r4]
	bl	of_node_to_fwnode
	ldr	r1, .L24+16
	mov	r3, r0
	stm	sp, {r1, r4}
	mov	r2, r9
	mov	r0, r8
	mov	r1, r5
	bl	irq_domain_create_hierarchy
	cmp	r0, #0
	str	r0, [r4, #4]
	beq	.L21
	ldr	r3, .L24+20
	ldr	r1, [r3]
	bl	irq_domain_update_bus_token
	ldr	r3, [r4, #12]
	mov	r0, r6
	ldr	r9, [r3]
	ldr	r8, [r4]
	bl	of_node_to_fwnode
	ldr	r1, .L24+24
	mov	r3, r0
	stm	sp, {r1, r4}
	mov	r2, r9
	mov	r0, r8
	mov	r1, r5
	bl	irq_domain_create_hierarchy
	cmp	r0, #0
	str	r0, [r4, #8]
	beq	.L22
	ldr	r3, .L24+28
	ldr	r1, [r3]
	bl	irq_domain_update_bus_token
	mov	r0, r6
	bl	of_node_to_fwnode
	ldr	r2, [r4, #8]
	ldr	r1, .L24+32
	bl	platform_msi_create_irq_domain
	cmp	r0, #0
	beq	.L23
	mov	r0, r4
	bl	mvebu_sei_reset
	ldr	r3, .L24+36
	mov	r2, r4
	mov	r0, r7
	ldr	r1, [r3]
	bl	irq_set_chained_handler_and_data
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L17:
	ldr	r1, .L24+40
	ldr	r0, [r4, #16]
	bl	dev_err
	ldr	r0, [r4, #20]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	PTR_ERR
.L16:
	ldr	r3, .L24+44
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L19:
	ldr	r0, [r4, #16]
	ldr	r1, .L24+48
	bl	dev_err
	ldr	r3, .L24+52
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L18:
	ldr	r0, [r4, #16]
	ldr	r1, .L24+56
	bl	dev_err
	ldr	r3, .L24+60
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L21:
	ldr	r1, .L24+64
	ldr	r0, [r4, #16]
	bl	dev_err
	ldr	r3, .L24+44
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L10:
	ldr	r0, [r4]
	bl	irq_domain_remove
.L8:
	mov	r0, r7
	bl	irq_dispose_mapping
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L20:
	ldr	r0, [r4, #16]
	ldr	r1, .L24+68
	bl	dev_err
	ldr	r3, .L24+44
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L8
.L22:
	ldr	r0, .L24+72
	bl	pr_err
	ldr	r3, .L24+44
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L12:
	ldr	r0, [r4, #4]
	bl	irq_domain_remove
	b	.L10
.L23:
	ldr	r0, .L24+76
	bl	pr_err
	ldr	r3, .L24+44
	ldr	r0, [r4, #8]
	ldr	r5, [r3]
	rsb	r5, r5, #0
	bl	irq_domain_remove
	b	.L12
.L25:
	.align	2
.L24:
	.word	GFP_KERNEL
	.word	IORESOURCE_MEM
	.word	mvebu_sei_domain_ops
	.word	DOMAIN_BUS_NEXUS
	.word	mvebu_sei_ap_domain_ops
	.word	DOMAIN_BUS_WIRED
	.word	mvebu_sei_cp_domain_ops
	.word	DOMAIN_BUS_GENERIC_MSI
	.word	mvebu_sei_msi_domain_info
	.word	mvebu_sei_handle_cascade_irq
	.word	.LC0
	.word	ENOMEM
	.word	.LC2
	.word	ENODEV
	.word	.LC1
	.word	EINVAL
	.word	.LC4
	.word	.LC3
	.word	.LC5
	.word	.LC6
	.size	mvebu_sei_probe, .-mvebu_sei_probe
	.comm	mvebu_sei_msi_domain_info,4,4
	.comm	mvebu_sei_handle_cascade_irq,4,4
	.comm	mvebu_sei_domain_ops,4,4
	.comm	mvebu_sei_cp_domain_ops,4,4
	.comm	mvebu_sei_ap_domain_ops,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	DOMAIN_BUS_WIRED,4,4
	.comm	DOMAIN_BUS_NEXUS,4,4
	.comm	DOMAIN_BUS_GENERIC_MSI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
