	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_mapping
_parse_mapping:                         ## @parse_mapping
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	%rsi, %rbx
	movq	8(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_av_calloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, %r12d
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r14
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %ecx
	movq	%rbx, %r8
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_av_log
	cmpq	%rbx, %r14
	je	LBB0_12
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %r8
	cmpq	%r8, %rbx
	jge	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r12d, %r12d
	js	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	(%r15), %r12d
	jge	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rdx
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_av_log
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax,%rbx,4)
	incq	%rbx
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, %r12d
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r13
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %ecx
	movq	%r14, %r8
	movq	%r13, %r9
	xorl	%eax, %eax
	callq	_av_log
	cmpq	%r13, %r14
	movq	%r13, %r14
	jne	LBB0_4
## %bb.8:
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.9:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	leaq	8(%r14), %rdi
	callq	_av_freep
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r14)
	movl	%ebx, 16(%r14)
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_16
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_15
LBB0_13:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_15
LBB0_14:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%r8d, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_15:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_free
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mapping definition is not set\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"n=%d map=%p p=%p\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unable to map more than the %d input pads available\n"

L_.str.3:                               ## @.str.3
	.asciz	"Input stream index %d doesn't exist (there is only %d input streams defined)\n"

	.comm	_AV_LOG_VERBOSE,4,2             ## @AV_LOG_VERBOSE
L_.str.4:                               ## @.str.4
	.asciz	"Map input stream %d to output stream %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"invalid mapping\n"

L_.str.6:                               ## @.str.6
	.asciz	"%d map set\n"

	.no_dead_strip	_parse_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_mapping
_parse_mapping:                         ; @parse_mapping
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cbz	x1, LBB0_10
; %bb.1:
	mov	x22, x1
	ldr	x25, [x19, #8]
	ldr	w0, [x25]
	mov	w1, #4
	bl	_av_calloc
	cbz	x0, LBB0_11
; %bb.2:
	mov	x20, x0
	add	x1, sp, #24
	mov	x0, x22
	mov	w2, #0
	bl	_strtol
	mov	x23, x0
Lloh0:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x26, [sp, #24]
	stp	x22, x26, [sp, #8]
	str	x23, [sp]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
	cmp	x26, x22
	b.eq	LBB0_12
; %bb.3:
	mov	x28, #0
Lloh5:
	adrp	x22, l_.str.4@PAGE
Lloh6:
	add	x22, x22, l_.str.4@PAGEOFF
	mov	x24, x23
Lloh7:
	adrp	x23, l_.str.1@PAGE
Lloh8:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x25]
	cmp	x28, x8
	b.ge	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w24, #31, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19]
	cmp	w24, w9
	b.ge	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh9:
	adrp	x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	stp	x24, x28, [sp]
	mov	x0, x19
	mov	x2, x22
	bl	_av_log
	add	x27, x28, #1
	str	w24, [x20, x28, lsl #2]
	add	x1, sp, #24
	mov	x0, x26
	mov	w2, #0
	bl	_strtol
	mov	x24, x0
Lloh12:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	x21, [sp, #24]
	stp	x26, x21, [sp, #8]
	str	x24, [sp]
	mov	x0, x19
	mov	x2, x23
	bl	_av_log
	mov	x28, x27
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	cmp	x26, x21
	mov	x26, x21
	b.ne	LBB0_4
; %bb.8:
	cbz	w27, LBB0_12
; %bb.9:
	add	x0, x25, #8
	bl	_av_freep
	str	x20, [x25, #8]
	str	w27, [x25, #16]
Lloh15:
	adrp	x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	str	x27, [sp]
Lloh18:
	adrp	x2, l_.str.6@PAGE
Lloh19:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
Lloh20:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str@PAGE
Lloh24:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	b	LBB0_16
LBB0_11:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_17
LBB0_12:
Lloh27:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x2, l_.str.5@PAGE
Lloh31:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_13:
Lloh32:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh33:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x9]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	stp	x24, x8, [sp]
Lloh35:
	adrp	x2, l_.str.3@PAGE
Lloh36:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh37:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh38:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x9]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh40:
	adrp	x2, l_.str.2@PAGE
Lloh41:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_15:
	mov	x0, x19
	bl	_av_log
	mov	x0, x20
	bl	_av_free
LBB0_16:
Lloh42:
	adrp	x8, _EINVAL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_AVERROR
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mapping definition is not set\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"n=%d map=%p p=%p\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unable to map more than the %d input pads available\n"

l_.str.3:                               ; @.str.3
	.asciz	"Input stream index %d doesn't exist (there is only %d input streams defined)\n"

	.comm	_AV_LOG_VERBOSE,4,2             ; @AV_LOG_VERBOSE
l_.str.4:                               ; @.str.4
	.asciz	"Map input stream %d to output stream %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"invalid mapping\n"

l_.str.6:                               ; @.str.6
	.asciz	"%d map set\n"

	.no_dead_strip	_parse_mapping
.subsections_via_symbols
