	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpx_parse
_dpx_parse:                             ## @dpx_parse
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%r8, -96(%rbp)
	movl	%r9d, -48(%rbp)
	movq	8(%rdi), %rsi
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r9d, %ecx
	testl	%r9d, %r9d
	je	LBB0_2
## %bb.1:
	movq	_END_NOT_FOUND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	leaq	16(%rsi), %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	16(%rsi), %ebx
	movl	%eax, (%rdi)
	movl	$0, (%r12)
	cmpl	$0, 20(%rsi)
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_3
## %bb.12:
	movl	8(%rsi), %edi
	testl	%edi, %edi
	je	LBB0_13
## %bb.14:
	movl	%r9d, %esi
	callq	_FFMIN
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edi
	subl	%eax, 8(%rsi)
	je	LBB0_15
	jmp	LBB0_32
LBB0_3:
	testl	%r9d, %r9d
	jle	LBB0_4
## %bb.5:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%r9d, %r12d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	shll	$8, %ebx
	movq	%rax, %r14
	orl	(%r15,%rax,4), %ebx
	movl	$83, %edi
	movl	$68, %esi
	movl	$80, %edx
	movl	$88, %ecx
	callq	_MKBETAG
	cmpl	%eax, %ebx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$83, %edi
	movl	$68, %esi
	movl	$80, %edx
	movl	$88, %ecx
	callq	_MKTAG
	cmpl	%eax, %ebx
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rax
	incq	%rax
	cmpq	%rax, %r12
	jne	LBB0_6
## %bb.10:
	movl	%r12d, %edi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_13:
	xorl	%edi, %edi
	jmp	LBB0_15
LBB0_8:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	$1, 20(%r12)
	movl	$83, %edi
	movl	$68, %esi
	movl	$80, %edx
	movl	$88, %ecx
	callq	_MKBETAG
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, (%r12)
	movl	$0, 4(%r12)
	movl	-48(%rbp), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r14, %rdi
	jmp	LBB0_11
LBB0_4:
	xorl	%edi, %edi
LBB0_11:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
LBB0_15:
	movl	20(%rsi), %r8d
	testl	%r8d, %r8d
	je	LBB0_32
## %bb.16:
	movl	%edi, %edx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	subl	%ecx, %edx
	jge	LBB0_32
## %bb.17:
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movslq	%edi, %r13
	movslq	%ecx, %r12
	leaq	(%r15,%r13,4), %r14
	incq	%r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rsi), %ecx
	movl	16(%rsi), %ebx
	shll	$8, %ebx
	orl	(%r14,%r15,4), %ebx
	movl	%ebx, 16(%rsi)
	leal	1(%rcx), %edx
	movl	%edx, 4(%rsi)
	cmpl	$17, %edx
	je	LBB0_19
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	$17, %ecx
	jl	LBB0_29
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	$83, %edi
	movl	$68, %esi
	movl	$80, %edx
	movl	$88, %ecx
	callq	_MKBETAG
	cmpl	%eax, %ebx
	je	LBB0_37
## %bb.27:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movl	$83, %edi
	movl	$68, %esi
	movl	$80, %edx
	movl	$88, %ecx
	callq	_MKTAG
	cmpl	%eax, %ebx
	je	LBB0_37
## %bb.28:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	20(%rsi), %r8d
LBB0_29:                                ##   in Loop: Header=BB0_18 Depth=1
	testl	%r8d, %r8d
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_18 Depth=1
	leaq	(%r15,%r13), %rcx
	incq	%r15
	cmpq	%r12, %rcx
	jl	LBB0_18
LBB0_31:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_32
LBB0_19:
	cmpl	$0, (%rsi)
	jne	LBB0_21
## %bb.20:
	movl	%ebx, %edi
	callq	_av_bswap32
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %ebx
LBB0_21:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, 12(%rsi)
	cmpl	$1664, %ebx                     ## imm = 0x680
	jg	LBB0_23
## %bb.22:
	movl	$0, 20(%rsi)
LBB0_32:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_33:
	leaq	-96(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_ff_combine_frame
	testq	%rax, %rax
	js	LBB0_34
## %bb.35:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$0, 20(%rax)
	movq	-96(%rbp), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	-48(%rbp), %eax
	movl	%eax, (%r12)
	jmp	LBB0_36
LBB0_34:
	movl	-48(%rbp), %r14d
LBB0_36:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r15), %r14d
	addl	$-3, %r14d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_23:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	subl	%ecx, %eax
	subl	%r15d, %eax
	addl	$19, %eax
	cmpl	%eax, %ebx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jle	LBB0_33
## %bb.24:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addl	%ebx, %eax
	addl	%r15d, %eax
	addl	$-19, %eax
	movl	%eax, 8(%rsi)
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_END_NOT_FOUND,4,2              ## @END_NOT_FOUND
	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
	.no_dead_strip	_dpx_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpx_parse
_dpx_parse:                             ; @dpx_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x25, x4
	mov	x20, x3
	mov	x28, x2
	str	x4, [sp, #24]
	ldr	x26, [x0, #8]
	mov	x22, x26
	ldr	w27, [x22, #16]!
	str	w5, [sp, #20]
Lloh0:
	adrp	x8, _END_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _END_NOT_FOUND@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x0]
	str	wzr, [x3]
	cmp	w5, #0
	csel	w21, wzr, w8, eq
	ldr	w8, [x26, #20]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w0, [x26, #8]
	cbz	w0, LBB0_9
; %bb.2:
	mov	x1, x23
	bl	_FFMIN
	mov	x24, x0
	ldr	w8, [x26, #8]
	subs	w8, w8, w0
	str	w8, [x26, #8]
	b.eq	LBB0_13
	b	LBB0_28
LBB0_3:
	cmp	w23, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x24, #0
	mov	w19, w23
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25, x24, lsl #2]
	orr	w27, w8, w27, lsl #8
	mov	w0, #83
	mov	w1, #68
	mov	w2, #80
	mov	w3, #88
	bl	_MKBETAG
	cmp	w27, w0
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #83
	mov	w1, #68
	mov	w2, #80
	mov	w3, #88
	bl	_MKTAG
	cmp	w27, w0
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	cmp	x19, x24
	b.ne	LBB0_5
; %bb.8:
	mov	x24, x19
	b	LBB0_12
LBB0_9:
	mov	w24, #0
	b	LBB0_13
LBB0_10:
	mov	w8, #1
	str	w8, [x26, #20]
	mov	w0, #83
	mov	w1, #68
	mov	w2, #80
	mov	w3, #88
	bl	_MKBETAG
	cmp	w27, w0
	cset	w8, eq
	stp	w8, wzr, [x26]
	ldr	w23, [sp, #20]
	b	LBB0_12
LBB0_11:
	mov	w24, #0
LBB0_12:
	str	w27, [x22]
LBB0_13:
	ldr	w8, [x26, #20]
	cmp	w8, #0
	ccmp	w24, w23, #0, ne
	b.ge	LBB0_28
; %bb.14:
	stp	x28, x20, [sp]                  ; 16-byte Folded Spill
	mov	x27, #0
	mov	x9, x24
	sxtw	x9, w9
	sxtw	x28, w23
	add	x20, x25, w24, sxtw #2
	add	x19, x9, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x26, #16]
	ldr	w10, [x20, x27, lsl #2]
	orr	w25, w10, w9, lsl #8
	str	w25, [x26, #16]
	ldr	w9, [x26, #4]
	add	w10, w9, #1
	str	w10, [x26, #4]
	cmp	w10, #17
	b.eq	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w9, #17
	b.lt	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w0, #83
	mov	w1, #68
	mov	w2, #80
	mov	w3, #88
	bl	_MKBETAG
	cmp	w25, w0
	b.eq	LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w25, [x22]
	mov	w0, #83
	mov	w1, #68
	mov	w2, #80
	mov	w3, #88
	bl	_MKTAG
	cmp	w25, w0
	b.eq	LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w8, [x26, #20]
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=1
	cbz	w8, LBB0_27
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x9, x19, x27
	cmp	x9, x28
	add	x27, x27, #1
	b.lt	LBB0_15
	b	LBB0_27
LBB0_22:
	ldr	w8, [x26]
	cbnz	w8, LBB0_24
; %bb.23:
	mov	x0, x25
	bl	_av_bswap32
	mov	x25, x0
LBB0_24:
	ldp	x28, x20, [sp]                  ; 16-byte Folded Reload
	str	w25, [x26, #12]
	cmp	w25, #1664
	b.gt	LBB0_32
; %bb.25:
	str	wzr, [x26, #20]
	b	LBB0_28
LBB0_26:
	add	w8, w24, w27
	sub	w21, w8, #3
LBB0_27:
	ldp	x28, x20, [sp]                  ; 16-byte Folded Reload
LBB0_28:
	add	x2, sp, #24
	add	x3, sp, #20
	mov	x0, x22
	mov	x1, x21
	bl	_ff_combine_frame
	tbnz	x0, #63, LBB0_30
; %bb.29:
	str	wzr, [x26, #20]
	ldr	x8, [sp, #24]
	str	x8, [x28]
	ldr	w8, [sp, #20]
	str	w8, [x20]
	b	LBB0_31
LBB0_30:
	ldr	w21, [sp, #20]
LBB0_31:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_32:
	sub	w8, w23, w24
	sub	w8, w8, w27
	add	w8, w8, #19
	cmp	w25, w8
	b.le	LBB0_28
; %bb.33:
	sub	w8, w24, w23
	add	w8, w8, w25
	add	w8, w8, w27
	sub	w8, w8, #19
	str	w8, [x26, #8]
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_END_NOT_FOUND,4,2              ; @END_NOT_FOUND
	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
	.no_dead_strip	_dpx_parse
.subsections_via_symbols
