	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skeleton_header
_skeleton_header:                       ## @skeleton_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	8(%rdi), %r13
	movq	(%r13), %r15
	movslq	%esi, %r14
	movq	(%rax,%r14,8), %rdx
	shlq	$5, %r14
	movslq	(%r15,%r14), %rbx
	shlq	$2, %rbx
	addq	24(%r15,%r14), %rbx
	movq	_AVMEDIA_TYPE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rdx), %rcx
	movl	%eax, (%rcx)
	movq	_OGG_FLAG_EOS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	8(%r15,%r14), %eax
	testl	%ecx, 4(%r15,%r14)
	je	LBB0_2
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_2
LBB0_20:
	movl	$1, %ecx
	jmp	LBB0_21
LBB0_2:
	movl	$-1, %ecx
	cmpl	$8, %eax
	jge	LBB0_3
LBB0_21:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%r14), %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.11:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_20
## %bb.12:
	cmpl	$52, (%r14)
	movl	$-1, %ecx
	jl	LBB0_21
## %bb.13:
	leaq	48(%rbx), %rdi
	callq	_AV_RL32
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_ogg_find_stream
	movl	%eax, %r14d
	addq	$144, %rbx
	movq	%rbx, %rdi
	callq	_AV_RL64
	testl	%r14d, %r14d
	js	LBB0_14
## %bb.16:
	movq	(%r13), %rcx
	movl	%r14d, %edx
	shlq	$5, %rdx
	movq	16(%rcx,%rdx), %rsi
	movq	_OGG_NOGRANULE_VALUE@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_17
## %bb.18:
	cmpq	%rsi, %rax
	je	LBB0_20
## %bb.19:
	addq	%rdx, %rcx
	addq	$16, %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_20
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$64, (%rax)
	jge	LBB0_6
## %bb.5:
	movl	$-1, %ecx
	jmp	LBB0_21
LBB0_6:
	leaq	32(%rbx), %rdi
	callq	_AV_RL16
	movl	%eax, %r13d
	leaq	40(%rbx), %rdi
	callq	_AV_RL16
	leal	-5(%r13), %ecx
	cmpl	$-3, %ecx
	ja	LBB0_8
## %bb.7:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	%r13d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_av_log
	movl	$-1, %ecx
	jmp	LBB0_21
LBB0_8:
	leaq	48(%rbx), %rdi
	callq	_AV_RL64
	movq	%rax, %r12
	addq	$80, %rbx
	movq	%rbx, %rdi
	callq	_AV_RL64
	testq	%rax, %rax
	jle	LBB0_20
## %bb.9:
	movl	$1, %ecx
	testq	%r12, %r12
	jle	LBB0_21
## %bb.10:
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	-48(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_av_reduce
	movl	-44(%rbp), %ecx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$1, %edx
	callq	_avpriv_set_pts_info
	movl	$1, %ecx
	movl	-48(%rbp), %eax
	movl	%eax, (%rbx)
	movl	%eax, 12(%r15,%r14)
	jmp	LBB0_21
LBB0_14:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_15
LBB0_17:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
LBB0_15:
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_AVMEDIA_TYPE_DATA,4,2          ## @AVMEDIA_TYPE_DATA
	.comm	_OGG_FLAG_EOS,4,2               ## @OGG_FLAG_EOS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fishead"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"Unknown skeleton version %d.%d\n"

	.comm	_INT_MAX,4,2                    ## @INT_MAX
L_.str.2:                               ## @.str.2
	.asciz	"fisbone"

L_.str.3:                               ## @.str.3
	.asciz	"Serial number in fisbone doesn't match any stream\n"

	.comm	_OGG_NOGRANULE_VALUE,8,3        ## @OGG_NOGRANULE_VALUE
L_.str.4:                               ## @.str.4
	.asciz	"Multiple fisbone for the same stream\n"

	.no_dead_strip	_skeleton_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skeleton_header
_skeleton_header:                       ; @skeleton_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldp	x8, x21, [x0]
	ldr	x23, [x21]
	ldr	x20, [x8, w1, sxtw #3]
	sxtw	x24, w1
	add	x25, x23, x24, lsl #5
	ldr	x8, [x25, #24]
	ldrsw	x9, [x25]
Lloh0:
	adrp	x10, _AVMEDIA_TYPE_DATA@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AVMEDIA_TYPE_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	ldr	x11, [x20, #8]
	str	w10, [x11]
	ldr	w10, [x25, #8]!
	ldur	w11, [x25, #-4]
Lloh3:
	adrp	x12, _OGG_FLAG_EOS@GOTPAGE
Lloh4:
	ldr	x12, [x12, _OGG_FLAG_EOS@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	and	w11, w12, w11
	cmp	w11, #0
	ccmp	w10, #0, #0, ne
	b.eq	LBB0_5
; %bb.1:
	cmp	w10, #8
	b.ge	LBB0_3
LBB0_2:
	mov	w19, #-1
	b	LBB0_6
LBB0_3:
	mov	x19, x0
	add	x22, x8, x9, lsl #2
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	w2, #8
	bl	_strncmp
	cbz	w0, LBB0_7
; %bb.4:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	w2, #8
	bl	_strncmp
	cbz	w0, LBB0_10
LBB0_5:
	mov	w19, #1
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	ldr	w8, [x25]
	cmp	w8, #64
	b.lt	LBB0_2
; %bb.8:
	add	x0, x22, #32
	bl	_AV_RL16
	mov	x21, x0
	add	x0, x22, #40
	bl	_AV_RL16
                                        ; kill: def $w0 killed $w0 def $x0
	sub	w8, w21, #5
	cmn	w8, #3
	b.hi	LBB0_15
; %bb.9:
Lloh10:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	stp	x21, x0, [sp]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w19, #-1
	b	LBB0_6
LBB0_10:
	ldr	w8, [x25]
	cmp	w8, #52
	b.lt	LBB0_2
; %bb.11:
	add	x0, x22, #48
	bl	_AV_RL32
	mov	x1, x0
	mov	x0, x21
	bl	_ogg_find_stream
	mov	x20, x0
	add	x0, x22, #144
	bl	_AV_RL64
	tbnz	w20, #31, LBB0_17
; %bb.12:
	ldr	x8, [x21]
	mov	w9, w20
	add	x8, x8, x9, lsl #5
	ldr	x9, [x8, #16]!
Lloh15:
	adrp	x10, _OGG_NOGRANULE_VALUE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _OGG_NOGRANULE_VALUE@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_18
; %bb.13:
	cmp	x0, x9
	b.eq	LBB0_5
; %bb.14:
	str	x0, [x8]
	b	LBB0_5
LBB0_15:
	add	x0, x22, #48
	bl	_AV_RL64
	mov	x19, x0
	add	x0, x22, #80
	bl	_AV_RL64
	cmp	x0, #1
	ccmp	x19, #1, #8, ge
	b.lt	LBB0_5
; %bb.16:
	mov	x3, x0
Lloh18:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	add	x0, sp, #28
	add	x1, sp, #24
	mov	x2, x19
	bl	_av_reduce
	ldr	w3, [sp, #24]
	mov	w19, #1
	mov	x0, x20
	mov	w1, #64
	mov	w2, #1
	bl	_avpriv_set_pts_info
	ldr	w8, [sp, #28]
	str	w8, [x20]
	add	x9, x23, x24, lsl #5
	str	w8, [x9, #12]
	b	LBB0_6
LBB0_17:
Lloh21:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, l_.str.3@PAGE
Lloh25:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh26:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x2, l_.str.4@PAGE
Lloh30:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_19:
	mov	x0, x19
	bl	_av_log
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_AVMEDIA_TYPE_DATA,4,2          ; @AVMEDIA_TYPE_DATA
	.comm	_OGG_FLAG_EOS,4,2               ; @OGG_FLAG_EOS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fishead"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"Unknown skeleton version %d.%d\n"

	.comm	_INT_MAX,4,2                    ; @INT_MAX
l_.str.2:                               ; @.str.2
	.asciz	"fisbone"

l_.str.3:                               ; @.str.3
	.asciz	"Serial number in fisbone doesn't match any stream\n"

	.comm	_OGG_NOGRANULE_VALUE,8,3        ; @OGG_NOGRANULE_VALUE
l_.str.4:                               ; @.str.4
	.asciz	"Multiple fisbone for the same stream\n"

	.no_dead_strip	_skeleton_header
.subsections_via_symbols
