	.file	"extr_ch7006_drv.c_ch7006_encoder_create_resources.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"scale"
	.text
	.p2align 4
	.type	ch7006_encoder_create_resources, @function
ch7006_encoder_create_resources:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	to_ch7006_priv@PLT
	mov	r12, QWORD PTR [r12]
	mov	edx, DWORD PTR ch7006_tv_norm_names[rip]
	mov	esi, DWORD PTR NUM_TV_NORMS[rip]
	mov	rbx, rax
	mov	rdi, r12
	call	drm_mode_create_tv_properties@PLT
	mov	r8d, 2
	xor	ecx, ecx
	mov	rdi, r12
	lea	rdx, .LC0[rip]
	xor	esi, esi
	call	drm_property_create_range@PLT
	mov	edx, DWORD PTR 36[rbx]
	mov	esi, DWORD PTR 28[r12]
	mov	rdi, rbp
	mov	DWORD PTR 4[rbx], eax
	call	drm_object_attach_property@PLT
	mov	edx, DWORD PTR 32[rbx]
	mov	esi, DWORD PTR 24[r12]
	mov	rdi, rbp
	call	drm_object_attach_property@PLT
	mov	edx, DWORD PTR 28[rbx]
	mov	esi, DWORD PTR 20[r12]
	mov	rdi, rbp
	call	drm_object_attach_property@PLT
	mov	edx, DWORD PTR 24[rbx]
	mov	esi, DWORD PTR 16[r12]
	mov	rdi, rbp
	call	drm_object_attach_property@PLT
	mov	edx, DWORD PTR 20[rbx]
	mov	esi, DWORD PTR 12[r12]
	mov	rdi, rbp
	call	drm_object_attach_property@PLT
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR 8[r12]
	mov	rdi, rbp
	call	drm_object_attach_property@PLT
	mov	edx, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR 4[r12]
	mov	rdi, rbp
	call	drm_object_attach_property@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR [r12]
	mov	rdi, rbp
	call	drm_object_attach_property@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	rdi, rbp
	call	drm_object_attach_property@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ch7006_encoder_create_resources, .-ch7006_encoder_create_resources
	.comm	ch7006_tv_norm_names,4,4
	.comm	NUM_TV_NORMS,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_ch7006_drv.c_ch7006_encoder_create_resources.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"scale\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ch7006_encoder_create_resources, %function
ch7006_encoder_create_resources:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	sub	sp, sp, #8
	mov	r5, r1
	bl	to_ch7006_priv
	ldr	r6, [r6]
	ldr	r3, .L4
	ldr	r2, .L4+4
	mov	r4, r0
	ldr	r1, [r3]
	mov	r0, r6
	ldr	r2, [r2]
	bl	drm_mode_create_tv_properties
	mov	r3, #0
	mov	r2, #2
	mov	r1, r3
	str	r2, [sp]
	mov	r0, r6
	ldr	r2, .L4+8
	bl	drm_property_create_range
	ldr	r1, [r6, #28]
	ldr	r2, [r4, #36]
	str	r0, [r4, #4]
	mov	r0, r5
	bl	drm_object_attach_property
	ldr	r1, [r6, #24]
	ldr	r2, [r4, #32]
	mov	r0, r5
	bl	drm_object_attach_property
	ldr	r1, [r6, #20]
	ldr	r2, [r4, #28]
	mov	r0, r5
	bl	drm_object_attach_property
	ldr	r1, [r6, #16]
	ldr	r2, [r4, #24]
	mov	r0, r5
	bl	drm_object_attach_property
	ldr	r1, [r6, #12]
	ldr	r2, [r4, #20]
	mov	r0, r5
	bl	drm_object_attach_property
	ldr	r1, [r6, #8]
	ldr	r2, [r4, #16]
	mov	r0, r5
	bl	drm_object_attach_property
	ldr	r1, [r6, #4]
	ldr	r2, [r4, #12]
	mov	r0, r5
	bl	drm_object_attach_property
	ldr	r1, [r6]
	ldr	r2, [r4, #8]
	mov	r0, r5
	bl	drm_object_attach_property
	mov	r0, r5
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	bl	drm_object_attach_property
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	NUM_TV_NORMS
	.word	ch7006_tv_norm_names
	.word	.LC0
	.size	ch7006_encoder_create_resources, .-ch7006_encoder_create_resources
	.comm	ch7006_tv_norm_names,4,4
	.comm	NUM_TV_NORMS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
