	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_img_read_header             ## -- Begin function ff_img_read_header
	.p2align	4, 0x90
_ff_img_read_header:                    ## @ff_img_read_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	56(%rdi), %r12
	movl	$1, -52(%rbp)
	movl	$1, -48(%rbp)
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movq	_AVFMTCTX_NOHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 48(%rdi)
	xorl	%esi, %esi
	callq	_avformat_new_stream
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	104(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	callq	_av_get_pix_fmt
	movl	%eax, %r14d
	cmpl	(%r13), %eax
	jne	LBB0_6
## %bb.5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	104(%r12), %rcx
	leaq	L_.str(%rip), %rdx
LBB0_44:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	(%r12), %rdi
	movl	32(%rbx), %esi
	movl	$8, %edx
	callq	_av_strlcpy
	movl	$0, 8(%r12)
	movq	$0, 96(%r12)
	movq	40(%rbx), %rcx
	movq	_AVFMT_NOFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	jne	LBB0_8
## %bb.7:
	movq	_AVSTREAM_PARSE_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movl	$1, %eax
LBB0_8:
	movl	%eax, 12(%r12)
	movl	16(%r12), %eax
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	cmpl	$2, %eax
	jne	LBB0_12
## %bb.10:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_11:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_13:
	movl	88(%r12), %edx
	movl	92(%r12), %ecx
	movq	%r15, %rdi
	movl	$64, %esi
	jmp	LBB0_14
LBB0_12:
	movq	%r15, %rdi
	movl	$64, %esi
	movl	$1, %edx
	movl	$1, %ecx
LBB0_14:
	callq	_avpriv_set_pts_info
	movq	80(%r12), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	72(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.16:
	movq	8(%r15), %rdx
	movq	%rax, 32(%rdx)
	movq	%rcx, 24(%rdx)
LBB0_17:
	cmpl	$0, 12(%r12)
	je	LBB0_18
LBB0_36:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_45
LBB0_37:
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rcx
	jmp	LBB0_38
LBB0_18:
	movq	40(%r12), %rax
	movq	_PT_DEFAULT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.19:
	cmpq	$0, 24(%rbx)
	jne	LBB0_20
## %bb.21:
	movq	_PT_GLOB_SEQUENCE@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_45:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rcx
LBB0_38:
	movq	(%rcx), %rdx
	movq	8(%r15), %rcx
	movq	%rdx, (%rcx)
LBB0_76:
	movq	%rax, 8(%rcx)
LBB0_77:
	movq	(%rcx), %rsi
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rsi
	jne	LBB0_80
## %bb.78:
	cmpl	(%r13), %r14d
	je	LBB0_80
## %bb.79:
	movl	%r14d, 16(%rcx)
LBB0_80:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_47:
	movq	40(%rbx), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_37
## %bb.48:
	movq	(%r12), %rdi
	movl	$46, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_49
## %bb.50:
	incq	%rax
	leaq	L_.str.6(%rip), %rsi
	movq	%rax, %rdi
	callq	_av_strcasecmp
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	jmp	LBB0_51
LBB0_20:
	movq	_PT_NONE@GOTPCREL(%rip), %rax
LBB0_22:
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
LBB0_23:
	movq	_PT_GLOB_SEQUENCE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_26
## %bb.24:
	movq	(%r12), %rdi
	callq	_is_glob
	movl	%eax, 20(%r12)
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_26:
	movq	40(%r12), %rcx
	movq	(%r13), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_31
## %bb.27:
	cmpl	$0, 20(%r12)
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %r13
	je	LBB0_32
## %bb.28:
	movq	_PT_SEQUENCE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_32
LBB0_29:
	movq	_PT_GLOB@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_40
## %bb.30:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_11
LBB0_31:
	movq	_PT_SEQUENCE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %r13
	jne	LBB0_29
LBB0_32:
	movq	24(%rbx), %rdi
	movq	64(%r12), %r8
	movq	(%r12), %rcx
	movq	56(%r12), %r9
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_find_image_range
	testq	%rax, %rax
	js	LBB0_39
## %bb.33:
	movl	-52(%rbp), %edx
	movl	-48(%rbp), %eax
LBB0_34:
	movl	%edx, 24(%r12)
	movl	%eax, 28(%r12)
	movl	%edx, 8(%r12)
	cmpl	$0, 16(%r12)
	jne	LBB0_36
## %bb.35:
	movq	$0, 16(%r15)
	subl	%edx, %eax
	incl	%eax
	movl	%eax, (%r15)
	jmp	LBB0_36
LBB0_40:
	movl	$1, %eax
	cmpq	%rdx, %rcx
	je	LBB0_41
## %bb.42:
	movq	_PT_NONE@GOTPCREL(%rip), %rsi
	movl	$1, %edx
	cmpq	(%rsi), %rcx
	je	LBB0_34
## %bb.43:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_44
LBB0_39:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	64(%r12), %r8
	movq	(%r12), %rcx
	movq	56(%r12), %rax
	leaq	(%r8,%rax), %r9
	decq	%r9
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_ENOENT@GOTPCREL(%rip), %rax
LBB0_54:
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_80
LBB0_41:
	movl	$1, %edx
	jmp	LBB0_34
LBB0_49:
	xorl	%ecx, %ecx
LBB0_51:
	movl	%ecx, 32(%r12)
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r15), %rcx
	movq	%rax, (%rcx)
	cmpq	$0, 24(%rbx)
	je	LBB0_70
## %bb.52:
	movq	_AVPROBE_PADDING_SIZE@GOTPCREL(%rip), %rax
	movl	$2048, %esi                     ## imm = 0x800
	addq	(%rax), %rsi
	xorl	%edi, %edi
	callq	_av_realloc
	movq	%rax, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_53
## %bb.55:
	movq	%rax, %r13
	movq	24(%rbx), %rdi
	movq	%rax, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_avio_read
	testl	%eax, %eax
	js	LBB0_56
## %bb.57:
	movl	%eax, %ecx
	movq	%r13, %rdi
	addq	%rcx, %rdi
	movq	_AVPROBE_PADDING_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%esi, %esi
	callq	_memset
	movq	%r13, -96(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -88(%rbp)
	movl	32(%rbx), %eax
	movl	%eax, -84(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_av_demuxer_iterate
	testq	%rax, %rax
	je	LBB0_66
## %bb.58:
	movq	%rax, %r13
	jmp	LBB0_59
LBB0_63:                                ##   in Loop: Header=BB0_59 Depth=1
	leaq	-64(%rbp), %rdi
	callq	_av_demuxer_iterate
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_66
LBB0_59:                                ## =>This Inner Loop Header: Depth=1
	leaq	_ff_img_read_header(%rip), %rax
	cmpq	%rax, (%r13)
	jne	LBB0_63
## %bb.60:                              ##   in Loop: Header=BB0_59 Depth=1
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_63
## %bb.61:                              ##   in Loop: Header=BB0_59 Depth=1
	movq	_AVFMT_NOFILE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 16(%r13)
	jne	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_59 Depth=1
	cmpq	$0, 24(%r13)
	je	LBB0_63
## %bb.64:                              ##   in Loop: Header=BB0_59 Depth=1
	leaq	-96(%rbp), %rdi
	callq	*%rax
	testq	%rax, %rax
	jle	LBB0_63
## %bb.65:
	movq	24(%r13), %rax
	movq	8(%r15), %rcx
	movq	%rax, 8(%rcx)
LBB0_66:
	movq	_AVFMT_FLAG_CUSTOM_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%rbx), %rdi
	testl	%eax, 16(%rbx)
	je	LBB0_68
## %bb.67:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_avio_seek
	leaq	-72(%rbp), %rdi
	callq	_av_freep
	jmp	LBB0_69
LBB0_53:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_54
LBB0_56:
	movq	%r13, %rdi
	movl	%eax, %ebx
	callq	_av_free
	movl	%ebx, %eax
	jmp	LBB0_80
LBB0_68:
	leaq	-72(%rbp), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ffio_rewind_with_probe_data
LBB0_69:
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %r13
	movq	8(%r15), %rcx
LBB0_70:
	movq	8(%rcx), %rax
	movq	_AV_CODEC_ID_NONE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_72
## %bb.71:
	movq	(%r12), %rdi
	callq	_ff_guess_image2_codec
	movq	8(%r15), %rcx
	movq	%rax, 8(%rcx)
LBB0_72:
	movq	_AV_CODEC_ID_LJPEG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_74
## %bb.73:
	movq	_AV_CODEC_ID_MJPEG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rcx)
LBB0_74:
	movq	_AV_CODEC_ID_ALIAS_PIX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_77
## %bb.75:
	movq	(%rbx), %rax
	jmp	LBB0_76
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
	.comm	_AVFMTCTX_NOHEADER,4,2          ## @AVFMTCTX_NOHEADER
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No such pixel format: %s.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AVFMT_NOFILE,4,2               ## @AVFMT_NOFILE
	.comm	_AVSTREAM_PARSE_FULL,4,2        ## @AVSTREAM_PARSE_FULL
L_.str.1:                               ## @.str.1
	.asciz	"POSIX.1-2008 not supported, nanosecond file timestamps unavailable\n"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_PT_DEFAULT,8,3                 ## @PT_DEFAULT
	.comm	_PT_NONE,8,3                    ## @PT_NONE
	.comm	_PT_GLOB_SEQUENCE,8,3           ## @PT_GLOB_SEQUENCE
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"Pattern type 'glob_sequence' is deprecated: use pattern_type 'glob' instead\n"

	.comm	_PT_SEQUENCE,8,3                ## @PT_SEQUENCE
L_.str.3:                               ## @.str.3
	.asciz	"Could find no file with path '%s' and index in the range %d-%d\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_PT_GLOB,8,3                    ## @PT_GLOB
L_.str.4:                               ## @.str.4
	.asciz	"Pattern type 'glob' was selected but globbing is not supported by this libavformat build\n"

L_.str.5:                               ## @.str.5
	.asciz	"Unknown value '%d' for pattern_type option\n"

	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ## @AVMEDIA_TYPE_AUDIO
L_.str.6:                               ## @.str.6
	.asciz	"y"

	.comm	_AVPROBE_PADDING_SIZE,8,3       ## @AVPROBE_PADDING_SIZE
	.comm	_AVFMT_FLAG_CUSTOM_IO,4,2       ## @AVFMT_FLAG_CUSTOM_IO
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_AV_CODEC_ID_NONE,8,3           ## @AV_CODEC_ID_NONE
	.comm	_AV_CODEC_ID_LJPEG,8,3          ## @AV_CODEC_ID_LJPEG
	.comm	_AV_CODEC_ID_MJPEG,8,3          ## @AV_CODEC_ID_MJPEG
	.comm	_AV_CODEC_ID_ALIAS_PIX,8,3      ## @AV_CODEC_ID_ALIAS_PIX
	.comm	_GLOB_BRACE,4,2                 ## @GLOB_BRACE
	.comm	_GLOB_NOCHECK,4,2               ## @GLOB_NOCHECK
	.comm	_GLOB_NOMAGIC,4,2               ## @GLOB_NOMAGIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_img_read_header             ; -- Begin function ff_img_read_header
	.p2align	2
_ff_img_read_header:                    ; @ff_img_read_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	ldr	x25, [x0, #56]
	mov	w8, #1
	stp	w8, w8, [sp, #72]
Lloh0:
	adrp	x24, _AV_PIX_FMT_NONE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AV_PIX_FMT_NONE@GOTPAGEOFF]
	ldr	w19, [x24]
Lloh2:
	adrp	x8, _AVFMTCTX_NOHEADER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVFMTCTX_NOHEADER@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x0, #48]
	orr	w8, w9, w8
	str	w8, [x0, #48]
	mov	x1, #0
	bl	_avformat_new_stream
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	x0, [x25, #104]
	cbz	x0, LBB0_5
; %bb.2:
	bl	_av_get_pix_fmt
	mov	x19, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	x8, [x25, #104]
	str	x8, [sp]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x21
	bl	_av_log
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
	ldr	x0, [x25]
	ldr	w1, [x21, #32]
	mov	w2, #8
	bl	_av_strlcpy
	mov	w8, #0
	str	wzr, [x25, #8]
	str	xzr, [x25, #96]
	ldr	x9, [x21, #40]
	ldr	w9, [x9]
Lloh12:
	adrp	x26, _AVFMT_NOFILE@GOTPAGE
Lloh13:
	ldr	x26, [x26, _AVFMT_NOFILE@GOTPAGEOFF]
	ldr	w10, [x26]
	tst	w10, w9
	b.ne	LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _AVSTREAM_PARSE_FULL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AVSTREAM_PARSE_FULL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	mov	w8, #1
LBB0_7:
	str	w8, [x25, #12]
	ldr	w8, [x25, #16]
	cbz	w8, LBB0_13
; %bb.8:
	cmp	w8, #2
	b.ne	LBB0_14
; %bb.9:
Lloh17:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_10:
	mov	x0, x21
	bl	_av_log
Lloh22:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_AVERROR
LBB0_13:
	ldp	w2, w3, [x25, #88]
	mov	x0, x20
	mov	w1, #64
	b	LBB0_15
LBB0_14:
	mov	x0, x20
	mov	w1, #64
	mov	w2, #1
	mov	w3, #1
LBB0_15:
	bl	_avpriv_set_pts_info
	ldr	x8, [x25, #80]
	cbz	x8, LBB0_18
; %bb.16:
	ldr	x9, [x25, #72]
	cbz	x9, LBB0_18
; %bb.17:
	ldr	x10, [x20, #8]
	stp	x9, x8, [x10, #24]
LBB0_18:
	ldr	w8, [x25, #12]
	cbz	w8, LBB0_21
LBB0_19:
	ldr	x9, [x21]
Lloh26:
	adrp	x27, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh27:
	ldr	x27, [x27, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
	cbz	x9, LBB0_31
LBB0_20:
	ldr	x10, [x27]
	b	LBB0_33
LBB0_21:
	ldr	x8, [x25, #40]
Lloh28:
	adrp	x9, _PT_DEFAULT@GOTPAGE
Lloh29:
	ldr	x9, [x9, _PT_DEFAULT@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
Lloh31:
	adrp	x22, _PT_GLOB_SEQUENCE@GOTPAGE
Lloh32:
	ldr	x22, [x22, _PT_GLOB_SEQUENCE@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.22:
	ldr	x8, [x21, #24]
Lloh33:
	adrp	x9, _PT_NONE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _PT_NONE@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x22, x9, eq
	ldr	x8, [x8]
	str	x8, [x25, #40]
LBB0_23:
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.24:
	ldr	x0, [x25]
	bl	_is_glob
	str	w0, [x25, #20]
	cbz	w0, LBB0_26
; %bb.25:
Lloh35:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x2, l_.str.2@PAGE
Lloh39:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_av_log
LBB0_26:
	ldr	x8, [x25, #40]
	ldr	x10, [x22]
	cmp	x8, x10
	b.ne	LBB0_28
; %bb.27:
	ldr	w9, [x25, #20]
	cbz	w9, LBB0_38
LBB0_28:
Lloh40:
	adrp	x9, _PT_SEQUENCE@GOTPAGE
Lloh41:
	ldr	x9, [x9, _PT_SEQUENCE@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_38
; %bb.29:
Lloh43:
	adrp	x9, _PT_GLOB@GOTPAGE
Lloh44:
	ldr	x9, [x9, _PT_GLOB@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_45
; %bb.30:
Lloh46:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x2, l_.str.4@PAGE
Lloh50:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_31:
	ldr	x9, [x21, #8]
	cbz	x9, LBB0_42
; %bb.32:
Lloh51:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh52:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh53:
	ldr	x10, [x8]
LBB0_33:
	ldr	x8, [x20, #8]
	str	x10, [x8]
LBB0_34:
	str	x9, [x8, #8]
LBB0_35:
	ldr	x9, [x8]
	ldr	x10, [x27]
	ldr	w11, [x24]
	cmp	x9, x10
	mov	w22, #0
	ccmp	w19, w11, #4, eq
	b.eq	LBB0_37
; %bb.36:
	str	w19, [x8, #16]
LBB0_37:
	mov	x0, x22
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_38:
	ldr	x0, [x21, #24]
	ldr	x3, [x25]
	ldp	x5, x4, [x25, #56]
	add	x1, sp, #76
	add	x2, sp, #72
	bl	_find_image_range
	tbnz	x0, #63, LBB0_48
; %bb.39:
	ldp	w9, w10, [sp, #72]
LBB0_40:
	stp	w10, w9, [x25, #24]
	str	w10, [x25, #8]
	ldr	w8, [x25, #16]
	cbnz	w8, LBB0_19
; %bb.41:
	str	xzr, [x20, #16]
	sub	w8, w9, w10
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_19
LBB0_42:
	ldr	x8, [x21, #40]
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_20
; %bb.43:
	ldr	x0, [x25]
	mov	w1, #46
	bl	_strrchr
	cbz	x0, LBB0_51
; %bb.44:
	add	x0, x0, #1
Lloh54:
	adrp	x1, l_.str.6@PAGE
Lloh55:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_av_strcasecmp
	cmp	w0, #0
	cset	w8, eq
	b	LBB0_52
LBB0_45:
	mov	w9, #1
	cmp	x8, x10
	b.eq	LBB0_50
; %bb.46:
Lloh56:
	adrp	x10, _PT_NONE@GOTPAGE
Lloh57:
	ldr	x10, [x10, _PT_NONE@GOTPAGEOFF]
Lloh58:
	ldr	x11, [x10]
	mov	w10, #1
	cmp	x8, x11
	b.eq	LBB0_40
; %bb.47:
Lloh59:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh60:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh62:
	adrp	x2, l_.str.5@PAGE
Lloh63:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_48:
Lloh64:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh65:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	ldr	x8, [x25]
	ldp	x10, x9, [x25, #56]
	add	x10, x9, x10
	sub	x10, x10, #1
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh67:
	adrp	x2, l_.str.3@PAGE
Lloh68:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh69:
	adrp	x8, _ENOENT@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_49:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x22, x0
	b	LBB0_37
LBB0_50:
	mov	w10, #1
	b	LBB0_40
LBB0_51:
	mov	w8, #0
LBB0_52:
	str	w8, [x25, #32]
	ldr	x9, [x27]
	ldr	x8, [x20, #8]
	str	x9, [x8]
	ldr	x9, [x21, #24]
	cbz	x9, LBB0_70
; %bb.53:
Lloh71:
	adrp	x28, _AVPROBE_PADDING_SIZE@GOTPAGE
Lloh72:
	ldr	x28, [x28, _AVPROBE_PADDING_SIZE@GOTPAGEOFF]
	ldr	x8, [x28]
	add	x1, x8, #2048
	mov	x0, #0
	bl	_av_realloc
	stp	xzr, x0, [sp, #56]
	str	xzr, [sp, #48]
	cbz	x0, LBB0_66
; %bb.54:
	mov	x23, x0
	ldr	x0, [x21, #24]
	mov	x1, x23
	mov	w2, #2048
	bl	_avio_read
	mov	x22, x0
	tbnz	w0, #31, LBB0_67
; %bb.55:
	add	x0, x23, w22, uxtw
	ldr	x2, [x28]
	mov	w1, #0
	bl	_memset
	str	x23, [sp, #32]
	ldr	w8, [x21, #32]
	stp	w22, w8, [sp, #40]
	add	x0, sp, #56
	bl	_av_demuxer_iterate
	cbz	x0, LBB0_64
; %bb.56:
	mov	x23, x0
Lloh73:
	adrp	x28, _ff_img_read_header@PAGE
Lloh74:
	add	x28, x28, _ff_img_read_header@PAGEOFF
	b	LBB0_58
LBB0_57:                                ;   in Loop: Header=BB0_58 Depth=1
	add	x0, sp, #56
	bl	_av_demuxer_iterate
	mov	x23, x0
	cbz	x0, LBB0_64
LBB0_58:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	cmp	x8, x28
	b.ne	LBB0_57
; %bb.59:                               ;   in Loop: Header=BB0_58 Depth=1
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_57
; %bb.60:                               ;   in Loop: Header=BB0_58 Depth=1
	ldr	w9, [x23, #16]
	ldr	w10, [x26]
	tst	w10, w9
	b.ne	LBB0_57
; %bb.61:                               ;   in Loop: Header=BB0_58 Depth=1
	ldr	x9, [x23, #24]
	cbz	x9, LBB0_57
; %bb.62:                               ;   in Loop: Header=BB0_58 Depth=1
	add	x0, sp, #32
	blr	x8
	cmp	x0, #1
	b.lt	LBB0_57
; %bb.63:
	ldr	x8, [x23, #24]
	ldr	x9, [x20, #8]
	str	x8, [x9, #8]
LBB0_64:
	ldr	w8, [x21, #16]
Lloh75:
	adrp	x9, _AVFMT_FLAG_CUSTOM_IO@GOTPAGE
Lloh76:
	ldr	x9, [x9, _AVFMT_FLAG_CUSTOM_IO@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	ldr	x0, [x21, #24]
	tst	w9, w8
	b.eq	LBB0_68
; %bb.65:
Lloh78:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh79:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh80:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_avio_seek
	add	x0, sp, #64
	bl	_av_freep
	b	LBB0_69
LBB0_66:
Lloh81:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_49
LBB0_67:
	mov	x0, x23
	bl	_av_free
	b	LBB0_37
LBB0_68:
	add	x1, sp, #64
	mov	x2, x22
	bl	_ffio_rewind_with_probe_data
LBB0_69:
	ldr	x8, [x20, #8]
LBB0_70:
	ldr	x0, [x8, #8]
Lloh83:
	adrp	x21, _AV_CODEC_ID_NONE@GOTPAGE
Lloh84:
	ldr	x21, [x21, _AV_CODEC_ID_NONE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x0, x9
	b.ne	LBB0_72
; %bb.71:
	ldr	x0, [x25]
	bl	_ff_guess_image2_codec
	ldr	x8, [x20, #8]
	str	x0, [x8, #8]
LBB0_72:
Lloh85:
	adrp	x9, _AV_CODEC_ID_LJPEG@GOTPAGE
Lloh86:
	ldr	x9, [x9, _AV_CODEC_ID_LJPEG@GOTPAGEOFF]
Lloh87:
	ldr	x9, [x9]
	cmp	x0, x9
	b.ne	LBB0_74
; %bb.73:
Lloh88:
	adrp	x9, _AV_CODEC_ID_MJPEG@GOTPAGE
Lloh89:
	ldr	x9, [x9, _AV_CODEC_ID_MJPEG@GOTPAGEOFF]
Lloh90:
	ldr	x0, [x9]
	str	x0, [x8, #8]
LBB0_74:
Lloh91:
	adrp	x9, _AV_CODEC_ID_ALIAS_PIX@GOTPAGE
Lloh92:
	ldr	x9, [x9, _AV_CODEC_ID_ALIAS_PIX@GOTPAGEOFF]
Lloh93:
	ldr	x9, [x9]
	cmp	x0, x9
	b.ne	LBB0_35
; %bb.75:
	ldr	x9, [x21]
	b	LBB0_34
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
	.comm	_AVFMTCTX_NOHEADER,4,2          ; @AVFMTCTX_NOHEADER
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No such pixel format: %s.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AVFMT_NOFILE,4,2               ; @AVFMT_NOFILE
	.comm	_AVSTREAM_PARSE_FULL,4,2        ; @AVSTREAM_PARSE_FULL
l_.str.1:                               ; @.str.1
	.asciz	"POSIX.1-2008 not supported, nanosecond file timestamps unavailable\n"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_PT_DEFAULT,8,3                 ; @PT_DEFAULT
	.comm	_PT_NONE,8,3                    ; @PT_NONE
	.comm	_PT_GLOB_SEQUENCE,8,3           ; @PT_GLOB_SEQUENCE
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"Pattern type 'glob_sequence' is deprecated: use pattern_type 'glob' instead\n"

	.comm	_PT_SEQUENCE,8,3                ; @PT_SEQUENCE
l_.str.3:                               ; @.str.3
	.asciz	"Could find no file with path '%s' and index in the range %d-%d\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_PT_GLOB,8,3                    ; @PT_GLOB
l_.str.4:                               ; @.str.4
	.asciz	"Pattern type 'glob' was selected but globbing is not supported by this libavformat build\n"

l_.str.5:                               ; @.str.5
	.asciz	"Unknown value '%d' for pattern_type option\n"

	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ; @AVMEDIA_TYPE_AUDIO
l_.str.6:                               ; @.str.6
	.asciz	"y"

	.comm	_AVPROBE_PADDING_SIZE,8,3       ; @AVPROBE_PADDING_SIZE
	.comm	_AVFMT_FLAG_CUSTOM_IO,4,2       ; @AVFMT_FLAG_CUSTOM_IO
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_AV_CODEC_ID_NONE,8,3           ; @AV_CODEC_ID_NONE
	.comm	_AV_CODEC_ID_LJPEG,8,3          ; @AV_CODEC_ID_LJPEG
	.comm	_AV_CODEC_ID_MJPEG,8,3          ; @AV_CODEC_ID_MJPEG
	.comm	_AV_CODEC_ID_ALIAS_PIX,8,3      ; @AV_CODEC_ID_ALIAS_PIX
	.comm	_GLOB_BRACE,4,2                 ; @GLOB_BRACE
	.comm	_GLOB_NOCHECK,4,2               ; @GLOB_NOCHECK
	.comm	_GLOB_NOMAGIC,4,2               ; @GLOB_NOMAGIC
.subsections_via_symbols
