	.file	"extr_am437x-vpfe.c_vpfe_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"No platform data\n"
.LC1:
	.string	"vpfe_capture0"
.LC2:
	.string	"Unable to request interrupt\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"Unable to register v4l2 device.\n"
	.align 8
.LC4:
	.string	"Error registering async notifier\n"
	.text
	.p2align 4
	.type	vpfe_probe, @function
vpfe_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 48
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	call	devm_kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	mov	QWORD PTR 32[rax], r12
	mov	rdi, rax
	mov	rbp, rax
	call	vpfe_get_pdata@PLT
	test	rax, rax
	je	.L17
	mov	QWORD PTR 24[rbp], rax
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, r12
	lea	r14, 8[rbp]
	call	platform_get_resource@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	devm_ioremap_resource@PLT
	mov	DWORD PTR 40[rbp], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L18
	xor	esi, esi
	mov	rdi, r12
	call	platform_get_irq@PLT
	mov	esi, eax
	test	eax, eax
	jle	.L19
	mov	DWORD PTR 0[rbp], eax
	mov	rdi, QWORD PTR 32[rbp]
	xor	ecx, ecx
	mov	r9, rbp
	mov	edx, DWORD PTR vpfe_isr[rip]
	lea	r8, .LC1[rip]
	call	devm_request_irq@PLT
	test	eax, eax
	jne	.L20
	lea	r15, 16[rbp]
	mov	rdi, r12
	mov	rsi, r15
	call	v4l2_device_register@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L21
	mov	rsi, rbp
	mov	rdi, r12
	call	platform_set_drvdata@PLT
	mov	rdi, r12
	call	pm_runtime_enable@PLT
	mov	rdi, r12
	call	pm_runtime_get_sync@PLT
	lea	rdi, 40[rbp]
	call	vpfe_ccdc_config_defaults@PLT
	mov	rdi, r12
	call	pm_runtime_put_sync@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	r13d, DWORD PTR GFP_KERNEL[rip]
	mov	edi, DWORD PTR [rax]
	call	ARRAY_SIZE@PLT
	mov	ecx, r13d
	mov	edx, 8
	mov	rdi, r12
	mov	esi, eax
	call	devm_kcalloc@PLT
	mov	DWORD PTR 20[rbp], eax
	test	eax, eax
	jne	.L10
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
.L11:
	mov	rdi, r15
	call	v4l2_device_unregister@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, DWORD PTR 40[rbp]
	call	PTR_ERR@PLT
	mov	r13d, eax
.L6:
	mov	rdi, r14
	call	v4l2_async_notifier_cleanup@PLT
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	dev_err@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L19:
	mov	r13d, DWORD PTR ENODEV[rip]
	neg	r13d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	neg	r13d
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rax, vpfe_async_ops[rip]
	mov	rsi, r14
	mov	rdi, r15
	mov	QWORD PTR 8[rbp], rax
	call	v4l2_async_notifier_register@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L1
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	vpfe_err@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	vpfe_err@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	vpfe_probe, .-vpfe_probe
	.comm	vpfe_isr,4,4
	.comm	vpfe_async_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
	.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_am437x-vpfe.c_vpfe_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"No platform data\012\000"
	.align	2
.LC1:
	.ascii	"vpfe_capture0\000"
	.align	2
.LC2:
	.ascii	"Unable to request interrupt\012\000"
	.align	2
.LC3:
	.ascii	"Unable to register v4l2 device.\012\000"
	.align	2
.LC4:
	.ascii	"Error registering async notifier\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vpfe_probe, %function
vpfe_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r9, .L23
	mov	r1, #28
	ldr	r2, [r9]
	sub	sp, sp, #12
	mov	r5, r0
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L17
	str	r5, [r4, #20]
	bl	vpfe_get_pdata
	cmp	r0, #0
	beq	.L18
	ldr	r3, .L23+4
	mov	r2, #0
	ldr	r1, [r3]
	str	r0, [r4, #16]
	mov	r0, r5
	bl	platform_get_resource
	mov	r1, r0
	mov	r0, r5
	bl	devm_ioremap_resource
	str	r0, [r4, #24]
	bl	IS_ERR
	subs	r6, r0, #0
	add	r7, r4, #4
	bne	.L19
	mov	r1, r6
	mov	r0, r5
	bl	platform_get_irq
	subs	r1, r0, #0
	ble	.L20
	ldr	ip, .L23+8
	ldr	r2, .L23+12
	ldr	r0, [r4, #20]
	ldr	r2, [r2]
	str	r1, [r4]
	mov	r3, r6
	str	r4, [sp, #4]
	str	ip, [sp]
	bl	devm_request_irq
	cmp	r0, #0
	bne	.L21
	add	r8, r4, #8
	mov	r1, r8
	mov	r0, r5
	bl	v4l2_device_register
	subs	r6, r0, #0
	bne	.L22
	mov	r1, r4
	mov	r0, r5
	bl	platform_set_drvdata
	mov	r0, r5
	bl	pm_runtime_enable
	mov	r0, r5
	bl	pm_runtime_get_sync
	add	r0, r4, #24
	bl	vpfe_ccdc_config_defaults
	mov	r0, r5
	bl	pm_runtime_put_sync
	ldr	r3, [r4, #16]
	ldr	r0, [r3]
	bl	ARRAY_SIZE
	mov	r2, #4
	mov	r1, r0
	ldr	r3, [r9]
	mov	r0, r5
	bl	devm_kcalloc
	cmp	r0, #0
	str	r0, [r4, #12]
	bne	.L10
	ldr	r3, .L23+16
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L11:
	mov	r0, r8
	bl	v4l2_device_unregister
	b	.L6
.L17:
	ldr	r3, .L23+16
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L19:
	ldr	r0, [r4, #24]
	bl	PTR_ERR
	mov	r6, r0
.L6:
	mov	r0, r7
	bl	v4l2_async_notifier_cleanup
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L21:
	mov	r0, r5
	ldr	r1, .L23+20
	bl	dev_err
	ldr	r3, .L23+24
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L6
.L20:
	ldr	r3, .L23+28
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L6
.L18:
	mov	r0, r5
	ldr	r1, .L23+32
	bl	dev_err
	ldr	r3, .L23+24
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L10:
	ldr	r3, .L23+36
	mov	r1, r7
	mov	r0, r8
	str	r3, [r4, #4]
	bl	v4l2_async_notifier_register
	subs	r6, r0, #0
	beq	.L1
	mov	r0, r4
	ldr	r1, .L23+40
	bl	vpfe_err
	ldr	r3, .L23+24
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L11
.L22:
	mov	r0, r4
	ldr	r1, .L23+44
	bl	vpfe_err
	b	.L6
.L24:
	.align	2
.L23:
	.word	GFP_KERNEL
	.word	IORESOURCE_MEM
	.word	.LC1
	.word	vpfe_isr
	.word	ENOMEM
	.word	.LC2
	.word	EINVAL
	.word	ENODEV
	.word	.LC0
	.word	vpfe_async_ops
	.word	.LC4
	.word	.LC3
	.size	vpfe_probe, .-vpfe_probe
	.comm	vpfe_isr,4,4
	.comm	vpfe_async_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
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
