	.file	"extr_m_option.c_parse_channels.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"help"
.LC1:
	.string	"\nOther values:\n    auto-safe\n"
.LC2:
	.string	"auto-safe"
.LC3:
	.string	"auto"
.LC4:
	.string	"empty"
.LC5:
	.string	"Disallowed parameter.\n"
.LC6:
	.string	","
.LC7:
	.string	"Invalid channel layout: %.*s\n"
	.text
	.p2align 4
	.type	parse_channels, @function
parse_channels:
.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
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	rdi, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	ebp, DWORD PTR [rsi]
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 8[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	bstr_equals0@PLT
	test	eax, eax
	jne	.L28
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC2[rip]
	call	bstr_equals0@PLT
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC3[rip]
	mov	ebx, eax
	call	bstr_equals0@PLT
	test	eax, eax
	je	.L5
.L8:
	test	ebp, ebp
	jne	.L29
	mov	QWORD PTR 8[rsp], 0
	mov	eax, 1
.L10:
	test	r13, r13
	je	.L16
	mov	DWORD PTR 0[r13], eax
	mov	eax, 1
	mov	DWORD PTR 4[r13], ebx
	mov	QWORD PTR 8[r13], 0
	mov	DWORD PTR 16[r13], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC4[rip]
	call	bstr_equals0@PLT
	or	eax, ebx
	jne	.L8
	cmp	QWORD PTR 8[rsp], 0
	je	.L25
	lea	rbx, 28[rsp]
	lea	r14, 8[rsp]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L31:
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rsp], 0
	mov	QWORD PTR 32[rsp], rax
.L12:
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, rbx
	mov	DWORD PTR 28[rsp], 0
	call	mp_chmap_from_str@PLT
	test	eax, eax
	je	.L14
	mov	rdi, rbx
	call	mp_chmap_is_valid@PLT
	test	eax, eax
	je	.L14
	mov	ecx, DWORD PTR 28[rsp]
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	call	MP_TARRAY_APPEND@PLT
	cmp	QWORD PTR 8[rsp], 0
	je	.L30
.L15:
	test	ebp, ebp
	jne	.L31
	mov	rdi, QWORD PTR 8[rsp]
	lea	rdx, 32[rsp]
	mov	rcx, r14
	lea	rsi, .LC6[rip]
	call	bstr_split_tok@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, QWORD PTR 32[rsp]
	call	BSTR_P@PLT
	lea	rsi, .LC7[rip]
	mov	rdi, r12
	mov	edx, eax
	xor	eax, eax
	call	mp_err@PLT
	xor	edi, edi
	call	talloc_free@PLT
	mov	eax, DWORD PTR M_OPT_INVALID[rip]
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L32
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L28:
	.cfi_restore_state
	mov	rdi, r12
	call	mp_chmap_print_help@PLT
	test	ebp, ebp
	je	.L33
.L3:
	mov	eax, DWORD PTR M_OPT_EXIT[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	lea	rsi, .LC5[rip]
	mov	rdi, r12
	xor	eax, eax
	call	mp_err@PLT
	mov	eax, DWORD PTR M_OPT_INVALID[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L30:
	xor	ebx, ebx
	mov	eax, 1
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L33:
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	mp_info@PLT
	jmp	.L3
.L16:
	xor	edi, edi
	call	talloc_free@PLT
	mov	eax, 1
	jmp	.L1
.L32:
	call	__stack_chk_fail@PLT
.L25:
	xor	ebx, ebx
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	parse_channels, .-parse_channels
	.comm	M_OPT_INVALID,4,4
	.comm	M_OPT_EXIT,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_m_option.c_parse_channels.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"help\000"
	.align	2
.LC1:
	.ascii	"\012Other values:\012    auto-safe\012\000"
	.align	2
.LC2:
	.ascii	"auto-safe\000"
	.align	2
.LC3:
	.ascii	"auto\000"
	.align	2
.LC4:
	.ascii	"empty\000"
	.align	2
.LC5:
	.ascii	"Disallowed parameter.\012\000"
	.align	2
.LC6:
	.ascii	",\000"
	.align	2
.LC7:
	.ascii	"Invalid channel layout: %.*s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_channels, %function
parse_channels:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	mov	r2, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #44
	str	r3, [sp, #4]
	mov	r7, r0
	mov	r0, r3
	ldr	r3, .L34
	ldr	r1, .L34+4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldr	r6, [ip]
	ldr	r8, [sp, #72]
	str	r2, [sp, #32]
	bl	bstr_equals0
	cmp	r0, #0
	bne	.L28
	ldr	r1, .L34+8
	ldr	r0, [sp, #4]
	bl	bstr_equals0
	ldr	r1, .L34+12
	mov	r4, r0
	ldr	r0, [sp, #4]
	bl	bstr_equals0
	cmp	r0, #0
	beq	.L5
.L8:
	cmp	r6, #0
	moveq	r3, #1
	streq	r6, [sp, #4]
	bne	.L29
.L10:
	cmp	r8, #0
	beq	.L16
	mov	r2, #0
	add	ip, sp, #16
	str	r3, [sp, #16]
	str	r4, [sp, #20]
	str	r2, [sp, #24]
	str	r2, [sp, #28]
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	r8!, {r0, r1, r2, r3}
	ldr	r3, [ip]
	mov	r0, #1
	str	r3, [r8]
	b	.L1
.L5:
	ldr	r1, .L34+16
	ldr	r0, [sp, #4]
	bl	bstr_equals0
	orrs	r5, r0, r4
	bne	.L8
	ldr	r3, [sp, #4]
	cmp	r3, #0
	beq	.L25
	ldr	r9, .L34+20
	b	.L15
.L31:
	ldr	r3, [sp, #4]
	str	r5, [sp, #4]
	str	r3, [sp, #8]
.L12:
	ldr	r1, [sp, #8]
	add	r0, sp, #12
	str	r5, [sp, #12]
	bl	mp_chmap_from_str
	cmp	r0, #0
	beq	.L14
	add	r0, sp, #12
	bl	mp_chmap_is_valid
	cmp	r0, #0
	beq	.L14
	mov	r2, #0
	ldr	r3, [sp, #12]
	mov	r1, r2
	mov	r0, r2
	bl	MP_TARRAY_APPEND
	ldr	r4, [sp, #4]
	cmp	r4, #0
	beq	.L30
.L15:
	cmp	r6, #0
	bne	.L31
	mov	r1, r9
	ldr	r0, [sp, #4]
	add	r3, sp, #4
	add	r2, sp, #8
	bl	bstr_split_tok
	b	.L12
.L14:
	ldr	r0, [sp, #8]
	bl	BSTR_P
	ldr	r1, .L34+24
	mov	r2, r0
	mov	r0, r7
	bl	mp_err
	mov	r0, #0
	bl	talloc_free
	ldr	r3, .L34+28
	ldr	r0, [r3]
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L32
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L28:
	mov	r0, r7
	bl	mp_chmap_print_help
	cmp	r6, #0
	beq	.L33
.L3:
	ldr	r3, .L34+32
	ldr	r0, [r3]
	b	.L1
.L29:
	mov	r0, r7
	ldr	r1, .L34+36
	bl	mp_err
	ldr	r3, .L34+28
	ldr	r0, [r3]
	b	.L1
.L30:
	mov	r3, #1
	b	.L10
.L33:
	mov	r0, r7
	ldr	r1, .L34+40
	bl	mp_info
	b	.L3
.L16:
	mov	r0, r8
	bl	talloc_free
	mov	r0, #1
	b	.L1
.L32:
	bl	__stack_chk_fail
.L25:
	mov	r4, r3
	b	.L10
.L35:
	.align	2
.L34:
	.word	.LC8
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC6
	.word	.LC7
	.word	M_OPT_INVALID
	.word	M_OPT_EXIT
	.word	.LC5
	.word	.LC1
	.size	parse_channels, .-parse_channels
	.comm	M_OPT_INVALID,4,4
	.comm	M_OPT_EXIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
