	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unserialize_string
_unserialize_string:                    ## @unserialize_string
	.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	%rcx, -48(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %r13
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	cmpq	$0, 16(%rbp)
	je	LBB0_10
## %bb.2:
	movq	%r8, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%r9, %r9
	je	LBB0_5
## %bb.3:
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_unserialize_dword
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	-48(%rbp), %rcx
LBB0_5:
	imulq	%r14, %rcx
	movq	(%r15), %rax
	addq	%rcx, %rax
	cmpq	%r12, %rax
	jg	LBB0_10
## %bb.6:
	movq	%rcx, %rdi
	callq	_CryptMemAlloc
	movq	16(%rbp), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	24(%rbp), %r12
	movq	(%r15), %rcx
	leaq	(%rbx,%rcx,4), %rsi
	movq	-48(%rbp), %rdx
	imulq	%r14, %rdx
	movq	%rax, %rdi
	callq	_memcpy
	movq	-48(%rbp), %rax
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:
	movq	%rax, (%r12)
LBB0_9:
	imulq	%r14, %rax
	addq	%rax, (%r15)
	movq	_TRUE@GOTPCREL(%rip), %r13
LBB0_10:
	movq	(%r13), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_unserialize_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unserialize_string
_unserialize_string:                    ; @unserialize_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	x3, [sp, #8]
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cbz	x0, LBB0_11
; %bb.1:
	mov	x22, x6
	cbz	x6, LBB0_11
; %bb.2:
	mov	x20, x7
	mov	x19, x4
	mov	x24, x2
	mov	x21, x1
	mov	x23, x0
	cbz	x5, LBB0_5
; %bb.3:
	add	x3, sp, #8
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	bl	_unserialize_dword
	cbz	w0, LBB0_10
; %bb.4:
	ldr	x3, [sp, #8]
LBB0_5:
	ldr	x8, [x21]
	mul	x0, x3, x19
	add	x8, x0, x8
	cmp	x8, x24
	b.gt	LBB0_10
; %bb.6:
	bl	_CryptMemAlloc
	str	x0, [x22]
	cbz	x0, LBB0_10
; %bb.7:
	ldr	x8, [x21]
	add	x1, x23, x8, lsl #2
	ldr	x8, [sp, #8]
	mul	x2, x8, x19
	bl	_memcpy
	ldr	x8, [sp, #8]
	cbz	x20, LBB0_9
; %bb.8:
	str	x8, [x20]
LBB0_9:
	ldr	x9, [x21]
	madd	x8, x8, x19, x9
	str	x8, [x21]
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_11:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_unserialize_string
.subsections_via_symbols
