	.file	"extr_pcm_plugin.c_snd_pcm_plug_client_size.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	snd_pcm_plug_client_size
	.type	snd_pcm_plug_client_size, @function
snd_pcm_plug_client_size:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdi, rdi
	sete	dil
	movzx	edi, dil
	call	snd_BUG_ON@PLT
	test	rax, rax
	jne	.L44
	xor	eax, eax
	test	rbx, rbx
	jne	.L45
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L45:
	.cfi_restore_state
	mov	rdi, rbp
	call	snd_pcm_plug_stream@PLT
	cmp	DWORD PTR SNDRV_PCM_STREAM_PLAYBACK[rip], eax
	je	.L46
	cmp	DWORD PTR SNDRV_PCM_STREAM_CAPTURE[rip], eax
	je	.L47
	xor	eax, eax
	call	snd_BUG@PLT
.L42:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, rbx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L44:
	.cfi_restore_state
	mov	rax, QWORD PTR ENXIO[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	rax
	ret
	.p2align 4,,10
	.p2align 3
.L47:
	.cfi_restore_state
	mov	rdi, rbp
	call	snd_pcm_plug_first@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L42
	test	rbx, rbx
	jle	.L42
	mov	rax, rbx
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, rbp
	mov	rbp, QWORD PTR 16[rbp]
	mov	rdx, QWORD PTR 8[rdi]
	test	rdx, rdx
	je	.L11
	mov	rsi, rax
	call	rdx
.L11:
	test	rbp, rbp
	je	.L1
	test	rax, rax
	jg	.L12
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L46:
	mov	rdi, rbp
	call	snd_pcm_plug_last@PLT
	mov	rbp, rax
	test	rbx, rbx
	jle	.L42
	mov	rax, rbx
	test	rbp, rbp
	je	.L42
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	mov	rbp, QWORD PTR 24[rbp]
	mov	rdx, QWORD PTR [rdi]
	test	rdx, rdx
	je	.L7
	mov	rsi, rax
	call	rdx
.L7:
	test	rbp, rbp
	je	.L1
	test	rax, rax
	jg	.L5
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	snd_pcm_plug_client_size, .-snd_pcm_plug_client_size
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	SNDRV_PCM_STREAM_CAPTURE,4,4
	.comm	ENXIO,8,8
	.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_pcm_plugin.c_snd_pcm_plug_client_size.c"
	.text
	.align	2
	.global	snd_pcm_plug_client_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_pcm_plug_client_size, %function
snd_pcm_plug_client_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	mov	r4, r1
	bl	snd_BUG_ON
	cmp	r0, #0
	bne	.L26
	cmp	r4, #0
	bne	.L27
.L11:
	mov	r1, r4
.L1:
	mov	r0, r1
	pop	{r4, r5, r6, pc}
.L27:
	mov	r0, r5
	bl	snd_pcm_plug_stream
	ldr	r3, .L30
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L28
	ldr	r3, .L30+4
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L29
	bl	snd_BUG
	mov	r1, r4
	mov	r0, r1
	pop	{r4, r5, r6, pc}
.L26:
	ldr	r3, .L30+8
	ldr	r1, [r3]
	rsb	r1, r1, #0
	mov	r0, r1
	pop	{r4, r5, r6, pc}
.L29:
	mov	r0, r5
	bl	snd_pcm_plug_first
	cmp	r0, #0
	cmpne	r4, #0
	mov	r5, r0
	ble	.L11
	mov	r1, r4
.L10:
	ldr	r3, [r5, #4]
	mov	r0, r5
	cmp	r3, #0
	ldr	r5, [r5, #8]
	beq	.L9
	blx	r3
	mov	r1, r0
.L9:
	cmp	r5, #0
	cmpne	r1, #0
	bgt	.L10
	b	.L1
.L28:
	mov	r0, r5
	bl	snd_pcm_plug_last
	cmp	r0, #0
	cmpne	r4, #0
	mov	r5, r0
	movgt	r1, r4
	ble	.L11
.L5:
	ldr	r3, [r5]
	mov	r0, r5
	cmp	r3, #0
	ldr	r5, [r5, #12]
	beq	.L6
	blx	r3
	mov	r1, r0
.L6:
	cmp	r5, #0
	cmpne	r1, #0
	bgt	.L5
	b	.L1
.L31:
	.align	2
.L30:
	.word	SNDRV_PCM_STREAM_PLAYBACK
	.word	SNDRV_PCM_STREAM_CAPTURE
	.word	ENXIO
	.size	snd_pcm_plug_client_size, .-snd_pcm_plug_client_size
	.comm	SNDRV_PCM_STREAM_PLAYBACK,4,4
	.comm	SNDRV_PCM_STREAM_CAPTURE,4,4
	.comm	ENXIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
