	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_sl_header
_read_sl_header:                        ## @read_sl_header
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_AV_INPUT_BUFFER_PADDING_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r13d
	leal	128(%r13), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leal	512(,%r13,4), %esi
	movq	%r14, %r13
	subl	(%rbx), %esi
	movl	%r15d, %edi
	callq	_FFMIN
	movl	%eax, %ebx
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_memcpy
	shll	$3, %ebx
	leaq	-52(%rbp), %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_init_get_bits
	cmpq	$0, 88(%r14)
	je	LBB0_1
## %bb.2:
	leaq	-52(%rbp), %rdi
	callq	_get_bits1
	movl	%eax, %ebx
	cmpq	$0, 80(%r13)
	je	LBB0_5
LBB0_4:
	leaq	-52(%rbp), %rdi
	callq	_get_bits1
LBB0_5:
	cmpq	$0, 88(%r13)
	jne	LBB0_7
## %bb.6:
	cmpq	$0, 80(%r13)
	movl	$1, %eax
	cmovel	%eax, %ebx
LBB0_7:
	xorl	%r14d, %r14d
	cmpl	$0, 48(%r13)
	movl	$0, %r15d
	jle	LBB0_9
## %bb.8:
	leaq	-52(%rbp), %rdi
	callq	_get_bits1
	movl	%eax, %r15d
LBB0_9:
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	cmpq	$0, 72(%r13)
	je	LBB0_11
## %bb.10:
	leaq	-52(%rbp), %rdi
	callq	_get_bits1
	movl	%eax, %r14d
LBB0_11:
	xorl	%ebx, %ebx
	movb	$1, %r12b
	cmpq	$0, 64(%r13)
	je	LBB0_14
## %bb.12:
	leaq	-52(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	leaq	-52(%rbp), %rdi
	movl	$3, %esi
	callq	_get_bits
	movl	%eax, %ebx
	xorl	%r12d, %r12d
LBB0_14:
	testl	%ebx, %ebx
	setne	%al
	testl	%r14d, %r14d
	jne	LBB0_15
## %bb.16:
	orb	%al, %r12b
	je	LBB0_15
## %bb.17:
	movl	56(%r13), %esi
	testl	%esi, %esi
	je	LBB0_19
## %bb.18:
	leaq	-52(%rbp), %rdi
	callq	_skip_bits_long
LBB0_19:
	cmpl	$0, 52(%r13)
	je	LBB0_22
## %bb.20:
	leaq	-52(%rbp), %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movl	52(%r13), %esi
	leaq	-52(%rbp), %rdi
	callq	_skip_bits
LBB0_22:
	testl	%r15d, %r15d
	je	LBB0_24
## %bb.23:
	movl	48(%r13), %esi
	leaq	-52(%rbp), %rdi
	callq	_skip_bits_long
LBB0_24:
	movl	$-1, %ebx
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_25
## %bb.26:
	cmpq	$0, 40(%r13)
	je	LBB0_28
## %bb.27:
	leaq	-52(%rbp), %rdi
	callq	_get_bits1
LBB0_28:
	movl	32(%r13), %esi
	testl	%esi, %esi
	jle	LBB0_30
## %bb.29:
	leaq	-52(%rbp), %rdi
	callq	_skip_bits_long
LBB0_30:
	cmpq	$0, 24(%r13)
	movl	$-1, %r15d
	je	LBB0_32
## %bb.31:
	leaq	-52(%rbp), %r14
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_get_bits1
	movl	%eax, %r15d
LBB0_32:
	cmpl	$0, 12(%r13)
	je	LBB0_33
LBB0_34:
	leaq	-52(%rbp), %rdi
	callq	_get_bits1
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_35
LBB0_15:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r12
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_43
LBB0_1:
	xorl	%ebx, %ebx
	cmpq	$0, 80(%r13)
	jne	LBB0_4
	jmp	LBB0_5
LBB0_25:
	movl	$-1, %r15d
	cmpl	$0, 12(%r13)
	jne	LBB0_34
LBB0_33:
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
LBB0_35:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r12
	cmpl	$1, %ebx
	jne	LBB0_37
## %bb.36:
	movl	8(%r13), %esi
	leaq	-52(%rbp), %rdi
	callq	_get_ts64
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, %r12
LBB0_37:
	cmpl	$1, %r15d
	jne	LBB0_39
## %bb.38:
	movl	8(%r13), %esi
	leaq	-52(%rbp), %rdi
	callq	_get_ts64
	movq	%rax, %r14
LBB0_39:
	movl	16(%r13), %esi
	testl	%esi, %esi
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_41
## %bb.40:
	leaq	-52(%rbp), %rdi
	callq	_skip_bits_long
LBB0_41:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_43
## %bb.42:
	movl	12(%r13), %esi
	leaq	-52(%rbp), %rdi
	callq	_skip_bits_long
LBB0_43:
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r12
	je	LBB0_45
## %bb.44:
	movq	%r12, 16(%rbx)
LBB0_45:
	cmpq	%rax, %r14
	je	LBB0_47
## %bb.46:
	movq	%r14, 8(%rbx)
LBB0_47:
	movl	8(%r13), %esi
	testl	%esi, %esi
	je	LBB0_50
## %bb.48:
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_50
## %bb.49:
	movl	(%rbx), %edi
	movl	$1, %edx
	callq	_avpriv_set_pts_info
LBB0_50:
	leaq	-52(%rbp), %rdi
	callq	_get_bits_count
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_52
## %bb.51:
	addl	$7, %eax
	sarl	$3, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_AV_INPUT_BUFFER_PADDING_SIZE,4,2 ## @AV_INPUT_BUFFER_PADDING_SIZE
	.no_dead_strip	_read_sl_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_sl_header
_read_sl_header:                        ; @read_sl_header
	.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
	sub	sp, sp, #16
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x27, _AV_NOPTS_VALUE@GOTPAGE
Lloh4:
	ldr	x27, [x27, _AV_NOPTS_VALUE@GOTPAGEOFF]
	stur	x8, [x29, #-88]
	ldr	x21, [x27]
Lloh5:
	adrp	x12, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGE
Lloh6:
	ldr	x12, [x12, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGEOFF]
	ldr	w8, [x12]
	add	w13, w8, #128
	lsl	x8, x13, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	lsl	w8, w13, #2
	ldr	w9, [x12]
	sub	w1, w8, w9
	mov	x0, x3
	bl	_FFMIN
	mov	x24, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_memcpy
	lsl	w2, w24, #3
	sub	x0, x29, #92
	mov	x1, x23
	bl	_init_get_bits
	ldr	x8, [x20, #88]
	cbz	x8, LBB0_10
; %bb.1:
	sub	x0, x29, #92
	bl	_get_bits1
	mov	x22, x0
	ldr	x8, [x20, #80]
	cbz	x8, LBB0_3
LBB0_2:
	sub	x0, x29, #92
	bl	_get_bits1
LBB0_3:
	ldr	x8, [x20, #88]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x20, #80]
	cmp	x8, #0
	csinc	w22, w22, wzr, ne
LBB0_5:
	ldr	w8, [x20, #48]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.6:
	sub	x0, x29, #92
	bl	_get_bits1
	mov	x23, x0
	ldr	x8, [x20, #72]
	cbz	x8, LBB0_12
LBB0_7:
	sub	x0, x29, #92
	bl	_get_bits1
	mov	x24, x0
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_13
LBB0_8:
	sub	x0, x29, #92
	bl	_get_bits1
	cbz	w0, LBB0_14
; %bb.9:
	sub	x0, x29, #92
	mov	w1, #3
	bl	_get_bits
	mov	w8, #0
	b	LBB0_15
LBB0_10:
	mov	w22, #0
	ldr	x8, [x20, #80]
	cbnz	x8, LBB0_2
	b	LBB0_3
LBB0_11:
	mov	w23, #0
	ldr	x8, [x20, #72]
	cbnz	x8, LBB0_7
LBB0_12:
	mov	w24, #0
	ldr	x8, [x20, #64]
	cbnz	x8, LBB0_8
LBB0_13:
	mov	w0, #0
LBB0_14:
	mov	w8, #1
LBB0_15:
	cmp	w0, #0
	cset	w9, ne
	cbnz	w24, LBB0_32
; %bb.16:
	orr	w8, w8, w9
	cbz	w8, LBB0_32
; %bb.17:
	ldr	w1, [x20, #56]
	cbz	w1, LBB0_19
; %bb.18:
	sub	x0, x29, #92
	bl	_skip_bits_long
LBB0_19:
	ldr	w8, [x20, #52]
	cbz	w8, LBB0_22
; %bb.20:
	sub	x0, x29, #92
	bl	_get_bits1
	cbz	w0, LBB0_22
; %bb.21:
	ldr	w1, [x20, #52]
	sub	x0, x29, #92
	bl	_skip_bits
LBB0_22:
	cbz	w23, LBB0_24
; %bb.23:
	ldr	w1, [x20, #48]
	sub	x0, x29, #92
	bl	_skip_bits_long
LBB0_24:
	cbz	w22, LBB0_33
; %bb.25:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_27
; %bb.26:
	sub	x0, x29, #92
	bl	_get_bits1
LBB0_27:
	ldr	w1, [x20, #32]
	cmp	w1, #1
	b.lt	LBB0_29
; %bb.28:
	sub	x0, x29, #92
	bl	_skip_bits_long
LBB0_29:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_33
; %bb.30:
	sub	x0, x29, #92
	bl	_get_bits1
	mov	x25, x0
	sub	x0, x29, #92
	bl	_get_bits1
	mov	x24, x0
	ldr	w8, [x20, #12]
	cbnz	w8, LBB0_34
LBB0_31:
	mov	w23, #0
	b	LBB0_35
LBB0_32:
	mov	x22, x21
	b	LBB0_43
LBB0_33:
	mov	w25, #-1
	mov	w24, #-1
	ldr	w8, [x20, #12]
	cbz	w8, LBB0_31
LBB0_34:
	sub	x0, x29, #92
	bl	_get_bits1
	mov	x23, x0
LBB0_35:
	mov	x22, x21
	cmp	w25, #1
	b.ne	LBB0_37
; %bb.36:
	ldr	w1, [x20, #8]
	sub	x0, x29, #92
	bl	_get_ts64
	mov	x22, x0
LBB0_37:
	cmp	w24, #1
	b.ne	LBB0_39
; %bb.38:
	ldr	w1, [x20, #8]
	sub	x0, x29, #92
	bl	_get_ts64
	mov	x21, x0
LBB0_39:
	ldr	w1, [x20, #16]
	cmp	w1, #1
	b.lt	LBB0_41
; %bb.40:
	sub	x0, x29, #92
	bl	_skip_bits_long
LBB0_41:
	cbz	w23, LBB0_43
; %bb.42:
	ldr	w1, [x20, #12]
	sub	x0, x29, #92
	bl	_skip_bits_long
LBB0_43:
	ldr	x8, [x27]
	cmp	x22, x8
	b.ne	LBB0_46
; %bb.44:
	cmp	x21, x8
	b.ne	LBB0_47
LBB0_45:
	ldr	w1, [x20, #8]
	cbnz	w1, LBB0_48
	b	LBB0_50
LBB0_46:
	str	x22, [x19, #16]
	cmp	x21, x8
	b.eq	LBB0_45
LBB0_47:
	str	x21, [x19, #8]
	ldr	w1, [x20, #8]
	cbz	w1, LBB0_50
LBB0_48:
	ldr	x3, [x20]
	cbz	x3, LBB0_50
; %bb.49:
	ldr	w0, [x19]
	mov	w2, #1
	bl	_avpriv_set_pts_info
LBB0_50:
	sub	x0, x29, #92
	bl	_get_bits_count
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_52
; %bb.51:
	add	w8, w0, #7
	asr	w0, w8, #3
	sub	sp, x29, #80
	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
LBB0_52:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_AV_INPUT_BUFFER_PADDING_SIZE,4,2 ; @AV_INPUT_BUFFER_PADDING_SIZE
	.no_dead_strip	_read_sl_header
.subsections_via_symbols
