	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function yae_load_data
LCPI0_0:
	.quad	0x4000000000000000              ## double 2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_yae_load_data:                         ## @yae_load_data
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rcx
	jle	LBB0_16
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rdi, %r12
	subl	%eax, %ecx
	movl	$1, %edi
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpl	%ecx, 8(%r12)
	jge	LBB0_3
## %bb.2:
	movsd	16(%r12), %xmm0                 ## xmm0 = mem[0],zero
	xorl	%edi, %edi
	ucomisd	LCPI0_0(%rip), %xmm0
	seta	%dil
LBB0_3:
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r15
	callq	_av_assert0
	movq	(%r12), %rax
	cmpq	%r14, (%rax)
	jge	LBB0_15
## %bb.4:
	cmpq	%rbx, %r15
	jae	LBB0_15
## %bb.5:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	subq	%r15, %rbx
	sarq	$2, %rbx
	movslq	24(%r12), %rcx
	movq	%rbx, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_FFMIN
	movl	8(%r12), %esi
	movl	%eax, %edi
	callq	_FFMIN
	movq	%rax, %rbx
	movl	8(%r12), %esi
	subl	28(%r12), %esi
	movl	%ebx, %edi
	callq	_FFMIN
	movq	%rax, %r14
	subl	%r14d, %ebx
	movl	8(%r12), %esi
	movl	%ebx, %edi
	callq	_FFMIN
	movq	%rax, %r13
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movslq	28(%r12), %rdi
	movslq	24(%r12), %rdx
	imulq	%rdx, %rdi
	shlq	$2, %rdi
	addq	40(%r12), %rdi
	imull	%r14d, %edx
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movslq	24(%r12), %rax
	movslq	%r14d, %rcx
	movq	(%r12), %rdx
	addq	%rcx, (%rdx)
	movslq	%r14d, %rcx
	imulq	%rax, %rcx
	leaq	(%r15,%rcx,4), %r15
	movl	32(%r12), %edi
	addl	%r14d, %edi
	movl	8(%r12), %esi
	callq	_FFMIN
	movq	%rax, %rcx
	movl	%ecx, 32(%r12)
	movl	28(%r12), %eax
	addl	%r14d, %eax
	movl	8(%r12), %esi
	cltd
	idivl	%esi
	movl	%edx, 28(%r12)
	cmpl	%ecx, %esi
	movl	$0, %eax
	cmovlel	%eax, %ecx
	subl	%ecx, %edx
	movl	%edx, 36(%r12)
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testl	%r13d, %r13d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	40(%r12), %rdi
	movl	24(%r12), %edx
	imull	%r13d, %edx
	movq	%r15, %rsi
	callq	_memcpy
	movslq	24(%r12), %rax
	movslq	%r13d, %rcx
	movq	(%r12), %rdx
	addq	%rcx, (%rdx)
	movslq	%r13d, %rcx
	imulq	%rax, %rcx
	leaq	(%r15,%rcx,4), %r15
	movl	32(%r12), %edi
	addl	%r13d, %edi
	movl	8(%r12), %esi
	callq	_FFMIN
	movq	%rax, %rcx
	movl	%ecx, 32(%r12)
	movl	28(%r12), %eax
	addl	%r13d, %eax
	movl	8(%r12), %esi
	cltd
	idivl	%esi
	movl	%edx, 28(%r12)
	cmpl	%ecx, %esi
	movl	$0, %eax
	cmovlel	%eax, %ecx
	subl	%ecx, %edx
	movl	%edx, 36(%r12)
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r12), %rax
	cmpq	%r14, (%rax)
	jge	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%rbx, %r15
	jb	LBB0_6
LBB0_15:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movq	(%r12), %rax
	xorl	%edi, %edi
	cmpq	%r14, (%rax)
	setle	%dil
	callq	_av_assert0
	movq	(%r12), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_17
LBB0_16:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_yae_load_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yae_load_data
_yae_load_data:                         ; @yae_load_data
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
	cmp	x3, x8
	b.le	LBB0_12
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x23, [x1]
	ldr	w9, [x0, #8]
	sub	w24, w19, w8
	cmp	w9, w24
	b.ge	LBB0_3
; %bb.2:
	ldr	d0, [x20, #16]
	fmov	d1, #2.00000000
	fcmp	d0, d1
	cset	w0, gt
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
	bl	_av_assert0
	ldr	x8, [x20]
	ldr	x8, [x8]
	cmp	x8, x19
	ccmp	x23, x22, #2, lt
	b.hs	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x8, x22, x23
	asr	x8, x8, #2
	ldrsw	x9, [x20, #24]
	sdiv	x1, x8, x9
	mov	x0, x24
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_FFMIN
	ldr	w1, [x20, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_FFMIN
	mov	x25, x0
	ldr	w8, [x20, #8]
	ldr	w9, [x20, #28]
	sub	w1, w8, w9
	bl	_FFMIN
	mov	x26, x0
	sub	w0, w25, w26
	ldr	w1, [x20, #8]
	bl	_FFMIN
	mov	x25, x0
	cbz	w26, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #40]
	ldp	w10, w9, [x20, #24]
	mul	w9, w10, w9
	add	x0, x8, w9, sxtw #2
	mul	w2, w10, w26
	mov	x1, x23
	bl	_memcpy
	ldr	w8, [x20, #24]
	mul	w8, w8, w26
	add	x23, x23, w8, sxtw #2
	ldr	x8, [x20]
	ldr	x9, [x8]
	add	x9, x9, w26, sxtw
	str	x9, [x8]
	ldr	w8, [x20, #32]
	add	w0, w8, w26
	ldr	w1, [x20, #8]
	bl	_FFMIN
	ldr	w8, [x20, #28]
	add	w8, w8, w26
	ldr	w9, [x20, #8]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	stp	w8, w0, [x20, #28]
	cmp	w9, w0
	csel	w9, w0, wzr, gt
	sub	w8, w8, w9
	str	w8, [x20, #36]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w25, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x20, #40]
	ldr	w8, [x20, #24]
	mul	w2, w8, w25
	mov	x1, x23
	bl	_memcpy
	ldr	w8, [x20, #24]
	mul	w8, w8, w25
	add	x23, x23, w8, sxtw #2
	ldr	x8, [x20]
	ldr	x9, [x8]
	add	x9, x9, w25, sxtw
	str	x9, [x8]
	ldr	w8, [x20, #32]
	add	w0, w8, w25
	ldr	w1, [x20, #8]
	bl	_FFMIN
	ldr	w8, [x20, #28]
	add	w8, w8, w25
	ldr	w9, [x20, #8]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	stp	w8, w0, [x20, #28]
	cmp	w9, w0
	csel	w9, w0, wzr, gt
	sub	w8, w8, w9
	str	w8, [x20, #36]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8]
	cmp	x8, x19
	b.ge	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x23, x22
	b.lo	LBB0_5
LBB0_11:
	str	x23, [x21]
	ldr	x8, [x20]
	ldr	x8, [x8]
	cmp	x8, x19
	cset	w0, le
	bl	_av_assert0
	ldr	x8, [x20]
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_13
LBB0_12:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_yae_load_data
.subsections_via_symbols
