	.file	"extr_dshow.c_parse_device_name.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	":"
.LC1:
	.string	"video"
.LC2:
	.string	"audio"
.LC3:
	.string	"="
	.text
	.p2align 4
	.type	parse_device_name, @function
parse_device_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	lea	r13, .LC2[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	lea	r12, .LC1[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR 8[rdi]
	mov	rdi, QWORD PTR [rdi]
	mov	rbp, QWORD PTR [rax]
	call	av_strdup@PLT
	mov	r14, rax
	mov	rdi, rax
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rsi, .LC3[rip]
	call	strtok@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L15
	xor	edi, edi
	lea	rsi, .LC0[rip]
	call	strtok@PLT
	mov	ecx, 6
	mov	rsi, rbx
	mov	rdi, r12
	repz cmpsb
	seta	dl
	sbb	dl, 0
	test	dl, dl
	jne	.L3
	mov	QWORD PTR 0[rbp], rax
	xor	edi, edi
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ecx, 6
	mov	rsi, rbx
	mov	rdi, r13
	repz cmpsb
	seta	dl
	sbb	dl, 0
	test	dl, dl
	jne	.L5
	mov	QWORD PTR 8[rbp], rax
	xor	edi, edi
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	je	.L16
	call	av_strdup@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	r12d, 1
	mov	QWORD PTR 0[rbp], rax
	test	rdi, rdi
	jne	.L9
.L6:
	mov	rdi, r14
	call	av_free@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	call	av_strdup@PLT
	mov	r12d, 1
	mov	QWORD PTR 8[rbp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	QWORD PTR 0[rbp], 0
	xor	r12d, r12d
	mov	QWORD PTR 8[rbp], 0
	jmp	.L6
.L16:
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	jne	.L9
	xor	r12d, r12d
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	parse_device_name, .-parse_device_name
	.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_dshow.c_parse_device_name.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	":\000"
	.align	2
.LC1:
	.ascii	"video\000"
	.align	2
.LC2:
	.ascii	"audio\000"
	.align	2
.LC3:
	.ascii	"=\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_device_name, %function
parse_device_name:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldm	r0, {r0, r3}
	ldr	r5, [r3]
	bl	av_strdup
	ldr	r6, .L15
	mov	r10, r0
	ldr	r8, .L15+4
	ldr	r7, .L15+8
	ldr	r9, .L15+12
	b	.L2
.L7:
	mov	r1, r8
	mov	r0, #0
	bl	strtok
	mov	r1, r7
	mov	fp, r0
	mov	r0, r4
	bl	strcmp
	cmp	r0, #0
	streq	fp, [r5]
	beq	.L4
	mov	r0, r4
	mov	r1, r9
	bl	strcmp
	cmp	r0, #0
	bne	.L5
	str	fp, [r5, #4]
.L4:
	mov	r0, #0
.L2:
	mov	r1, r6
	bl	strtok
	subs	r4, r0, #0
	bne	.L7
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L14
	bl	av_strdup
	ldr	r4, [r5, #4]
	str	r0, [r5]
	cmp	r4, #0
	moveq	r4, #1
	bne	.L9
.L6:
	mov	r0, r10
	bl	av_free
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	ldr	r4, [r5, #4]
	cmp	r4, #0
	beq	.L6
.L9:
	mov	r0, r4
	bl	av_strdup
	mov	r4, #1
	str	r0, [r5, #4]
	b	.L6
.L5:
	mov	r4, #0
	str	r4, [r5]
	str	r4, [r5, #4]
	b	.L6
.L16:
	.align	2
.L15:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	parse_device_name, .-parse_device_name
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
