	.file	"extr_tw9910.c_tw9910_select_norm.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tw9910_select_norm, @function
tw9910_select_norm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	test	DWORD PTR V4L2_STD_NTSC[rip], edi
	jne	.L14
	test	DWORD PTR V4L2_STD_PAL[rip], edi
	je	.L4
	mov	r15, QWORD PTR tw9910_pal_scales[rip]
	mov	rdi, r15
	call	ARRAY_SIZE@PLT
.L3:
	test	eax, eax
	jle	.L4
	sub	eax, 1
	mov	ebp, 4294967295
	mov	QWORD PTR 8[rsp], 0
	sal	rax, 4
	lea	r14, 16[r15+rax]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, r12
	sub	rdi, QWORD PTR 8[r15]
	call	abs@PLT
	mov	rdi, r13
	sub	rdi, QWORD PTR [r15]
	mov	rbx, rax
	call	abs@PLT
	add	rbx, rax
	cmp	rbx, rbp
	jge	.L5
	mov	QWORD PTR 8[rsp], r15
	mov	rbp, rbx
.L5:
	add	r15, 16
	cmp	r15, r14
	jne	.L6
.L1:
	mov	rax, QWORD PTR 8[rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	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
.L4:
	.cfi_restore_state
	mov	QWORD PTR 8[rsp], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r15, QWORD PTR tw9910_ntsc_scales[rip]
	mov	rdi, r15
	call	ARRAY_SIZE@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	tw9910_select_norm, .-tw9910_select_norm
	.comm	tw9910_pal_scales,8,8
	.comm	tw9910_ntsc_scales,8,8
	.comm	V4L2_STD_PAL,4,4
	.comm	V4L2_STD_NTSC,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_tw9910.c_tw9910_select_norm.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tw9910_select_norm, %function
tw9910_select_norm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, lr}
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L10
	ldr	r3, .L11+4
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L4
	ldr	r3, .L11+8
	ldr	r0, [r3]
	bl	ARRAY_SIZE
.L4:
	mov	r0, #0
	pop	{r4, pc}
.L10:
	ldr	r3, .L11+12
	ldr	r0, [r3]
	bl	ARRAY_SIZE
	mov	r0, #0
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	V4L2_STD_NTSC
	.word	V4L2_STD_PAL
	.word	tw9910_pal_scales
	.word	tw9910_ntsc_scales
	.size	tw9910_select_norm, .-tw9910_select_norm
	.comm	tw9910_pal_scales,4,4
	.comm	tw9910_ntsc_scales,4,4
	.comm	V4L2_STD_PAL,4,4
	.comm	V4L2_STD_NTSC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
