	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function old_dirac_header
_old_dirac_header:                      ## @old_dirac_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rbx
	movslq	8(%rax,%rdx), %rdx
	xorl	%eax, %eax
	cmpb	$75, (%rbx,%rdx)
	jne	LBB0_2
## %bb.1:
	addq	%rdx, %rbx
	movq	(%rdi), %rax
	movq	(%rax,%rcx,8), %r14
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movl	%eax, 4(%rcx)
	movq	_AV_CODEC_ID_DIRAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	leaq	12(%rbx), %rdi
	callq	_AV_RB32
	movl	%eax, %r15d
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_AV_RB32
	movq	%r14, %rdi
	movl	$64, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_avpriv_set_pts_info
	movl	$1, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_DIRAC,4,2          ## @AV_CODEC_ID_DIRAC
	.no_dead_strip	_old_dirac_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function old_dirac_header
_old_dirac_header:                      ; @old_dirac_header
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	add	x8, x8, w1, sxtw #4
	ldr	x9, [x8]
	ldrsw	x8, [x8, #8]
	add	x21, x9, x8
	ldrb	w8, [x21]
	cmp	w8, #75
	b.ne	LBB0_2
; %bb.1:
	sxtw	x8, w1
	ldr	x9, [x0]
	ldr	x19, [x9, x8, lsl #3]
Lloh0:
	adrp	x8, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x19]
Lloh3:
	adrp	x10, _AV_CODEC_ID_DIRAC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AV_CODEC_ID_DIRAC@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	stp	w10, w8, [x9]
	add	x0, x21, #12
	bl	_AV_RB32
	mov	x20, x0
	add	x0, x21, #8
	bl	_AV_RB32
	mov	x3, x0
	mov	x0, x19
	mov	w1, #64
	mov	x2, x20
	bl	_avpriv_set_pts_info
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_DIRAC,4,2          ; @AV_CODEC_ID_DIRAC
	.no_dead_strip	_old_dirac_header
.subsections_via_symbols
