	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function CalculateItemSize
LCPI0_0:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	4294967271                      ## 0xffffffe7
	.long	4294967266                      ## 0xffffffe2
LCPI0_1:
	.long	4294967244                      ## 0xffffffcc
	.long	3                               ## 0x3
	.long	4294967294                      ## 0xfffffffe
	.long	4294967294                      ## 0xfffffffe
LCPI0_2:
	.long	3                               ## 0x3
	.long	4294967293                      ## 0xfffffffd
	.long	2                               ## 0x2
	.long	4294967275                      ## 0xffffffeb
LCPI0_3:
	.long	4294967286                      ## 0xfffffff6
	.long	4294967258                      ## 0xffffffda
	.long	8                               ## 0x8
	.long	3                               ## 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_CalculateItemSize:                     ## @CalculateItemSize
	.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	116(%rdi), %r11d
	movl	112(%rdi), %r8d
	movl	104(%rdi), %r9d
	movdqu	104(%rdi), %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [8,8,4294967271,4294967266]
	paddd	%xmm0, %xmm1
	movdqu	%xmm1, 248(%rdi)
	movl	4(%rdi), %r12d
	movl	12(%rdi), %r10d
	movl	(%rdi), %r15d
	addl	%r12d, %r15d
	movd	%xmm1, %ecx
	addl	%r15d, %ecx
	incl	%ecx
	movl	%ecx, 232(%rdi)
	movl	8(%rdi), %esi
	pextrd	$1, %xmm1, %ecx
	addl	%r12d, %esi
	leal	(%rsi,%rcx), %eax
	addl	%esi, %ecx
	incl	%ecx
	movl	%ecx, 236(%rdi)
	movl	%r15d, %edx
	notl	%edx
	pextrd	$2, %xmm1, %ecx
	addl	%edx, %ecx
	movl	%ecx, 240(%rdi)
	leal	(%r10,%rax), %ebx
	incl	%ebx
	movl	16(%rdi), %r14d
	subl	%r14d, %ebx
	movl	%ebx, 244(%rdi)
	movd	%ecx, %xmm2
	pinsrd	$1, %eax, %xmm2
	pinsrd	$2, %ecx, %xmm2
	pinsrd	$3, %ebx, %xmm2
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4294967244,3,4294967294,4294967294]
	paddd	%xmm1, %xmm2
	movdqu	%xmm2, 264(%rdi)
	leal	11(%r9,%r12), %r9d
	movl	%r9d, 168(%rdi)
	leal	1(%rbx), %eax
	movl	%eax, 172(%rdi)
	leal	-10(%r8), %eax
	movl	%eax, 176(%rdi)
	leal	-25(%r11), %eax
	movl	%eax, 180(%rdi)
	leal	1(%r15,%r9), %r12d
	movl	%r12d, 200(%rdi)
	leal	1(%rbx,%r15), %eax
	leal	2(%rbx,%r15), %ecx
	movl	%ecx, 204(%rdi)
	leal	(%r8,%rdx), %ecx
	addl	$-10, %ecx
	movl	%ecx, 208(%rdi)
	movl	%r10d, %ebx
	subl	%r14d, %ebx
	leal	(%rbx,%rax), %edx
	incl	%edx
	movl	%edx, 212(%rdi)
	movd	%ecx, %xmm2
	pinsrd	$1, %eax, %xmm2
	pinsrd	$2, %ecx, %xmm2
	pinsrd	$3, %edx, %xmm2
	paddd	%xmm1, %xmm2
	movdqu	%xmm2, 216(%rdi)
	movl	%r12d, 184(%rdi)
	leal	2(%rbx,%rax), %eax
	movl	%eax, 188(%rdi)
	movl	%ecx, 192(%rdi)
	movl	20(%rdi), %eax
	leal	2(%rax,%rdx), %ebx
	movl	%ebx, 196(%rdi)
	movl	%r12d, 120(%rdi)
	movl	%ebx, 124(%rdi)
	movl	%ecx, 128(%rdi)
	notl	%esi
	leal	-25(%r11,%rsi), %ecx
	pextrd	$2, %xmm2, %ebx
	movl	%ecx, 132(%rdi)
	movslq	%ebx, %rcx
	subq	160(%rdi), %rcx
	movq	%rcx, 152(%rdi)
	addl	%edx, %eax
	addl	$4, %eax
	movl	%eax, 136(%rdi)
	pextrd	$2, %xmm2, 140(%rdi)
	leal	-27(%r11,%rsi), %eax
	movl	%eax, 144(%rdi)
	leal	(%r15,%r9), %eax
	addl	$5, %eax
	movl	%eax, 56(%rdi)
	imull	$60, %r11d, %eax
	cltq
	imulq	$1374389535, %rax, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %r14
	shrq	$63, %r14
	shrq	$32, %rdx
	sarl	$5, %edx
	leal	(%rdx,%r14), %r12d
	movl	%r12d, 60(%rdi)
	movl	%r8d, %ecx
	shll	$6, %ecx
	addl	%r8d, %ecx
	movslq	%ecx, %rcx
	imulq	$1374389535, %rcx, %rbx         ## imm = 0x51EB851F
	movq	%rbx, %rcx
	shrq	$63, %rcx
	shrq	$32, %rbx
	sarl	$5, %ebx
	leal	(%rbx,%rcx), %esi
	movl	%esi, 64(%rdi)
	leal	-5(%r11), %eax
	movl	%eax, 68(%rdi)
	addl	%r12d, %r10d
	movd	%r12d, %xmm1
	pinsrd	$1, %esi, %xmm1
	pinsrd	$2, %r10d, %xmm1
	pinsrd	$3, %esi, %xmm1
	paddd	LCPI0_2(%rip), %xmm1
	movdqu	%xmm1, 76(%rdi)
	leal	5(%rdx,%r14), %eax
	movl	%eax, 92(%rdi)
	leal	-5(%rbx,%rcx), %eax
	movl	%eax, 96(%rdi)
	movl	%r10d, 100(%rdi)
	pextrd	$1, %xmm1, 48(%rdi)
	movl	%r15d, %eax
	addl	%r9d, %eax
	addl	$-8, %r11d
	movl	%r11d, 52(%rdi)
	pshufd	$255, %xmm0, %xmm0              ## xmm0 = xmm0[3,3,3,3]
	pinsrd	$2, %eax, %xmm0
	pinsrd	$3, %r10d, %xmm0
	paddd	LCPI0_3(%rip), %xmm0
	pextrd	$2, %xmm0, 72(%rdi)
	pextrd	$2, %xmm0, %eax
	leal	(%rax,%rsi), %ecx
	addl	$-83, %ecx
                                        ## kill: def $esi killed $esi killed $rsi def $rsi
	addl	%eax, %esi
	shrl	$31, %ecx
	leal	(%rcx,%rsi), %eax
	addl	$-83, %eax
	sarl	%eax
	movl	%eax, 24(%rdi)
	addl	$80, %eax
	movl	%eax, 28(%rdi)
	movdqu	%xmm0, 32(%rdi)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_CalculateItemSize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function CalculateItemSize
lCPI0_0:
	.long	4294967286                      ; 0xfffffff6
	.long	4294967258                      ; 0xffffffda
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_CalculateItemSize:                     ; @CalculateItemSize
	.cfi_startproc
; %bb.0:
	ldp	w11, w8, [x0, #104]
	add	w10, w11, #8
	add	w15, w8, #8
	stp	w10, w15, [x0, #248]
	ldp	w9, w8, [x0, #112]
	sub	w16, w9, #25
	str	w16, [x0, #256]
	sub	w12, w8, #30
	str	w12, [x0, #260]
	ldp	w12, w14, [x0]
	add	w13, w14, w12
	add	w10, w13, w10
	add	w17, w10, #1
	ldp	w12, w10, [x0, #8]
	add	w12, w12, w14
	add	w15, w12, w15
	add	w1, w15, #1
	stp	w17, w1, [x0, #232]
	mvn	w17, w13
	add	w16, w16, w17
	sub	w2, w16, #52
	str	w2, [x0, #264]
	ldp	w2, w3, [x0, #16]
	add	w1, w1, w10
	sub	w1, w1, w2
	stp	w16, w1, [x0, #240]
	add	w15, w15, #3
	str	w15, [x0, #268]
	sub	w15, w16, #2
	str	w15, [x0, #272]
	sub	w15, w1, #2
	str	w15, [x0, #276]
	add	w11, w11, w14
	add	w11, w11, #11
	add	w14, w1, #1
	stp	w11, w14, [x0, #168]
	sub	w15, w9, #10
	sub	w16, w8, #25
	stp	w15, w16, [x0, #176]
	add	w11, w13, w11
	add	w1, w11, #1
	add	w13, w13, w14
	add	w14, w13, #1
	stp	w1, w14, [x0, #200]
	add	w15, w15, w17
	sub	w17, w10, w2
	add	w14, w17, w14
	stp	w15, w14, [x0, #208]
	sub	w17, w15, #52
	add	w13, w13, #3
	stp	w17, w13, [x0, #216]
	sub	w13, w15, #2
	sub	w17, w14, #2
	stp	w13, w17, [x0, #224]
	add	w14, w14, #1
	stp	w1, w14, [x0, #184]
	add	w14, w3, w14
	add	w17, w14, #1
	stp	w15, w17, [x0, #192]
	stp	w1, w17, [x0, #120]
	mvn	w12, w12
	add	w12, w16, w12
	stp	w15, w12, [x0, #128]
	sxtw	x15, w13
	ldr	x16, [x0, #160]
	sub	x15, x15, x16
	str	x15, [x0, #152]
	add	w14, w14, #3
	stp	w14, w13, [x0, #136]
	sub	w12, w12, #2
	str	w12, [x0, #144]
	add	w12, w11, #5
	mov	w13, #60
	mul	w13, w8, w13
	mov	w14, #34079
	movk	w14, #20971, lsl #16
	smull	x13, w13, w14
	lsr	x15, x13, #32
	lsr	x13, x13, #63
	add	w13, w13, w15, asr #5
	stp	w12, w13, [x0, #56]
	add	w9, w9, w9, lsl #6
	smull	x9, w9, w14
	lsr	x12, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w12, asr #5
	sub	w12, w8, #5
	stp	w9, w12, [x0, #64]
	add	w11, w11, #8
	add	w12, w13, #3
	stp	w11, w12, [x0, #72]
	sub	w12, w9, #3
	add	w10, w10, w13
	add	w14, w10, #2
	stp	w12, w14, [x0, #80]
	sub	w14, w9, #21
	add	w13, w13, #5
	stp	w14, w13, [x0, #88]
	sub	w13, w9, #5
	stp	w13, w10, [x0, #96]
	add	w10, w10, #3
	stp	w11, w10, [x0, #40]
	sub	w10, w8, #8
	stp	w12, w10, [x0, #48]
	add	w9, w9, w11
	sub	w10, w9, #83
	sub	w9, w9, #82
	cmp	w10, #0
	csel	w9, w9, w10, lt
	asr	w9, w9, #1
	add	w10, w9, #80
	stp	w9, w10, [x0, #24]
	dup.2s	v0, w8
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	add.2s	v0, v0, v1
	str	d0, [x0, #32]
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_CalculateItemSize
.subsections_via_symbols
