	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calculate_fb_and_fractional_fb_divider
_calculate_fb_and_fractional_fb_divider: ## @calculate_fb_and_fractional_fb_divider
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r14
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	imull	%edx, %esi
	imull	%ecx, %esi
	imull	16(%rdi), %esi
	addl	%esi, %esi
	leal	(%rsi,%rsi,4), %edi
	movl	(%rbx), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %esi
	callq	_div_u64
	movl	8(%rbx), %ecx
	leal	(%rcx,%rcx,4), %edi
	addl	%eax, %edi
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %esi
	callq	_div_u64
	imull	8(%rbx), %eax
	movq	16(%rbx), %rsi
	movl	%eax, %edi
	movq	%r15, %rdx
	callq	_div_u64_rem
	movl	%eax, (%r14)
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calculate_fb_and_fractional_fb_divider
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calculate_fb_and_fractional_fb_divider
_calculate_fb_and_fractional_fb_divider: ; @calculate_fb_and_fractional_fb_divider
	.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, x5
	mov	x20, x4
	mov	x21, x0
	ldr	w8, [x0, #16]
	mul	w9, w1, w2
	mul	w9, w9, w3
	mul	w8, w9, w8
	add	w8, w8, w8, lsl #2
	lsl	w0, w8, #1
	ldr	w8, [x21]
	add	w8, w8, w8, lsl #2
	lsl	w1, w8, #1
	bl	_div_u64
	ldr	w8, [x21, #8]
	add	w8, w8, w8, lsl #2
	add	w0, w8, w0
	lsl	w1, w8, #1
	bl	_div_u64
	ldr	w8, [x21, #8]
	mul	w0, w0, w8
	ldr	x1, [x21, #16]
	mov	x2, x19
	bl	_div_u64_rem
	str	w0, [x20]
	cmp	w0, #0
	cset	w0, ne
	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_fb_and_fractional_fb_divider
.subsections_via_symbols
