	.file	"extr_cinepakenc.c_write_cvid_header.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	write_cvid_header, @function
write_cvid_header:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	test	r8d, r8d
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sete	BYTE PTR [rsi]
	add	ecx, DWORD PTR CVID_HEADER_SIZE[rip]
	lea	rdi, 1[rbx]
	mov	esi, ecx
	call	AV_WB24@PLT
	mov	esi, DWORD PTR 0[rbp]
	lea	rdi, 4[rbx]
	call	AV_WB16@PLT
	mov	esi, DWORD PTR 4[rbp]
	lea	rdi, 6[rbx]
	call	AV_WB16@PLT
	lea	rdi, 8[rbx]
	mov	esi, r12d
	call	AV_WB16@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR CVID_HEADER_SIZE[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	write_cvid_header, .-write_cvid_header
	.comm	CVID_HEADER_SIZE,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_cinepakenc.c_write_cvid_header.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_cvid_header, %function
write_cvid_header:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, [sp, #24]
	mov	lr, r1
	clz	ip, ip
	mov	r4, r1
	mov	r5, r0
	mov	r6, r2
	lsr	ip, ip, #5
	ldr	r7, .L4
	strb	ip, [lr], #1
	ldr	r1, [r7]
	mov	r0, lr
	add	r1, r3, r1
	bl	AV_WB24
	ldr	r1, [r5]
	add	r0, r4, #4
	bl	AV_WB16
	ldr	r1, [r5, #4]
	add	r0, r4, #6
	bl	AV_WB16
	mov	r1, r6
	add	r0, r4, #8
	bl	AV_WB16
	ldr	r0, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	CVID_HEADER_SIZE
	.size	write_cvid_header, .-write_cvid_header
	.comm	CVID_HEADER_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
