	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tread_tag                   ## -- Begin function ff_tread_tag
	.p2align	4, 0x90
_ff_tread_tag:                          ## @ff_tread_tag
	.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	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_ff_tget_short
	movl	%eax, (%rbx)
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_ff_tget_short
	movl	%eax, (%r15)
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_ff_tget_long
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, (%r12)
	movl	(%rbx), %edi
	callq	_ff_tis_ifd
	movl	(%r15), %r12d
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.1:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_type_sizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_FF_ARRAY_ELEMS
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_bytestream2_tell
	addl	$4, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	cmpl	%ebx, %r12d
	jae	LBB0_8
## %bb.2:
	movq	_type_sizes@GOTPCREL(%rip), %rdx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.3:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_6
## %bb.4:
	movq	(%rdx), %rax
	movl	(%r15), %edx
	imull	(%rax,%rdx,4), %ecx
	xorl	%eax, %eax
	cmpl	$5, %ecx
	jb	LBB0_9
## %bb.5:
	movq	_TIFF_STRING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_9
LBB0_6:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_ff_tget_long
	movq	_SEEK_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_bytestream2_seek
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	%r13, %rdi
	callq	_bytestream2_tell
	addl	$4, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_8:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_type_sizes,8,3                 ## @type_sizes
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_TIFF_STRING,4,2                ## @TIFF_STRING
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tread_tag                   ; -- Begin function ff_tread_tag
	.p2align	2
_ff_tread_tag:                          ; @ff_tread_tag
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x5
	mov	x22, x4
	mov	x21, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
	bl	_ff_tget_short
	str	w0, [x24]
	mov	x0, x19
	mov	x1, x20
	bl	_ff_tget_short
	str	w0, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_ff_tget_long
	str	w0, [x22]
	ldr	w0, [x24]
	bl	_ff_tis_ifd
	ldr	w27, [x21]
	cbz	w27, LBB0_7
; %bb.1:
	mov	x24, x0
Lloh0:
	adrp	x26, _type_sizes@GOTPAGE
Lloh1:
	ldr	x26, [x26, _type_sizes@GOTPAGEOFF]
	ldr	x0, [x26]
	bl	_FF_ARRAY_ELEMS
	mov	x25, x0
	mov	x0, x19
	bl	_bytestream2_tell
	add	w8, w0, #4
	str	w8, [x23]
	cmp	w27, w25
	b.hs	LBB0_8
; %bb.2:
	cbnz	w24, LBB0_5
; %bb.3:
	ldr	w8, [x22]
	cmp	w8, #4
	b.hi	LBB0_5
; %bb.4:
	ldr	x9, [x26]
	ldr	w10, [x21]
	ldr	w9, [x9, x10, lsl #2]
	mul	w8, w9, w8
Lloh2:
	adrp	x9, _TIFF_STRING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TIFF_STRING@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, #5
	ccmp	w10, w9, #4, hs
	b.eq	LBB0_6
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_ff_tget_long
	mov	x1, x0
Lloh5:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bytestream2_seek
LBB0_6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_bytestream2_tell
	add	w8, w0, #4
	str	w8, [x23]
LBB0_8:
Lloh8:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_type_sizes,8,3                 ; @type_sizes
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_TIFF_STRING,4,2                ; @TIFF_STRING
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
