	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function hb_vfr_init
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x4000000000000000              ## double 2
LCPI0_2:
	.quad	0xbff0000000000000              ## double -1
LCPI0_3:
	.quad	0x40f5f90000000000              ## double 9.0E+4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_hb_vfr_init:                           ## @hb_vfr_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %rbx
	movq	%rax, 8(%r12)
	movq	%rax, %rdi
	callq	_build_gamma_lut
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	leaq	32(%rbx), %r15
	movups	8(%r14), %xmm0
	movups	%xmm0, 32(%rbx)
	movups	8(%r14), %xmm0
	movups	%xmm0, 128(%rbx)
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_hb_dict_extract_int
	movl	(%r12), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	callq	_hb_dict_extract_rational
	movl	$2, 4(%rbx)
	movsd	128(%rbx), %xmm0                ## xmm0 = mem[0],zero
	movsd	136(%rbx), %xmm1                ## xmm1 = mem[0],zero
	movhpd	32(%rbx), %xmm0                 ## xmm0 = xmm0[0],mem[0]
	movhpd	40(%rbx), %xmm1                 ## xmm1 = xmm1[0],mem[0]
	divpd	%xmm1, %xmm0
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    ## xmm1 = xmm1[1],xmm0[1]
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_5
## %bb.1:
	divsd	%xmm1, %xmm0
	ucomisd	LCPI0_0(%rip), %xmm0
	jbe	LBB0_4
## %bb.2:
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_4
## %bb.3:
	addsd	LCPI0_2(%rip), %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
LBB0_4:
	callq	_ceil
LBB0_5:
	leaq	8(%r14), %r12
	movl	24(%r14), %eax
	movl	%eax, 112(%rbx)
	movl	$8, %edi
	movl	$1, %esi
	callq	_hb_fifo_init
	movl	%eax, 108(%rbx)
	xorl	%eax, %eax
	callq	_hb_list_init
	movl	%eax, 104(%rbx)
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, 88(%rbx)
	movq	80(%rbx), %rax
	movq	$0, (%rax)
	movq	72(%rbx), %rax
	movq	$0, (%rax)
	movupd	%xmm0, 56(%rbx)
	movq	48(%rbx), %rax
	movupd	%xmm0, (%rax)
	movupd	%xmm0, 16(%rax)
	movl	(%rbx), %eax
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.6:
	movsd	32(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	40(%rbx), %xmm1                 ## xmm1 = mem[0],zero
	movsd	8(%r14), %xmm2                  ## xmm2 = mem[0],zero
	movsd	16(%r14), %xmm3                 ## xmm3 = mem[0],zero
	unpcklpd	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0]
	unpcklpd	%xmm1, %xmm3                    ## xmm3 = xmm3[0],xmm1[0]
	divpd	%xmm3, %xmm2
	movapd	%xmm2, %xmm3
	unpckhpd	%xmm2, %xmm3                    ## xmm3 = xmm3[1],xmm2[1]
	ucomisd	%xmm3, %xmm2
	jbe	LBB0_9
## %bb.7:
	movupd	(%r15), %xmm2
	movupd	%xmm2, (%r12)
	jmp	LBB0_9
LBB0_8:
	movups	(%r15), %xmm0
	movups	%xmm0, (%r12)
	movsd	32(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	40(%rbx), %xmm1                 ## xmm1 = mem[0],zero
LBB0_9:
	mulsd	LCPI0_3(%rip), %xmm1
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 16(%rbx)
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rbx)
	movl	%eax, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mode"

L_.str.1:                               ## @.str.1
	.asciz	"rate"

	.comm	_MAX_FRAME_ANALYSIS_DEPTH,4,2   ## @MAX_FRAME_ANALYSIS_DEPTH
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.no_dead_strip	_hb_vfr_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hb_vfr_init
_hb_vfr_init:                           ; @hb_vfr_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x22, x0
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	mov	x20, x0
	str	x0, [x22, #8]
	bl	_build_gamma_lut
	ldr	w8, [x19]
	str	w8, [x20]
	add	x21, x20, #32
	ldur	q0, [x19, #8]
	str	q0, [x20, #32]
	str	q0, [x20, #128]
	ldr	w1, [x22]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_hb_dict_extract_int
	ldr	w1, [x22]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_hb_dict_extract_rational
	mov	w8, #2
	str	w8, [x20, #4]
	ldp	d0, d1, [x20, #128]
	fdiv	d0, d0, d1
	ldp	d1, d2, [x20, #32]
	fdiv	d1, d1, d2
	fcmp	d0, d1
	b.le	LBB0_4
; %bb.1:
	fdiv	d0, d0, d1
	fmov	d1, #1.00000000
	fcmp	d0, d1
	fmov	d2, #2.00000000
	fccmp	d0, d2, #0, gt
	b.pl	LBB0_3
; %bb.2:
	fmov	d2, #-1.00000000
	fadd	d0, d0, d2
	fdiv	d0, d1, d0
LBB0_3:
	bl	_ceil
LBB0_4:
	add	x22, x19, #8
	ldr	w8, [x19, #24]
	str	w8, [x20, #112]
	mov	w0, #8
	mov	w1, #1
	bl	_hb_fifo_init
	str	w0, [x20, #108]
	bl	_hb_list_init
	str	w0, [x20, #104]
	ldp	x9, x8, [x20, #72]
	str	xzr, [x8]
	stp	xzr, xzr, [x20, #88]
	str	xzr, [x9]
	stp	xzr, xzr, [x20, #56]
	ldr	x8, [x20, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8]
	ldr	w8, [x20]
	cmp	w8, #2
	b.ne	LBB0_7
; %bb.5:
	ldp	d0, d1, [x19, #8]
	fdiv	d2, d0, d1
	ldp	d0, d1, [x20, #32]
	fdiv	d3, d0, d1
	fcmp	d2, d3
	b.le	LBB0_8
; %bb.6:
	ldr	q2, [x21]
	str	q2, [x22]
	b	LBB0_8
LBB0_7:
	ldr	q0, [x21]
	str	q0, [x22]
	ldp	d0, d1, [x20, #32]
LBB0_8:
	mov	x9, #273778395316224
	movk	x9, #16629, lsl #48
	fmov	d2, x9
	fmul	d1, d1, d2
	fdiv	d0, d1, d0
	str	d0, [x20, #16]
Lloh4:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	str	x9, [x20, #24]
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mode"

l_.str.1:                               ; @.str.1
	.asciz	"rate"

	.comm	_MAX_FRAME_ANALYSIS_DEPTH,4,2   ; @MAX_FRAME_ANALYSIS_DEPTH
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.no_dead_strip	_hb_vfr_init
.subsections_via_symbols
