	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flatten_headers_estimate_size
_flatten_headers_estimate_size:         ## @flatten_headers_estimate_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_strlen
	cltq
	addq	%r14, %rax
	addq	$85, %rax
	movslq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movq	8(%rbx), %rdx
	shlq	$4, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdx,%rsi), %rdi
	addq	(%rdi), %rax
	movq	(%rdx,%rsi), %rdi
	addq	%rdi, %rax
	addq	$4, %rax
	addq	$16, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_flatten_headers_estimate_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flatten_headers_estimate_size
_flatten_headers_estimate_size:         ; @flatten_headers_estimate_size
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_strlen
	add	x8, x20, w0, sxtw
	add	x0, x8, #85
	ldrsw	x9, [x19]
	cbz	w9, LBB0_8
; %bb.1:
	ldr	x10, [x19, #8]
	sub	x8, x9, #1
	and	x8, x8, #0xfffffffffffffff
	cmp	x8, #3
	b.hs	LBB0_3
; %bb.2:
	mov	x8, x10
	b	LBB0_6
LBB0_3:
	mov	x13, #0
	mov	x14, #0
	mov	x15, #0
	add	x11, x8, #1
	and	x12, x11, #0x1ffffffffffffffc
	add	x8, x10, x12, lsl #4
	add	x16, x10, #32
	mov	x17, x12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x2, x1, [x16, #-32]
	ldr	x1, [x1]
	ldp	x4, x3, [x16, #-16]
	ldr	x3, [x3]
	ldp	x6, x5, [x16]
	ldr	x5, [x5]
	ldp	x19, x7, [x16, #16]
	add	x0, x0, x1
	add	x0, x0, x2
	add	x13, x13, x3
	add	x13, x13, x4
	add	x14, x14, x5
	add	x14, x14, x6
	ldr	x1, [x7]
	add	x15, x15, x1
	add	x15, x15, x19
	add	x0, x0, #4
	add	x13, x13, #4
	add	x14, x14, #4
	add	x15, x15, #4
	add	x16, x16, #64
	subs	x17, x17, #4
	b.ne	LBB0_4
; %bb.5:
	add	x13, x13, x0
	add	x13, x14, x13
	add	x0, x15, x13
	cmp	x11, x12
	b.eq	LBB0_8
LBB0_6:
	add	x9, x10, x9, lsl #4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x11, x10, [x8], #16
	ldr	x10, [x10]
	add	x10, x0, x10
	add	x10, x10, x11
	add	x0, x10, #4
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_8:
	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	_flatten_headers_estimate_size
.subsections_via_symbols
