	.file	"extr_venc.c_venc_set_wss.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"venc_set_wss\n"
	.text
	.p2align 4
	.type	venc_set_wss, @function
venc_set_wss:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	sal	ebx, 8
	xor	ebx, 268435200
	call	DSSDBG@PLT
	lea	rdi, venc[rip+4]
	call	mutex_lock@PLT
	lea	rdi, venc[rip+8]
	call	venc_timings_to_config@PLT
	mov	DWORD PTR venc[rip], ebx
	mov	rbp, rax
	xor	eax, eax
	call	venc_runtime_get@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L2
	mov	edi, DWORD PTR VENC_BSTAMP_WSS_DATA[rip]
	mov	esi, DWORD PTR 0[rbp]
	or	esi, DWORD PTR venc[rip]
	call	venc_write_reg@PLT
	xor	eax, eax
	call	venc_runtime_put@PLT
.L2:
	lea	rdi, venc[rip+4]
	call	mutex_unlock@PLT
	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
	.cfi_endproc
.LFE0:
	.size	venc_set_wss, .-venc_set_wss
	.comm	venc,12,8
	.comm	VENC_BSTAMP_WSS_DATA,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_set_wss.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"venc_set_wss\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	venc_set_wss, %function
venc_set_wss:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L5
	ldr	r0, .L5+4
	mov	r4, r1
	bl	DSSDBG
	mov	r0, r5
	bl	mutex_lock
	add	r0, r5, #4
	bl	venc_timings_to_config
	ldr	r3, .L5+8
	mov	r6, r0
	eor	r3, r3, r4, lsl #8
	str	r3, [r5, #-4]
	bl	venc_runtime_get
	subs	r4, r0, #0
	bne	.L2
	ldr	r2, [r5, #-4]
	ldr	r3, .L5+12
	ldr	r1, [r6]
	ldr	r0, [r3]
	orr	r1, r1, r2
	bl	venc_write_reg
	bl	venc_runtime_put
.L2:
	ldr	r0, .L5
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L6:
	.align	2
.L5:
	.word	venc+4
	.word	.LC0
	.word	268435200
	.word	VENC_BSTAMP_WSS_DATA
	.size	venc_set_wss, .-venc_set_wss
	.comm	venc,12,4
	.comm	VENC_BSTAMP_WSS_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
