	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxf_parse_prores_frame
_mxf_parse_prores_frame:                ## @mxf_parse_prores_frame
	.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), %rax
	movl	$1, %r12d
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.1:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 8(%rax)
	movq	(%rsi), %rax
	movl	(%rax), %ebx
	movq	_mxf_prores_codec_uls@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_FF_ARRAY_ELEMS
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movl	$4, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	cmpl	-4(%rdi,%r14), %ebx
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	callq	_FF_ARRAY_ELEMS
	cltq
	addq	$8, %r14
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_7:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 8(%rcx)
	jne	LBB0_5
## %bb.8:
	xorl	%r12d, %r12d
	jmp	LBB0_9
LBB0_4:
	addq	%r14, %rdi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rdi, 8(%rcx)
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%rcx)
LBB0_9:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mxf_prores_codec_uls,8,3       ## @mxf_prores_codec_uls
	.no_dead_strip	_mxf_parse_prores_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxf_parse_prores_frame
_mxf_parse_prores_frame:                ; @mxf_parse_prores_frame
	.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	x8, [x8]
	cbnz	x8, LBB0_9
; %bb.1:
	mov	x19, x2
	ldp	x8, x20, [x1]
	str	xzr, [x20, #8]
	ldr	w21, [x8]
Lloh0:
	adrp	x22, _mxf_prores_codec_uls@GOTPAGE
Lloh1:
	ldr	x22, [x22, _mxf_prores_codec_uls@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x23, #0
	mov	x24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	w8, [x0, x23]
	cmp	w21, w8
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	bl	_FF_ARRAY_ELEMS
	add	x23, x23, #8
	cmp	x24, w0, sxtw
	b.lt	LBB0_3
LBB0_5:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_8
; %bb.6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
	add	x8, x0, x23
	add	x8, x8, #4
	str	x8, [x20, #8]
LBB0_8:
	ldr	w8, [x19]
	str	w8, [x20]
LBB0_9:
	mov	w0, #1
LBB0_10:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mxf_prores_codec_uls,8,3       ; @mxf_prores_codec_uls
	.no_dead_strip	_mxf_parse_prores_frame
.subsections_via_symbols
