	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucl_msgpack_parse_string
_ucl_msgpack_parse_string:              ## @ucl_msgpack_parse_string
	.cfi_startproc
## %bb.0:
	movl	$-1, %eax
	cmpq	%r9, %rdx
	ja	LBB0_10
## %bb.1:
	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	%r8, %r15
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	_UCL_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r14), %rax
	movl	(%rax), %esi
	callq	_ucl_object_new_full
	movq	%rax, %r13
	movq	%r15, 24(%rax)
	movq	%r12, (%rax)
	movq	_msgpack_bin8@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	ja	LBB0_4
## %bb.2:
	movq	_msgpack_bin32@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jb	LBB0_4
## %bb.3:
	movq	_UCL_OBJECT_BINARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r13)
LBB0_4:
	movq	_UCL_PARSER_ZEROCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_5
LBB0_9:
	movq	%r13, 8(%r14)
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_10:
	retq
LBB0_5:
	movq	_UCL_OBJECT_BINARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r13)
	je	LBB0_8
## %bb.6:
	movq	%r12, %rdi
	callq	_malloc
	movq	16(%r13), %rcx
	movq	_UCL_TRASH_VALUE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	16(%r13), %rax
	movq	(%rax,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.7:
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_memcpy
	jmp	LBB0_9
LBB0_8:
	movq	%r13, %rdi
	callq	_ucl_copy_value_trash
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_UCL_STRING,4,2                 ## @UCL_STRING
	.comm	_msgpack_bin8,4,2               ## @msgpack_bin8
	.comm	_msgpack_bin32,4,2              ## @msgpack_bin32
	.comm	_UCL_OBJECT_BINARY,4,2          ## @UCL_OBJECT_BINARY
	.comm	_UCL_PARSER_ZEROCOPY,4,2        ## @UCL_PARSER_ZEROCOPY
	.comm	_UCL_TRASH_VALUE,8,3            ## @UCL_TRASH_VALUE
	.no_dead_strip	_ucl_msgpack_parse_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucl_msgpack_parse_string
_ucl_msgpack_parse_string:              ; @ucl_msgpack_parse_string
	.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
	cmp	x2, x5
	b.ls	LBB0_2
; %bb.1:
	mov	w19, #-1
	b	LBB0_6
LBB0_2:
	mov	x21, x4
	mov	x23, x3
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _UCL_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UCL_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x20, #16]
	ldr	w1, [x8]
	bl	_ucl_object_new_full
	mov	x22, x0
	str	x21, [x0, #24]
	str	x19, [x0]
Lloh3:
	adrp	x8, _msgpack_bin8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _msgpack_bin8@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _msgpack_bin32@GOTPAGE
Lloh7:
	ldr	x9, [x9, _msgpack_bin32@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w23
	ccmp	w9, w23, #0, ls
	b.lo	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _UCL_OBJECT_BINARY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UCL_OBJECT_BINARY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x22, #8]
	orr	w8, w9, w8
	str	w8, [x22, #8]
LBB0_4:
	ldr	w8, [x20]
Lloh12:
	adrp	x9, _UCL_PARSER_ZEROCOPY@GOTPAGE
Lloh13:
	ldr	x9, [x9, _UCL_PARSER_ZEROCOPY@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_5:
	str	x22, [x20, #8]
LBB0_6:
	mov	x0, x19
	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
LBB0_7:
	ldr	w8, [x22, #8]
Lloh15:
	adrp	x9, _UCL_OBJECT_BINARY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _UCL_OBJECT_BINARY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_malloc
	ldr	x8, [x22, #16]
Lloh18:
	adrp	x9, _UCL_TRASH_VALUE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _UCL_TRASH_VALUE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x22, #16]
	ldr	x0, [x8, x9]
	cbz	x0, LBB0_5
; %bb.9:
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	b	LBB0_5
LBB0_10:
	mov	x0, x22
	bl	_ucl_copy_value_trash
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_UCL_STRING,4,2                 ; @UCL_STRING
	.comm	_msgpack_bin8,4,2               ; @msgpack_bin8
	.comm	_msgpack_bin32,4,2              ; @msgpack_bin32
	.comm	_UCL_OBJECT_BINARY,4,2          ; @UCL_OBJECT_BINARY
	.comm	_UCL_PARSER_ZEROCOPY,4,2        ; @UCL_PARSER_ZEROCOPY
	.comm	_UCL_TRASH_VALUE,8,3            ; @UCL_TRASH_VALUE
	.no_dead_strip	_ucl_msgpack_parse_string
.subsections_via_symbols
