	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_test
_run_test:                              ## @run_test
	.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, %r14
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	_BUFFER_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	-64(%rbp), %rdi
	callq	_initialize_fifo_tst_muxer_chain
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	40(%r14), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	leaq	-56(%rbp), %rdi
	xorl	%r8d, %r8d
	callq	_av_dict_parse_string
	testl	%eax, %eax
	js	LBB0_4
LBB0_5:
	movl	(%r12), %esi
	movl	32(%r14), %ecx
	movl	(%r14), %r8d
	movl	4(%r14), %r9d
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	callq	_snprintf
	leaq	L_.str.5(%rip), %rsi
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rsi
	leaq	L_.str.7(%rip), %rdx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	_av_dict_set
	testl	%ebx, %ebx
	js	LBB0_7
## %bb.6:
	testl	%eax, %eax
	js	LBB0_7
## %bb.9:
	movq	-64(%rbp), %rdi
	leaq	24(%r14), %rdx
	leaq	-56(%rbp), %rsi
	callq	*8(%r14)
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_1:
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_av_err2str
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_av_err2str
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_8
LBB0_4:
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_av_err2str
	leaq	L_.str.3(%rip), %rsi
LBB0_8:
	movl	%r15d, %edi
	movq	%rax, %rdx
	callq	_fprintf
LBB0_10:
	movq	16(%r14), %rsi
	testl	%ebx, %ebx
	leaq	L_.str.10(%rip), %rax
	leaq	L_.str.11(%rip), %rdx
	cmovsq	%rax, %rdx
	leaq	L_.str.9(%rip), %rdi
	callq	_printf
	movq	-64(%rbp), %rdi
	callq	_avformat_free_context
	leaq	-56(%rbp), %rdi
	callq	_av_dict_free
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFFER_SIZE,4,2                ## @BUFFER_SIZE
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Muxer initialization failed: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"="

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

L_.str.3:                               ## @.str.3
	.asciz	"Failed to parse options: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"print_deinit_summary=%d:write_header_ret=%d:write_trailer_ret=%d"

L_.str.5:                               ## @.str.5
	.asciz	"format_opts"

L_.str.6:                               ## @.str.6
	.asciz	"fifo_format"

L_.str.7:                               ## @.str.7
	.asciz	"fifo_test"

L_.str.8:                               ## @.str.8
	.asciz	"Failed to set options for test muxer: %s\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s: %s\n"

L_.str.10:                              ## @.str.10
	.asciz	"fail"

L_.str.11:                              ## @.str.11
	.asciz	"ok"

	.no_dead_strip	_run_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_test
_run_test:                              ; @run_test
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #32
	mov	x19, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	stp	xzr, xzr, [x29, #-72]
Lloh3:
	adrp	x23, _BUFFER_SIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _BUFFER_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	sub	x0, x29, #72
	bl	_initialize_fifo_tst_muxer_chain
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	w1, [x19, #40]
	cbz	w1, LBB0_3
; %bb.2:
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh9:
	adrp	x3, l_.str.2@PAGE
Lloh10:
	add	x3, x3, l_.str.2@PAGEOFF
	sub	x0, x29, #64
	mov	w4, #0
	bl	_av_dict_parse_string
	tbnz	w0, #31, LBB0_8
LBB0_3:
	ldr	w1, [x23]
	ldr	w3, [x19, #32]
	ldp	w4, w5, [x19]
Lloh11:
	adrp	x2, l_.str.4@PAGE
Lloh12:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_snprintf
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	sub	x0, x29, #64
	mov	x2, x21
	mov	w3, #0
	bl	_av_dict_set
	mov	x20, x0
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
Lloh17:
	adrp	x2, l_.str.7@PAGE
Lloh18:
	add	x2, x2, l_.str.7@PAGEOFF
	sub	x0, x29, #64
	mov	w3, #0
	bl	_av_dict_set
	tbnz	w20, #31, LBB0_7
; %bb.4:
	tbnz	w0, #31, LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	ldur	x0, [x29, #-72]
	add	x2, x19, #24
	sub	x1, x29, #64
	blr	x8
	mov	x20, x0
	b	LBB0_10
LBB0_6:
	mov	x20, x0
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
	bl	_av_err2str
	mov	x2, x0
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh24:
	adrp	x8, _stderr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh26:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_av_err2str
	mov	x2, x0
Lloh27:
	adrp	x1, l_.str.8@PAGE
Lloh28:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_9
LBB0_8:
	mov	x20, x0
Lloh29:
	adrp	x8, _stderr@GOTPAGE
Lloh30:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh31:
	ldr	w21, [x8]
	bl	_av_err2str
	mov	x2, x0
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_9:
	mov	x0, x21
	bl	_fprintf
LBB0_10:
	ldr	x1, [x19, #16]
Lloh34:
	adrp	x8, l_.str.11@PAGE
Lloh35:
	add	x8, x8, l_.str.11@PAGEOFF
Lloh36:
	adrp	x9, l_.str.10@PAGE
Lloh37:
	add	x9, x9, l_.str.10@PAGEOFF
	cmp	w20, #0
	csel	x2, x9, x8, lt
Lloh38:
	adrp	x0, l_.str.9@PAGE
Lloh39:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	ldur	x0, [x29, #-72]
	bl	_avformat_free_context
	sub	x0, x29, #64
	bl	_av_dict_free
	mov	sp, x22
	ldur	x8, [x29, #-56]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFFER_SIZE,4,2                ; @BUFFER_SIZE
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Muxer initialization failed: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"="

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

l_.str.3:                               ; @.str.3
	.asciz	"Failed to parse options: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"print_deinit_summary=%d:write_header_ret=%d:write_trailer_ret=%d"

l_.str.5:                               ; @.str.5
	.asciz	"format_opts"

l_.str.6:                               ; @.str.6
	.asciz	"fifo_format"

l_.str.7:                               ; @.str.7
	.asciz	"fifo_test"

l_.str.8:                               ; @.str.8
	.asciz	"Failed to set options for test muxer: %s\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s: %s\n"

l_.str.10:                              ; @.str.10
	.asciz	"fail"

l_.str.11:                              ; @.str.11
	.asciz	"ok"

	.no_dead_strip	_run_test
.subsections_via_symbols
