	.file	"extr_venc.c_venc_probe_of.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ti,invert-polarity"
.LC1:
	.string	"ti,channels"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"failed to read property 'ti,channels': %d\n"
	.section	.rodata.str1.1
.LC3:
	.string	"bad channel propert '%d'\n"
	.text
	.p2align 4
	.type	venc_probe_of, @function
venc_probe_of:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	edx, edx
	xor	esi, esi
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	rdi, QWORD PTR [rax]
	call	of_graph_get_endpoint_by_regs@PLT
	test	rax, rax
	je	.L1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	of_property_read_bool@PLT
	lea	rdx, 4[rsp]
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	DWORD PTR 12[rbx], eax
	call	of_property_read_u32@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L15
	mov	edx, DWORD PTR 4[rsp]
	cmp	edx, 1
	je	.L5
	cmp	edx, 2
	jne	.L16
	mov	eax, DWORD PTR OMAP_DSS_VENC_TYPE_SVIDEO[rip]
	mov	DWORD PTR 8[rbx], eax
.L4:
	mov	rdi, rbp
	call	of_node_put@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.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
.L16:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC3[rip]
	call	dev_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR OMAP_DSS_VENC_TYPE_COMPOSITE[rip]
	mov	DWORD PTR 8[rbx], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, QWORD PTR [rbx]
	mov	edx, eax
	lea	rsi, .LC2[rip]
	call	dev_err@PLT
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	venc_probe_of, .-venc_probe_of
	.comm	OMAP_DSS_VENC_TYPE_SVIDEO,4,4
	.comm	OMAP_DSS_VENC_TYPE_COMPOSITE,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_venc.c_venc_probe_of.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ti,invert-polarity\000"
	.align	2
.LC1:
	.ascii	"ti,channels\000"
	.align	2
.LC2:
	.ascii	"failed to read property 'ti,channels': %d\012\000"
	.align	2
.LC3:
	.ascii	"bad channel propert '%d'\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	venc_probe_of, %function
venc_probe_of:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, r6, lr}
	ldr	r3, [r0]
	mov	r6, r0
	ldr	r0, [r3]
	ldr	r3, .L17
	sub	sp, sp, #8
	mov	r1, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	of_graph_get_endpoint_by_regs
	subs	r5, r0, #0
	moveq	r4, r5
	beq	.L1
	ldr	r1, .L17+4
	bl	of_property_read_bool
	mov	r2, sp
	str	r0, [r6, #8]
	ldr	r1, .L17+8
	mov	r0, r5
	bl	of_property_read_u32
	subs	r4, r0, #0
	bne	.L14
	ldr	r2, [sp]
	cmp	r2, #1
	beq	.L5
	cmp	r2, #2
	bne	.L15
	ldr	r3, .L17+12
	ldr	r3, [r3]
	str	r3, [r6, #4]
.L4:
	mov	r0, r5
	bl	of_node_put
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L15:
	ldr	r0, [r6]
	ldr	r1, .L17+16
	bl	dev_err
	ldr	r3, .L17+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L4
.L5:
	ldr	r3, .L17+24
	ldr	r3, [r3]
	str	r3, [r6, #4]
	b	.L4
.L14:
	mov	r2, r4
	ldr	r0, [r6]
	ldr	r1, .L17+28
	bl	dev_err
	b	.L4
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	OMAP_DSS_VENC_TYPE_SVIDEO
	.word	.LC3
	.word	EINVAL
	.word	OMAP_DSS_VENC_TYPE_COMPOSITE
	.word	.LC2
	.size	venc_probe_of, .-venc_probe_of
	.comm	OMAP_DSS_VENC_TYPE_SVIDEO,4,4
	.comm	OMAP_DSS_VENC_TYPE_COMPOSITE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
