	.file	"extr_sndout_oss.c_sndout_oss_write_nb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"audio lag %u\n"
	.text
	.p2align 4
	.globl	sndout_oss_write_nb
	.type	sndout_oss_write_nb, @function
sndout_oss_write_nb:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR lag_counter.1927[rip], 2
	mov	eax, DWORD PTR skip_counter.1928[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	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
	jle	.L3
	mov	DWORD PTR lag_counter.1927[rip], 0
	mov	eax, DWORD PTR FRAG_COUNT[rip]
	mov	DWORD PTR skip_counter.1928[rip], eax
.L3:
	test	eax, eax
	jle	.L4
	sub	eax, 1
	mov	DWORD PTR skip_counter.1928[rip], eax
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	eax, eax
	call	plat_get_ticks_ms@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	ebx, eax
	call	sndout_oss_write@PLT
	mov	r12d, eax
	xor	eax, eax
	call	plat_get_ticks_ms@PLT
	sub	eax, ebx
	mov	esi, eax
	cmp	eax, 1
	jbe	.L6
	mov	eax, DWORD PTR lag_counter.1927[rip]
	add	eax, 1
	mov	DWORD PTR lag_counter.1927[rip], eax
	cmp	eax, 2
	jle	.L1
	lea	rdi, .LC0[rip]
	call	printf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	DWORD PTR lag_counter.1927[rip], 0
	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	sndout_oss_write_nb, .-sndout_oss_write_nb
	.local	skip_counter.1928
	.comm	skip_counter.1928,4,4
	.local	lag_counter.1927
	.comm	lag_counter.1927,4,4
	.comm	FRAG_COUNT,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_sndout_oss.c_sndout_oss_write_nb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"audio lag %u\012\000"
	.text
	.align	2
	.global	sndout_oss_write_nb
	.syntax unified
	.arm
	.fpu softvfp
	.type	sndout_oss_write_nb, %function
sndout_oss_write_nb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L10
	mov	r6, r0
	ldr	r3, [r5]
	mov	r4, r1
	cmp	r3, #2
	movgt	r2, #0
	ldrgt	r3, .L10+4
	ldrle	r3, [r5, #4]
	ldrgt	r3, [r3]
	strgt	r2, [r5]
	strgt	r3, [r5, #4]
	cmp	r3, #0
	subgt	r3, r3, #1
	strgt	r3, [r5, #4]
	ble	.L9
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	bl	plat_get_ticks_ms
	mov	r3, r0
	mov	r1, r4
	mov	r0, r6
	mov	r6, r3
	bl	sndout_oss_write
	mov	r4, r0
	bl	plat_get_ticks_ms
	sub	r1, r0, r6
	cmp	r1, #1
	movls	r3, #0
	strls	r3, [r5]
	bls	.L1
	ldr	r3, [r5]
	add	r3, r3, #1
	cmp	r3, #2
	str	r3, [r5]
	ble	.L1
	ldr	r0, .L10+8
	bl	printf
	b	.L1
.L11:
	.align	2
.L10:
	.word	.LANCHOR0
	.word	FRAG_COUNT
	.word	.LC0
	.size	sndout_oss_write_nb, .-sndout_oss_write_nb
	.comm	FRAG_COUNT,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	lag_counter.4211, %object
	.size	lag_counter.4211, 4
lag_counter.4211:
	.space	4
	.type	skip_counter.4212, %object
	.size	skip_counter.4212, 4
skip_counter.4212:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
