	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_speaker_pos
_parse_speaker_pos:                     ## @parse_speaker_pos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	8(%rax), %edi
	callq	_av_strdup
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	leaq	L_.str(%rip), %rsi
	leaq	-112(%rbp), %rdx
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_av_strtok
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	leaq	-60(%rbp), %r12
	leaq	-56(%rbp), %r14
	leaq	L_.str(%rip), %r15
	leaq	-112(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rcx
	callq	_av_log
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_av_strtok
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-72(%rbp), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_parse_channel_name
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rbx
	movq	-72(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-64(%rbp), %r12
	movq	%r12, %rdx
	leaq	-76(%rbp), %rcx
	xorl	%eax, %eax
	callq	_av_sscanf
	cmpl	$2, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	-60(%rbp), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	$1, (%rax,%rcx,4)
	movss	-64(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	movslq	-60(%rbp), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movss	%xmm0, 4(%rax,%rcx,4)
	movss	-76(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 8(%rax,%rcx,4)
	movq	%rbx, %r12
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_av_sscanf
	cmpl	$1, %eax
	movq	%rbx, %r12
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	-60(%rbp), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	$1, (%rax,%rcx,4)
	movss	-64(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	movslq	-60(%rbp), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movss	%xmm0, 4(%rax,%rcx,4)
	movl	$0, 8(%rax,%rcx,4)
	jmp	LBB0_9
LBB0_10:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_free
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"|"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"Failed to parse '%s' as channel name.\n"

L_.str.2:                               ## @.str.2
	.asciz	"%f %f"

L_.str.3:                               ## @.str.3
	.asciz	"%f"

	.no_dead_strip	_parse_speaker_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_speaker_pos
_parse_speaker_pos:                     ; @parse_speaker_pos
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x25, [x0]
	ldr	w0, [x25, #8]
	bl	_av_strdup
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #32
	bl	_av_strtok
	str	x0, [sp, #40]
	cbz	x0, LBB0_10
; %bb.2:
	add	x26, sp, #24
Lloh5:
	adrp	x21, l_.str.2@PAGE
Lloh6:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	w27, #12
	mov	w28, #1
Lloh7:
	adrp	x23, l_.str@PAGE
Lloh8:
	add	x23, x23, l_.str@PAGEOFF
Lloh9:
	adrp	x22, _AV_LOG_WARNING@GOTPAGE
Lloh10:
	ldr	x22, [x22, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh11:
	adrp	x24, l_.str.1@PAGE
Lloh12:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x22]
	add	x3, sp, #48
	mov	x0, x19
	mov	x2, x24
	bl	_av_log
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x2, sp, #32
	mov	x0, #0
	mov	x1, x23
	bl	_av_strtok
	str	x0, [sp, #40]
	cbz	x0, LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #40
	add	x1, sp, #20
	add	x2, sp, #48
	bl	_parse_channel_name
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #40]
	str	x26, [sp]
	add	x2, sp, #28
	mov	x1, x21
	bl	_av_sscanf
	cmp	w0, #2
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
	ldrsw	x9, [sp, #20]
	mul	x9, x9, x27
	str	w28, [x8, x9]
	ldr	s0, [sp, #28]
	ldrsw	x9, [sp, #20]
	madd	x8, x9, x27, x8
	str	s0, [x8, #4]
	ldr	s0, [sp, #24]
	str	s0, [x8, #8]
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #40]
	add	x2, sp, #28
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_av_sscanf
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
	ldrsw	x9, [sp, #20]
	mul	x9, x9, x27
	str	w28, [x8, x9]
	ldr	s0, [sp, #28]
	ldrsw	x9, [sp, #20]
	madd	x8, x9, x27, x8
	str	s0, [x8, #4]
	str	wzr, [x8, #8]
	b	LBB0_4
LBB0_10:
	mov	x0, x20
	bl	_av_free
LBB0_11:
	ldr	x8, [sp, #56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"|"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"Failed to parse '%s' as channel name.\n"

l_.str.2:                               ; @.str.2
	.asciz	"%f %f"

l_.str.3:                               ; @.str.3
	.asciz	"%f"

	.no_dead_strip	_parse_speaker_pos
.subsections_via_symbols
