	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mc7_calc_size
_mc7_calc_size:                         ## @mc7_calc_size
	.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
	movl	%edi, %r15d
	callq	_G_WIDTH
	movl	%eax, %r14d
	movq	_F_BKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	cmpl	$1, %eax
	movl	$2, %r12d
	sbbl	$0, %r12d
	movq	_F_ORG@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movl	(%rax), %eax
	andl	%r15d, %eax
	setne	%bl
	movl	%r15d, %edi
	callq	_G_DEN
	movl	$256, %edx                      ## imm = 0x100
	movl	%eax, %ecx
	shll	%cl, %edx
	imull	%r12d, %edx
	addl	%r14d, %ebx
	movl	%ebx, %ecx
	shrl	%cl, %edx
	shll	$20, %edx
	movl	%edx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_BKS,4,2                      ## @F_BKS
	.comm	_F_ORG,4,2                      ## @F_ORG
	.no_dead_strip	_mc7_calc_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mc7_calc_size
_mc7_calc_size:                         ; @mc7_calc_size
	.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, x0
	bl	_G_WIDTH
	mov	x20, x0
Lloh0:
	adrp	x8, _F_BKS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_BKS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w19
	mov	w8, #1
	cinc	w21, w8, ne
Lloh3:
	adrp	x8, _F_ORG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F_ORG@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_G_DEN
	tst	w22, w19
	mov	w8, #256
	lsl	w8, w8, w0
	mul	w8, w8, w21
	cinc	w9, w20, ne
	lsr	w8, w8, w9
	lsl	w0, w8, #20
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_F_BKS,4,2                      ; @F_BKS
	.comm	_F_ORG,4,2                      ; @F_ORG
	.no_dead_strip	_mc7_calc_size
.subsections_via_symbols
