	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_stream
_init_stream:                           ## @init_stream
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	xorl	%esi, %esi
	callq	_avformat_new_stream
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	8(%rbx), %rax
	movq	$0, 16(%rax)
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	cmpl	$0, 12(%r14)
	jne	LBB0_3
## %bb.2:
	movabsq	$1717986919040, %rcx            ## imm = 0x19000000280
	movq	%rcx, (%rax)
LBB0_3:
	movl	4(%r14), %ecx
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	movl	$60, %esi
	callq	_avpriv_set_pts_info
	movl	(%rbx), %edi
	callq	_av_q2d
	imull	(%r14), %eax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_av_clip
	movl	%eax, (%r14)
LBB0_4:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ## @AVMEDIA_TYPE_VIDEO
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_init_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function init_stream
lCPI0_0:
	.long	640                             ; 0x280
	.long	400                             ; 0x190
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_init_stream:                           ; @init_stream
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0]
	mov	x1, #0
	bl	_avformat_new_stream
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	str	xzr, [x8, #16]
Lloh0:
	adrp	x9, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x8, #8]
	ldr	w9, [x20, #12]
	cbnz	w9, LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
LBB0_3:
	ldp	w3, w2, [x20, #4]
	mov	x0, x19
	mov	w1, #60
	bl	_avpriv_set_pts_info
	ldr	w0, [x19]
	bl	_av_q2d
	ldr	w8, [x20]
	mul	w0, w8, w0
Lloh5:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_av_clip
	str	w0, [x20]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ; @AVMEDIA_TYPE_VIDEO
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_init_stream
.subsections_via_symbols
