	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_vmaf_score
_compute_vmaf_score:                    ## @compute_vmaf_score
	.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, %rbx
	movq	64(%rdi), %rax
	movq	(%rax), %rsi
	movq	8(%rax), %rax
	cmpl	$9, (%rax)
	jge	LBB0_1
## %bb.2:
	movq	_read_frame_8bit@GOTPCREL(%rip), %r8
	jmp	LBB0_3
LBB0_1:
	movq	_read_frame_10bit@GOTPCREL(%rip), %r8
LBB0_3:
	leaq	56(%rbx), %rdi
	movl	52(%rbx), %edx
	movl	48(%rbx), %ecx
	movl	44(%rbx), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	40(%rbx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	36(%rbx), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	32(%rbx), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	28(%rbx), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %r13d
	movl	20(%rbx), %eax
	movl	16(%rbx), %r10d
	movl	12(%rbx), %r11d
	movl	8(%rbx), %r14d
	movl	(%rbx), %r15d
	movl	4(%rbx), %r12d
	movq	%rbx, %r9
	pushq	%r15
	pushq	%r12
	pushq	%r14
	pushq	%r11
	pushq	%r10
	pushq	%rax
	pushq	%r13
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	pushq	$0
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_compute_vmaf
	addq	$112, %rsp
	movl	%eax, 60(%rbx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_compute_vmaf_score
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_vmaf_score
_compute_vmaf_score:                    ; @compute_vmaf_score
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x8, [x0, #64]
Lloh0:
	adrp	x9, _read_frame_10bit@GOTPAGE
Lloh1:
	ldr	x9, [x9, _read_frame_10bit@GOTPAGEOFF]
Lloh2:
	adrp	x10, _read_frame_8bit@GOTPAGE
Lloh3:
	ldr	x10, [x10, _read_frame_8bit@GOTPAGEOFF]
	ldp	x1, x11, [x8]
	ldr	w8, [x11]
	cmp	w8, #9
	csel	x4, x10, x9, lt
	add	x0, x0, #56
	ldp	w3, w2, [x19, #48]
	ldp	w7, w6, [x19, #40]
	ldp	w9, w8, [x19, #32]
	ldp	w11, w10, [x19, #24]
	ldp	w13, w12, [x19, #16]
	ldp	w15, w14, [x19, #8]
	ldp	w17, w16, [x19]
	stp	w16, w17, [sp, #40]
	stp	w14, w15, [sp, #32]
	stp	w12, w13, [sp, #24]
	stp	w10, w11, [sp, #16]
	str	w9, [sp, #12]
	stur	xzr, [sp, #4]
	str	w8, [sp]
	mov	x5, x19
	bl	_compute_vmaf
	str	w0, [x19, #60]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_compute_vmaf_score
.subsections_via_symbols
