	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_read_timecode_track
_mov_read_timecode_track:               ## @mov_read_timecode_track
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	16(%rsi), %r12
	movl	4(%r12), %edi
	callq	_avio_tell
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movl	4(%r12), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_avio_seek
	movl	(%r15), %edi
	callq	_avio_rb32
	movl	(%r12), %ecx
	movl	%ecx, %edx
	andl	$1, %edx
	negl	%edx
	movq	_AV_TIMECODE_FLAG_DROPFRAME@GOTPCREL(%rip), %rsi
	andl	(%rsi), %edx
	movl	%ecx, %esi
	shll	$30, %esi
	sarl	$31, %esi
	movq	_AV_TIMECODE_FLAG_24HOURSMAX@GOTPCREL(%rip), %rdi
	andl	(%rdi), %esi
	orl	%edx, %esi
	shll	$29, %ecx
	sarl	$31, %ecx
	movq	_AV_TIMECODE_FLAG_ALLOWNEGATIVE@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	orl	%esi, %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_parse_timecode_in_framenum_format
	movl	4(%r12), %edi
	movl	(%r13), %edx
	movl	%r14d, %esi
	callq	_avio_seek
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_AV_TIMECODE_FLAG_DROPFRAME,4,2 ## @AV_TIMECODE_FLAG_DROPFRAME
	.comm	_AV_TIMECODE_FLAG_24HOURSMAX,4,2 ## @AV_TIMECODE_FLAG_24HOURSMAX
	.comm	_AV_TIMECODE_FLAG_ALLOWNEGATIVE,4,2 ## @AV_TIMECODE_FLAG_ALLOWNEGATIVE
	.no_dead_strip	_mov_read_timecode_track
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_read_timecode_track
_mov_read_timecode_track:               ; @mov_read_timecode_track
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x1, #16]
	ldr	w0, [x22, #4]
	bl	_avio_tell
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w0, [x22, #4]
	ldr	x8, [x20]
	ldr	w1, [x8]
Lloh0:
	adrp	x23, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_avio_seek
	ldr	w0, [x21]
	bl	_avio_rb32
	mov	x2, x0
	ldr	w8, [x22]
	sbfx	w9, w8, #0, #1
Lloh2:
	adrp	x10, _AV_TIMECODE_FLAG_DROPFRAME@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AV_TIMECODE_FLAG_DROPFRAME@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	and	w9, w9, w10
	lsl	w10, w8, #30
Lloh5:
	adrp	x11, _AV_TIMECODE_FLAG_24HOURSMAX@GOTPAGE
Lloh6:
	ldr	x11, [x11, _AV_TIMECODE_FLAG_24HOURSMAX@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	and	w10, w11, w10, asr #31
	orr	w9, w9, w10
	lsl	w8, w8, #29
Lloh8:
	adrp	x10, _AV_TIMECODE_FLAG_ALLOWNEGATIVE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _AV_TIMECODE_FLAG_ALLOWNEGATIVE@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	and	w8, w10, w8, asr #31
	orr	w3, w9, w8
	mov	x0, x21
	mov	x1, x20
	bl	_parse_timecode_in_framenum_format
	ldr	w0, [x22, #4]
	ldr	w2, [x23]
	mov	x1, x19
	bl	_avio_seek
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_AV_TIMECODE_FLAG_DROPFRAME,4,2 ; @AV_TIMECODE_FLAG_DROPFRAME
	.comm	_AV_TIMECODE_FLAG_24HOURSMAX,4,2 ; @AV_TIMECODE_FLAG_24HOURSMAX
	.comm	_AV_TIMECODE_FLAG_ALLOWNEGATIVE,4,2 ; @AV_TIMECODE_FLAG_ALLOWNEGATIVE
	.no_dead_strip	_mov_read_timecode_track
.subsections_via_symbols
