	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bitstream_switching
_bitstream_switching:                   ## @bitstream_switching
	.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	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rsi), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	8(%rax), %edi
	movq	_TRACK_NUMBER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	cmpl	$2, 8(%r13)
	jl	LBB0_10
## %bb.2:
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	(%r13), %rcx
	movq	(%rcx), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	8(%rax), %edi
	movl	(%r15), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	(%r13), %rcx
	movq	8(%rcx), %rcx
	shlq	$3, %rcx
	addq	(%r14), %rcx
	movl	$2, %r15d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r12
	movq	(%rcx), %rcx
	movq	(%rcx), %r14
	movl	(%rbx), %ebx
	movl	(%rax), %r13d
	movl	%ebx, %edi
	callq	_strlen
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rcx), %rdx
	cmpq	8(%r14), %rdx
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%rcx), %edi
	movl	16(%r14), %esi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	8(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movq	(%rcx,%r15,8), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	8(%rax), %edi
	movq	_TRACK_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	movq	(%r13), %rcx
	movq	(%rcx,%r15,8), %rcx
	shlq	$3, %rcx
	addq	(%r14), %rcx
	incq	%r15
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_4
	jmp	LBB0_12
LBB0_10:
	movl	$1, %r12d
	jmp	LBB0_12
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRACK_NUMBER,4,2               ## @TRACK_NUMBER
	.no_dead_strip	_bitstream_switching
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bitstream_switching
_bitstream_switching:                   ; @bitstream_switching
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x9, [x1]
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8, #8]
Lloh0:
	adrp	x24, _TRACK_NUMBER@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TRACK_NUMBER@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_12
; %bb.1:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.2:
	mov	x21, x0
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldp	x10, x9, [x9]
	ldr	x10, [x8, x10, lsl #3]
	ldr	x25, [x10]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8, #8]
	ldr	w1, [x24]
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_12
; %bb.3:
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldr	x9, [x9, #8]
	add	x8, x8, x9, lsl #3
	mov	w26, #2
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	ldr	x27, [x8]
	ldr	w22, [x21]
	ldr	w23, [x0]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_strncmp
	cbnz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x25, #8]
	ldr	x8, [x27, #8]
	cmp	x2, x8
	b.ne	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25, #16]
	ldr	w1, [x27, #16]
	bl	_memcmp
	cbnz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x19, #8]
	cmp	x26, x8
	b.ge	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x19]
	lsl	x22, x26, #3
	ldr	x9, [x9, x22]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8, #8]
	ldr	w1, [x24]
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldr	x9, [x9, x22]
	add	x8, x8, x9, lsl #3
	add	x26, x26, #1
	cbnz	x0, LBB0_4
	b	LBB0_12
LBB0_10:
	mov	w0, #1
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACK_NUMBER,4,2               ; @TRACK_NUMBER
	.no_dead_strip	_bitstream_switching
.subsections_via_symbols
