	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_emeta_len
_calc_emeta_len:                        ## @calc_emeta_len
	.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	%rdi, %rbx
	movq	(%rdi), %r14
	movl	24(%rdi), %edi
	addl	$8, %edi
	movl	(%r14), %esi
	callq	_DIV_ROUND_UP
	movq	16(%rbx), %rcx
	movl	%eax, 4(%rcx)
	imull	(%r14), %eax
	movq	32(%rbx), %rdx
	movl	%eax, 4(%rdx)
	movl	44(%rbx), %edi
	subl	(%rcx), %edi
	movl	%edi, 40(%rbx)
	shll	$2, %edi
	movl	(%r14), %esi
	callq	_DIV_ROUND_UP
	movq	16(%rbx), %rcx
	movl	%eax, 8(%rcx)
	imull	(%r14), %eax
	movq	32(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movl	8(%rbx), %edi
	shll	$2, %edi
	movl	(%r14), %esi
	callq	_DIV_ROUND_UP
	movq	16(%rbx), %rcx
	movl	%eax, 12(%rcx)
	imull	(%r14), %eax
	movq	32(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movl	8(%rbx), %eax
	shll	$2, %eax
	movl	%eax, 48(%rbx)
	movl	8(%rcx), %eax
	addl	4(%rcx), %eax
	addl	12(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calc_emeta_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_emeta_len
_calc_emeta_len:                        ; @calc_emeta_len
	.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, x0
	ldr	x20, [x0]
	ldr	w8, [x0, #24]
	add	w0, w8, #8
	ldr	w1, [x20]
	bl	_DIV_ROUND_UP
	ldr	x8, [x19, #16]
	str	w0, [x8, #4]
	ldr	w9, [x20]
	mul	w9, w9, w0
	ldr	x10, [x19, #32]
	str	w9, [x10, #4]
	ldr	w9, [x19, #44]
	ldr	w8, [x8]
	sub	w8, w9, w8
	str	w8, [x19, #40]
	lsl	w0, w8, #2
	ldr	w1, [x20]
	bl	_DIV_ROUND_UP
	ldr	x8, [x19, #16]
	str	w0, [x8, #8]
	ldr	w8, [x20]
	mul	w8, w8, w0
	ldr	x9, [x19, #32]
	str	w8, [x9, #8]
	ldr	w8, [x19, #8]
	lsl	w0, w8, #2
	ldr	w1, [x20]
	bl	_DIV_ROUND_UP
	ldr	x8, [x19, #16]
	str	w0, [x8, #12]
	ldr	w8, [x20]
	mul	w8, w8, w0
	ldr	x9, [x19, #32]
	str	w8, [x9, #12]
	ldr	w8, [x19, #8]
	lsl	w8, w8, #2
	str	w8, [x19, #48]
	ldp	w8, w10, [x9, #4]
	ldr	w9, [x9, #12]
	add	w8, w10, w8
	add	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_calc_emeta_len
.subsections_via_symbols
