	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_lf_vtshape
_parse_lf_vtshape:                      ## @parse_lf_vtshape
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	(%rdx), %r15d
	movq	$0, (%rdi)
	movl	8(%rdi), %edx
	movq	_ut16@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r15d, %edi
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %esi
	movq	%r13, %rcx
	callq	_READ2
	movl	8(%rbx), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	andl	$1073741822, %ecx               ## imm = 0x3FFFFFFE
	movl	%eax, %edx
	subl	%ecx, %edx
	addl	%eax, %edx
	leal	7(,%rdx,4), %r14d
	movl	%edx, %eax
	shll	$2, %eax
	testl	%eax, %eax
	cmovnsl	%eax, %r14d
	sarl	$3, %r14d
	movl	%r14d, %edi
	callq	_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, %r15d
	addq	%r13, %r15
	addl	(%r12), %r14d
	movl	%r14d, (%r12)
	movl	12(%rbx), %edx
	movq	_ut8@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r14d, %edi
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movq	%r15, %rcx
	callq	_PEEK_READ1
	movl	12(%rbx), %edi
	movl	(%r12), %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_PAD_ALIGN
	movl	(%r12), %eax
	subl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ut16,4,2                       ## @ut16
	.comm	_ut8,4,2                        ## @ut8
	.no_dead_strip	_parse_lf_vtshape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_lf_vtshape
_parse_lf_vtshape:                      ; @parse_lf_vtshape
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x19, x2
	mov	x23, x1
	mov	x22, x0
	ldr	w21, [x2]
	str	xzr, [x0]
	ldr	w2, [x0, #8]
Lloh0:
	adrp	x8, _ut16@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ut16@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x3
	mov	x3, x23
	bl	_READ2
	ldr	w8, [x22, #8]
	and	w9, w8, #0x1
	cmp	w8, #0
	cneg	w9, w9, lt
	add	w8, w9, w8
	lsl	w8, w8, #2
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w24, w8, #3
	mov	x0, x24
	bl	_malloc
	str	x0, [x22]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x23
	mov	x2, x24
	bl	_memcpy
	add	x23, x23, w24, uxtw
	ldr	w8, [x19]
	add	w0, w8, w24
	str	w0, [x19]
	ldr	w2, [x22, #12]
Lloh3:
	adrp	x8, _ut8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ut8@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x1, x20
	mov	x3, x23
	bl	_PEEK_READ1
	ldr	w0, [x22, #12]
	ldr	w1, [x19]
	mov	x2, x23
	mov	x3, x20
	bl	_PAD_ALIGN
	ldr	w8, [x19]
	sub	w0, w8, w21
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ut16,4,2                       ; @ut16
	.comm	_ut8,4,2                        ; @ut8
	.no_dead_strip	_parse_lf_vtshape
.subsections_via_symbols
