	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __calcFbbs
___calcFbbs:                            ## @__calcFbbs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	24(%rbp), %r14
	movq	16(%rbp), %rbx
	movzbl	%cl, %eax
	shll	$5, %eax
	shll	$5, %esi
	andl	$2096640, %esi                  ## imm = 0x1FFE00
	imull	%eax, %edx
	addl	%edi, %esi
	addl	%edx, %esi
	movl	%esi, (%rbx)
	movl	%esi, (%r14)
	movq	_VI_XFBMODE_DF@GOTPCREL(%rip), %rcx
	cmpl	%r8d, (%rcx)
	jne	LBB0_2
## %bb.1:
	addl	(%rbx), %eax
	movl	%eax, (%r14)
	movl	%eax, %esi
LBB0_2:
	testb	$1, %r9b
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %eax
	movl	%esi, (%rbx)
	movl	%eax, (%r14)
LBB0_4:
	movl	(%rbx), %edi
	callq	_MEM_VIRTUAL_TO_PHYSICAL
	movl	%eax, (%rbx)
	movl	(%r14), %edi
	callq	_MEM_VIRTUAL_TO_PHYSICAL
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VI_XFBMODE_DF,4,2              ## @VI_XFBMODE_DF
	.no_dead_strip	___calcFbbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __calcFbbs
___calcFbbs:                            ; @__calcFbbs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x7
	mov	x20, x6
	ubfiz	w9, w3, #5, #8
	lsl	w8, w1, #5
	and	w8, w8, #0x1ffe00
	add	w8, w8, w0
	madd	w8, w9, w2, w8
	str	w8, [x6]
	str	w8, [x7]
Lloh0:
	adrp	x10, _VI_XFBMODE_DF@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VI_XFBMODE_DF@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w10, w4
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x20]
	add	w8, w8, w9
	str	w8, [x19]
LBB0_2:
	tbz	w5, #0, LBB0_4
; %bb.3:
	ldr	w9, [x20]
	str	w8, [x20]
	str	w9, [x19]
LBB0_4:
	ldr	w0, [x20]
	bl	_MEM_VIRTUAL_TO_PHYSICAL
	str	w0, [x20]
	ldr	w0, [x19]
	bl	_MEM_VIRTUAL_TO_PHYSICAL
	str	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VI_XFBMODE_DF,4,2              ; @VI_XFBMODE_DF
	.no_dead_strip	___calcFbbs
.subsections_via_symbols
