	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_read_glbl
_mov_read_glbl:                         ## @mov_read_glbl
	.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), %rcx
	movl	(%rcx), %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_14
## %bb.1:
	movq	%rdx, %r12
	cmpl	$1073741825, %r12d              ## imm = 0x40000001
	jl	LBB0_3
## %bb.2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rcx), %rcx
	decl	%eax
	movq	(%rcx,%rax,8), %r13
	cmpl	$10, %r12d
	jl	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_avio_rb32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_avio_rl32
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$-8, %esi
	callq	_avio_seek
	movl	$102, %edi
	movl	$105, %esi
	movl	$101, %edx
	movl	$108, %ecx
	callq	_MKTAG
	cmpl	%eax, %r13d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_6
## %bb.5:
	cmpl	%r12d, -44(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.15:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mov_read_default               ## TAILCALL
LBB0_6:
	movq	(%r13), %rdi
	cmpl	$2, (%rdi)
	jl	LBB0_9
## %bb.7:
	cmpq	$0, 16(%rdi)
	je	LBB0_9
## %bb.8:
	movq	(%rbx), %rdi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	jmp	LBB0_14
LBB0_9:
	addq	$16, %rdi
	callq	_av_freep
	movq	(%rbx), %rdi
	movq	(%r13), %rsi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_ff_get_extradata
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	shrq	$32, %r12
	movl	$104, %edi
	movl	$118, %esi
	movl	$99, %edx
	movl	$67, %ecx
	callq	_MKTAG
	cmpl	%r12d, %eax
	jne	LBB0_14
## %bb.12:
	movq	(%r13), %rax
	movl	4(%rax), %ebx
	movl	$100, %edi
	movl	$118, %esi
	movl	$104, %edx
	movl	$49, %ecx
	callq	_MKTAG
	cmpl	%eax, %ebx
	jne	LBB0_14
## %bb.13:
	movq	_AV_CODEC_ID_HEVC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r13), %rcx
	movl	%eax, 8(%rcx)
	jmp	LBB0_14
LBB0_10:
	movl	%eax, %r14d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignoring multiple glbl\n"

	.comm	_AV_CODEC_ID_HEVC,4,2           ## @AV_CODEC_ID_HEVC
	.no_dead_strip	_mov_read_glbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_read_glbl
_mov_read_glbl:                         ; @mov_read_glbl
	.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
	ldr	x8, [x0]
	ldr	w9, [x8]
	subs	w9, w9, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x19, x2
	mov	w10, #1
	movk	w10, #16384, lsl #16
	cmp	w19, w10
	b.lt	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_3:
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x8, #8]
	ldr	x24, [x8, w9, uxtw #3]
	cmp	w19, #10
	b.lt	LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_avio_rb32
	mov	x22, x0
	mov	x0, x20
	bl	_avio_rl32
	mov	x23, x0
Lloh3:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #-8
	bl	_avio_seek
	mov	w0, #102
	mov	w1, #105
	mov	w2, #101
	mov	w3, #108
	bl	_MKTAG
	cmp	w23, w0
	b.ne	LBB0_7
; %bb.5:
	cmp	w22, w19
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_mov_read_default
LBB0_7:
	ldr	x8, [x24]
	ldr	w9, [x8]
	cmp	w9, #2
	b.lt	LBB0_10
; %bb.8:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_10
; %bb.9:
	ldr	x0, [x21]
Lloh6:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	b	LBB0_14
LBB0_10:
	add	x0, x8, #16
	bl	_av_freep
	ldr	x0, [x21]
	ldr	x1, [x24]
	mov	x2, x20
	mov	x3, x19
	bl	_ff_get_extradata
	tbnz	w0, #31, LBB0_15
; %bb.11:
	lsr	x19, x19, #32
	mov	w0, #104
	mov	w1, #118
	mov	w2, #99
	mov	w3, #67
	bl	_MKTAG
	cmp	w0, w19
	b.ne	LBB0_14
; %bb.12:
	ldr	x8, [x24]
	ldr	w19, [x8, #4]
	mov	w0, #100
	mov	w1, #118
	mov	w2, #104
	mov	w3, #49
	bl	_MKTAG
	cmp	w19, w0
	b.ne	LBB0_14
; %bb.13:
	mov	w0, #0
Lloh11:
	adrp	x8, _AV_CODEC_ID_HEVC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_CODEC_ID_HEVC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [x24]
	str	w8, [x9, #8]
	b	LBB0_15
LBB0_14:
	mov	w0, #0
LBB0_15:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignoring multiple glbl\n"

	.comm	_AV_CODEC_ID_HEVC,4,2           ; @AV_CODEC_ID_HEVC
	.no_dead_strip	_mov_read_glbl
.subsections_via_symbols
