	.file	"extr_am437x-vpfe.c_vpfe_attach_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vpfe_attach_irq, @function
vpfe_attach_irq:
.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	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12d, DWORD PTR VPFE_VDINT0[rip]
	call	vpfe_ccdc_get_frame_format@PLT
	cmp	eax, DWORD PTR CCDC_FRMFMT_PROGRESSIVE[rip]
	jne	.L2
	or	r12d, DWORD PTR VPFE_VDINT1[rip]
.L2:
	mov	edx, DWORD PTR VPFE_IRQ_EN_SET[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	vpfe_reg_write@PLT
	.cfi_endproc
.LFE0:
	.size	vpfe_attach_irq, .-vpfe_attach_irq
	.comm	VPFE_VDINT1,4,4
	.comm	VPFE_VDINT0,4,4
	.comm	VPFE_IRQ_EN_SET,4,4
	.comm	CCDC_FRMFMT_PROGRESSIVE,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_attach_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vpfe_attach_irq, %function
vpfe_attach_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L5
	push	{r4, r5, r6, lr}
	ldr	r5, [r3]
	mov	r4, r0
	bl	vpfe_ccdc_get_frame_format
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r0, r3
	ldreq	r3, .L5+8
	mov	r0, r4
	ldreq	r3, [r3]
	orreq	r5, r5, r3
	ldr	r3, .L5+12
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	ldr	r2, [r3]
	b	vpfe_reg_write
.L6:
	.align	2
.L5:
	.word	VPFE_VDINT0
	.word	CCDC_FRMFMT_PROGRESSIVE
	.word	VPFE_VDINT1
	.word	VPFE_IRQ_EN_SET
	.size	vpfe_attach_irq, .-vpfe_attach_irq
	.comm	VPFE_VDINT1,4,4
	.comm	VPFE_VDINT0,4,4
	.comm	VPFE_IRQ_EN_SET,4,4
	.comm	CCDC_FRMFMT_PROGRESSIVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
