	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calculate_inits
_calculate_inits:                       ## @calculate_inits
	.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	%rdx, %r14
	movq	%rsi, %r12
	movl	20(%rsi), %edi
	callq	_dc_fixpt_u2d19
	shll	$5, %eax
	movl	%eax, (%r14)
	movl	16(%r12), %edi
	callq	_dc_fixpt_u2d19
	shll	$5, %eax
	movl	%eax, 4(%r14)
	movl	20(%r12), %r15d
	movq	8(%r12), %rdi
	incq	%rdi
	callq	_dc_fixpt_from_int
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_dc_fixpt_add
	movl	%eax, %edi
	movl	$2, %esi
	callq	_dc_fixpt_div_int
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_dc_fixpt_floor
	movq	%rax, 32(%r14)
	movl	%ebx, %edi
	callq	_dc_fixpt_u0d19
	shll	$5, %eax
	movl	%eax, 24(%r14)
	movl	16(%r12), %ebx
	movq	(%r12), %rdi
	incq	%rdi
	callq	_dc_fixpt_from_int
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_dc_fixpt_add
	movl	%eax, %edi
	movl	$2, %esi
	callq	_dc_fixpt_div_int
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_dc_fixpt_floor
	movq	%rax, 16(%r14)
	movl	%ebx, %edi
	callq	_dc_fixpt_u0d19
	shll	$5, %eax
	movl	%eax, 8(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calculate_inits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calculate_inits
_calculate_inits:                       ; @calculate_inits
	.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, x2
	mov	x20, x1
	ldr	w0, [x1, #20]
	bl	_dc_fixpt_u2d19
	lsl	w8, w0, #5
	str	w8, [x19]
	ldr	w0, [x20, #16]
	bl	_dc_fixpt_u2d19
	lsl	w8, w0, #5
	str	w8, [x19, #4]
	ldr	w21, [x20, #20]
	ldr	x8, [x20, #8]
	add	x0, x8, #1
	bl	_dc_fixpt_from_int
	mov	x1, x0
	mov	x0, x21
	bl	_dc_fixpt_add
	mov	w1, #2
	bl	_dc_fixpt_div_int
	mov	w21, w0
	mov	x0, x21
	bl	_dc_fixpt_floor
	str	x0, [x19, #32]
	mov	x0, x21
	bl	_dc_fixpt_u0d19
	lsl	w8, w0, #5
	str	w8, [x19, #24]
	ldr	w21, [x20, #16]
	ldr	x8, [x20]
	add	x0, x8, #1
	bl	_dc_fixpt_from_int
	mov	x1, x0
	mov	x0, x21
	bl	_dc_fixpt_add
	mov	w1, #2
	bl	_dc_fixpt_div_int
	mov	w20, w0
	mov	x0, x20
	bl	_dc_fixpt_floor
	str	x0, [x19, #16]
	mov	x0, x20
	bl	_dc_fixpt_u0d19
	lsl	w8, w0, #5
	str	w8, [x19, #8]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_calculate_inits
.subsections_via_symbols
