	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_stream_mux_config
_read_stream_mux_config:                ## @read_stream_mux_config
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movl	$1, %esi
	callq	_get_bits
	movl	%eax, %r14d
	movl	$0, (%r15)
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_get_bits
	movl	%eax, (%r15)
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	movq	%r12, %rdi
	callq	_latm_get_value
LBB0_3:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_skip_bits
	movq	%r12, %rdi
	movl	$6, %esi
	callq	_skip_bits
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_get_bits
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	12(%r15), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_5:
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_get_bits
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movl	12(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	callq	_avpriv_request_sample
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.11:
	movq	%r12, %rdi
	callq	_latm_get_value
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	jmp	LBB0_12
LBB0_14:
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
LBB0_12:
	callq	_latm_decode_audio_specific_config
	testl	%eax, %eax
	js	LBB0_13
## %bb.15:
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_get_bits
	movl	%eax, 4(%r15)
	cmpl	$7, %eax
	ja	LBB0_21
## %bb.16:
	movl	%eax, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	movq	%r12, %rdi
	movl	$6, %esi
	jmp	LBB0_20
LBB0_13:
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_18:
	movq	%r12, %rdi
	movl	$1, %esi
	jmp	LBB0_20
LBB0_19:
	movq	%r12, %rdi
	movl	$8, %esi
LBB0_20:
	callq	_skip_bits
LBB0_21:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_get_bits
	testl	%eax, %eax
	je	LBB0_24
## %bb.22:
	testl	%r14d, %r14d
	je	LBB0_27
## %bb.23:
	movq	%r12, %rdi
	callq	_latm_get_value
LBB0_24:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_get_bits
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_9
## %bb.25:
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_skip_bits
	jmp	LBB0_9
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_get_bits
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_skip_bits
	testl	%ebx, %ebx
	je	LBB0_24
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_get_bits_left
	cmpl	$8, %eax
	jg	LBB0_26
## %bb.28:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_29:
	movq	%r12, %rdi
	movl	$9, %esi
	callq	_get_bits
	movl	%eax, 8(%r15)
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_29
	.long	L0_0_set_21
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Multiple programs"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
L_.str.1:                               ## @.str.1
	.asciz	"Multiple layers"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_read_stream_mux_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_stream_mux_config
_read_stream_mux_config:                ; @read_stream_mux_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	mov	w1, #1
	bl	_get_bits
	mov	x20, x0
	str	wzr, [x21]
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_get_bits
	str	w0, [x21]
	cbz	w0, LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_10
LBB0_3:
	mov	x0, x19
	bl	_latm_get_value
LBB0_4:
	mov	x0, x19
	mov	w1, #1
	bl	_skip_bits
	mov	x0, x19
	mov	w1, #6
	bl	_skip_bits
	mov	x0, x19
	mov	w1, #4
	bl	_get_bits
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x21, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	mov	w1, #3
	bl	_get_bits
	cbz	w0, LBB0_11
; %bb.7:
	ldr	w0, [x21, #12]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	bl	_avpriv_request_sample
Lloh4:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	cbz	w20, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_latm_get_value
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_latm_decode_audio_specific_config
	tbz	w0, #31, LBB0_14
	b	LBB0_10
LBB0_13:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_latm_decode_audio_specific_config
	tbnz	w0, #31, LBB0_10
LBB0_14:
	mov	x0, x19
	mov	w1, #3
	bl	_get_bits
	str	w0, [x21, #4]
	cmp	w0, #7
	b.hi	LBB0_20
; %bb.15:
	mov	w8, w0
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
	mov	x0, x19
	mov	w1, #6
	b	LBB0_19
LBB0_17:
	mov	x0, x19
	mov	w1, #1
	b	LBB0_19
LBB0_18:
	mov	x0, x19
	mov	w1, #8
LBB0_19:
	bl	_skip_bits
LBB0_20:
	mov	x0, x19
	mov	w1, #1
	bl	_get_bits
	cbz	w0, LBB0_23
; %bb.21:
	cbz	w20, LBB0_26
; %bb.22:
	mov	x0, x19
	bl	_latm_get_value
LBB0_23:
	mov	x0, x19
	mov	w1, #1
	bl	_get_bits
	cbz	w0, LBB0_10
; %bb.24:
	mov	x0, x19
	mov	w1, #8
	bl	_skip_bits
	b	LBB0_2
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x19
	mov	w1, #1
	bl	_get_bits
	mov	x20, x0
	mov	x0, x19
	mov	w1, #8
	bl	_skip_bits
	cbz	w20, LBB0_23
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_get_bits_left
	cmp	w0, #8
	b.gt	LBB0_25
; %bb.27:
Lloh8:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
	b	LBB0_9
LBB0_28:
	mov	x0, x19
	mov	w1, #9
	bl	_get_bits
	str	w0, [x21, #8]
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_16)>>2
	.byte	(LBB0_28-LBB0_16)>>2
	.byte	(LBB0_20-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Multiple programs"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
l_.str.1:                               ; @.str.1
	.asciz	"Multiple layers"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_read_stream_mux_config
.subsections_via_symbols
