	.file	"extr_tps65217.c_tps65217_irq_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Could not create IRQ domain\n"
.LC1:
	.string	"tps65217-irq"
.LC2:
	.string	"Failed to request IRQ %d: %d\n"
	.text
	.p2align 4
	.type	tps65217_irq_init, @function
tps65217_irq_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	add	rdi, 24
	call	mutex_init@PLT
	mov	edx, DWORD PTR TPS65217_INT_MASK[rip]
	mov	DWORD PTR [rbx], ebp
	mov	rdi, rbx
	mov	r8d, DWORD PTR TPS65217_PROTECT_NONE[rip]
	mov	esi, DWORD PTR TPS65217_REG_INT[rip]
	mov	DWORD PTR 20[rbx], edx
	mov	ecx, edx
	call	tps65217_set_bits@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	rcx, rbx
	mov	esi, DWORD PTR TPS65217_NUM_IRQ[rip]
	lea	rdx, tps65217_irq_domain_ops[rip]
	mov	edi, DWORD PTR [rax]
	call	irq_domain_add_linear@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	DWORD PTR 16[rbx], eax
	test	eax, eax
	je	.L7
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	r8d, DWORD PTR IRQF_ONESHOT[rip]
	xor	edx, edx
	mov	esi, ebp
	push	rbx
	.cfi_def_cfa_offset 48
	mov	ecx, DWORD PTR tps65217_irq_thread[rip]
	lea	r9, .LC1[rip]
	call	devm_request_threaded_irq@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	test	r12d, r12d
	jne	.L8
	mov	edi, ebp
	call	enable_irq_wake@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	mov	ecx, r12d
	mov	edx, ebp
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tps65217_irq_init, .-tps65217_irq_init
	.comm	tps65217_irq_thread,4,4
	.comm	tps65217_irq_domain_ops,4,4
	.comm	TPS65217_REG_INT,4,4
	.comm	TPS65217_PROTECT_NONE,4,4
	.comm	TPS65217_NUM_IRQ,4,4
	.comm	TPS65217_INT_MASK,4,4
	.comm	IRQF_ONESHOT,4,4
	.comm	ENOMEM,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_tps65217.c_tps65217_irq_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not create IRQ domain\012\000"
	.align	2
.LC1:
	.ascii	"tps65217-irq\000"
	.align	2
.LC2:
	.ascii	"Failed to request IRQ %d: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tps65217_irq_init, %function
tps65217_irq_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	sub	sp, sp, #16
	add	r0, r0, #16
	bl	mutex_init
	ldr	r2, .L9
	ldr	r3, .L9+4
	ldr	ip, [r2]
	ldr	r3, [r3]
	ldr	r1, .L9+8
	str	r3, [r4, #12]
	str	r5, [r4]
	str	ip, [sp]
	mov	r2, r3
	ldr	r1, [r1]
	mov	r0, r4
	bl	tps65217_set_bits
	ldr	r3, [r4, #4]
	ldr	r2, .L9+12
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r3, r4
	ldr	r2, .L9+16
	bl	irq_domain_add_linear
	cmp	r0, #0
	str	r0, [r4, #8]
	beq	.L7
	ldr	r2, .L9+20
	ldr	r3, .L9+24
	ldr	r1, [r2]
	ldr	r2, .L9+28
	str	r1, [sp]
	str	r4, [sp, #8]
	ldr	r3, [r3]
	str	r2, [sp, #4]
	mov	r1, r5
	mov	r2, #0
	ldr	r0, [r4, #4]
	bl	devm_request_threaded_irq
	subs	r6, r0, #0
	bne	.L8
	mov	r0, r5
	bl	enable_irq_wake
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	mov	r2, r5
	mov	r3, r6
	ldr	r0, [r4, #4]
	ldr	r1, .L9+32
	bl	dev_err
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r0, [r4, #4]
	ldr	r1, .L9+36
	bl	dev_err
	ldr	r3, .L9+40
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	TPS65217_PROTECT_NONE
	.word	TPS65217_INT_MASK
	.word	TPS65217_REG_INT
	.word	TPS65217_NUM_IRQ
	.word	tps65217_irq_domain_ops
	.word	IRQF_ONESHOT
	.word	tps65217_irq_thread
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.word	ENOMEM
	.size	tps65217_irq_init, .-tps65217_irq_init
	.comm	tps65217_irq_thread,4,4
	.comm	tps65217_irq_domain_ops,4,4
	.comm	TPS65217_REG_INT,4,4
	.comm	TPS65217_PROTECT_NONE,4,4
	.comm	TPS65217_NUM_IRQ,4,4
	.comm	TPS65217_INT_MASK,4,4
	.comm	IRQF_ONESHOT,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
