	.file	"extr_cpia.c_set_vw_size.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bad videosize value: %d\n"
	.text
	.p2align 4
	.type	set_vw_size, @function
set_vw_size:
.LFB0:
	.cfi_startproc
	endbr64
	mov	esi, DWORD PTR [rdi]
	lea	eax, -128[rsi]
	cmp	eax, 11
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L15-.L4
	.long	.L14-.L4
	.long	.L13-.L4
	.long	.L12-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	movabs	rax, 824633720963
	mov	esi, 18
	mov	DWORD PTR 48[rdi], 144
	mov	r8d, 10
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 120
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR 4[rdi]
	test	edx, edx
	jne	.L17
	mov	edx, DWORD PTR 44[rdi]
	mov	DWORD PTR 4[rdi], edx
.L17:
	mov	eax, DWORD PTR 8[rdi]
	test	eax, eax
	jne	.L18
	mov	eax, DWORD PTR 48[rdi]
	mov	DWORD PTR 8[rdi], eax
.L18:
	mov	ecx, DWORD PTR 12[rdi]
	sar	edx, 3
	sar	eax, 2
	sar	ecx, 3
	add	ecx, r8d
	add	edx, ecx
	mov	DWORD PTR 24[rdi], ecx
	mov	DWORD PTR 32[rdi], edx
	mov	edx, DWORD PTR 16[rdi]
	sar	edx, 2
	add	edx, esi
	add	eax, edx
	mov	DWORD PTR 28[rdi], edx
	mov	DWORD PTR 36[rdi], eax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	movabs	rax, 549755814018
	mov	esi, 6
	mov	DWORD PTR 48[rdi], 96
	mov	r8d, 3
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 60
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	movabs	rax, 1374389534851
	mov	esi, 6
	mov	DWORD PTR 48[rdi], 240
	mov	r8d, 2
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 120
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L14:
	movabs	rax, 687194767490
	mov	esi, 3
	mov	DWORD PTR 48[rdi], 120
	mov	r8d, 1
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 60
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L13:
	movabs	rax, 755914244226
	mov	DWORD PTR 48[rdi], 144
	xor	esi, esi
	xor	r8d, r8d
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 60
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L12:
	movabs	rax, 1511828488323
	mov	DWORD PTR 48[rdi], 288
	xor	esi, esi
	xor	r8d, r8d
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 120
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L11:
	movabs	rax, 377957122178
	mov	esi, 9
	mov	DWORD PTR 48[rdi], 72
	mov	r8d, 5
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 60
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L10:
	movabs	rax, 274877907074
	mov	esi, 12
	mov	DWORD PTR 48[rdi], 48
	mov	r8d, 7
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 60
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L9:
	movabs	rax, 206158430338
	mov	esi, 6
	mov	DWORD PTR 48[rdi], 48
	mov	r8d, 8
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 60
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L8:
	movabs	rax, 1236950581379
	mov	esi, 9
	mov	DWORD PTR 48[rdi], 216
	mov	r8d, 4
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 120
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L7:
	movabs	rax, 1099511627907
	mov	esi, 12
	mov	DWORD PTR 48[rdi], 192
	mov	r8d, 6
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 120
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L6:
	movabs	rax, 962072674435
	mov	esi, 15
	mov	DWORD PTR 48[rdi], 168
	mov	r8d, 8
	mov	QWORD PTR 40[rdi], rax
	mov	DWORD PTR 20[rdi], 120
	jmp	.L16
.L2:
	lea	rdi, .LC0[rip]
	jmp	LOG@PLT
	.cfi_endproc
.LFE0:
	.size	set_vw_size, .-set_vw_size
	.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_cpia.c_set_vw_size.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bad videosize value: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_vw_size, %function
set_vw_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r1, [r0]
	push	{r4, lr}
	sub	r3, r1, #128
	cmp	r3, #11
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	mov	ip, #128
	mov	r1, #96
	mov	r2, #130
	mov	r3, #60
	str	ip, [r0, #44]
	str	r1, [r0, #48]
	mov	ip, #3
	mov	r1, #6
	str	r2, [r0, #40]
	str	r3, [r0, #20]
.L16:
	ldr	r2, [r0, #4]
	ldr	r3, [r0, #8]
	cmp	r2, #0
	ldreq	r2, [r0, #44]
	ldr	r4, [r0, #12]
	streq	r2, [r0, #4]
	ldr	lr, [r0, #16]
	cmp	r3, #0
	ldreq	r3, [r0, #48]
	add	ip, ip, r4, asr #3
	add	r1, r1, lr, asr #2
	streq	r3, [r0, #8]
	add	r2, ip, r2, asr #3
	add	r3, r1, r3, asr #2
	str	r2, [r0, #32]
	str	ip, [r0, #24]
	str	r3, [r0, #36]
	str	r1, [r0, #28]
	pop	{r4, pc}
.L15:
	mov	ip, #320
	mov	r1, #240
	mov	r2, #131
	mov	r3, #120
	str	ip, [r0, #44]
	str	r1, [r0, #48]
	mov	ip, #2
	mov	r1, #6
	str	r2, [r0, #40]
	str	r3, [r0, #20]
	b	.L16
.L14:
	mov	ip, #160
	mov	r1, #120
	mov	r2, #130
	mov	r3, #60
	str	ip, [r0, #44]
	str	r1, [r0, #48]
	mov	ip, #1
	mov	r1, #3
	str	r2, [r0, #40]
	str	r3, [r0, #20]
	b	.L16
.L13:
	mov	lr, #176
	mov	ip, #144
	mov	r2, #130
	mov	r3, #60
.L20:
	mov	r1, #0
	str	ip, [r0, #48]
	str	lr, [r0, #44]
	mov	ip, r1
	str	r2, [r0, #40]
	str	r3, [r0, #20]
	b	.L16
.L12:
	mov	lr, #352
	mov	ip, #288
	mov	r2, #131
	mov	r3, #120
	b	.L20
.L11:
	mov	ip, #88
	mov	r1, #72
	mov	r2, #130
	mov	r3, #60
	str	ip, [r0, #44]
	str	r1, [r0, #48]
	mov	ip, #5
	mov	r1, #9
	str	r2, [r0, #40]
	str	r3, [r0, #20]
	b	.L16
.L10:
	mov	ip, #64
	mov	r1, #48
	mov	r2, #130
	mov	r3, #60
	str	ip, [r0, #44]
	str	r1, [r0, #48]
	mov	ip, #7
	mov	r1, #12
	str	r2, [r0, #40]
	str	r3, [r0, #20]
	b	.L16
.L9:
	mov	r3, #48
	mov	r1, #130
	mov	r2, #60
	str	r1, [r0, #40]
	mov	ip, #8
	mov	r1, #6
	str	r3, [r0, #44]
	str	r3, [r0, #48]
	str	r2, [r0, #20]
	b	.L16
.L8:
	mov	ip, #288
	mov	r1, #216
	mov	r2, #131
	mov	r3, #120
	str	ip, [r0, #44]
	str	r1, [r0, #48]
	mov	ip, #4
	mov	r1, #9
	str	r2, [r0, #40]
	str	r3, [r0, #20]
	b	.L16
.L7:
	mov	ip, #256
	mov	r1, #192
	mov	r2, #131
	mov	r3, #120
	str	ip, [r0, #44]
	str	r1, [r0, #48]
	mov	ip, #6
	mov	r1, #12
	str	r2, [r0, #40]
	str	r3, [r0, #20]
	b	.L16
.L6:
	mov	ip, #224
	mov	r1, #168
	mov	r2, #131
	mov	r3, #120
	str	ip, [r0, #44]
	str	r1, [r0, #48]
	mov	ip, #8
	mov	r1, #15
	str	r2, [r0, #40]
	str	r3, [r0, #20]
	b	.L16
.L5:
	mov	ip, #192
	mov	r1, #144
	mov	r2, #131
	mov	r3, #120
	str	ip, [r0, #44]
	str	r1, [r0, #48]
	mov	ip, #10
	mov	r1, #18
	str	r2, [r0, #40]
	str	r3, [r0, #20]
	b	.L16
.L2:
	ldr	r0, .L22
	pop	{r4, lr}
	b	LOG
.L23:
	.align	2
.L22:
	.word	.LC0
	.size	set_vw_size, .-set_vw_size
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
