	.file	"extr_camif-core.c_camif_request_irqs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed to install IRQ: %d\n"
	.text
	.p2align 4
	.type	camif_request_irqs, @function
camif_request_irqs:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR CAMIF_VP_NUM[rip]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	eax, eax
	jle	.L6
	mov	r13, rdi
	mov	r14, rsi
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r13
	call	dev_name@PLT
	mov	edx, DWORD PTR s3c_camif_irq_handler[rip]
	mov	r9, r12
	xor	ecx, ecx
	mov	r8d, eax
	mov	esi, ebp
	mov	rdi, r13
	call	devm_request_irq@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L10
	add	rbx, 1
	cmp	DWORD PTR CAMIF_VP_NUM[rip], ebx
	jle	.L1
.L5:
	mov	rax, QWORD PTR [r14]
	lea	r12, [rax+rbx*4]
	mov	rdi, r12
	call	init_waitqueue_head@PLT
	mov	esi, ebx
	mov	rdi, r13
	call	platform_get_irq@PLT
	mov	ebp, eax
	test	eax, eax
	jg	.L3
	mov	r12d, DWORD PTR ENXIO[rip]
	neg	r12d
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L10:
	.cfi_restore_state
	mov	rdi, r13
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	camif_request_irqs, .-camif_request_irqs
	.comm	s3c_camif_irq_handler,4,4
	.comm	ENXIO,4,4
	.comm	CAMIF_VP_NUM,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_camif-core.c_camif_request_irqs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to install IRQ: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	camif_request_irqs, %function
camif_request_irqs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L11
	sub	sp, sp, #12
	ldr	r3, [r9]
	cmp	r3, #0
	ble	.L6
	mov	r7, r0
	mov	r8, r1
	mov	r4, #0
	ldr	r10, .L11+4
	b	.L5
.L3:
	mov	r0, r7
	ldr	fp, [r10]
	bl	dev_name
	mov	r1, r5
	stm	sp, {r0, r6}
	mov	r2, fp
	mov	r3, #0
	mov	r0, r7
	bl	devm_request_irq
	subs	r5, r0, #0
	blt	.L10
	ldr	r3, [r9]
	cmp	r3, r4
	ble	.L1
.L5:
	ldr	r6, [r8]
	add	r6, r6, r4, lsl #2
	mov	r0, r6
	bl	init_waitqueue_head
	mov	r1, r4
	mov	r0, r7
	bl	platform_get_irq
	subs	r5, r0, #0
	add	r4, r4, #1
	bgt	.L3
	ldr	r3, .L11+8
	ldr	r0, [r3]
	rsb	r5, r0, #0
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	mov	r0, r7
	mov	r2, r5
	ldr	r1, .L11+12
	bl	dev_err
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	r5, #0
	b	.L1
.L12:
	.align	2
.L11:
	.word	CAMIF_VP_NUM
	.word	s3c_camif_irq_handler
	.word	ENXIO
	.word	.LC0
	.size	camif_request_irqs, .-camif_request_irqs
	.comm	s3c_camif_irq_handler,4,4
	.comm	ENXIO,4,4
	.comm	CAMIF_VP_NUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
