	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ucl_parse_msgpack              ## -- Begin function ucl_parse_msgpack
	.p2align	4, 0x90
_ucl_parse_msgpack:                     ## @ucl_parse_msgpack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 32(%rbx)
	setne	%dil
	callq	_assert
	movq	32(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	callq	_assert
	movq	32(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	setne	%dil
	callq	_assert
	movq	24(%rbx), %rcx
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%rcx)
	jne	LBB0_4
LBB0_2:
	cmpb	$0, (%rax)
	js	LBB0_4
## %bb.3:
	addq	$16, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ucl_create_err
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	callq	_ucl_msgpack_consume
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	cmpq	$0, 8(%rbx)
	jne	LBB0_8
## %bb.6:
	movq	(%rbx), %rcx
	movq	%rcx, 8(%rbx)
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad top level object for msgpack"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ucl_parse_msgpack              ; -- Begin function ucl_parse_msgpack
	.p2align	2
_ucl_parse_msgpack:                     ; @ucl_parse_msgpack
	.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
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19, #32]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19, #32]
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldp	x9, x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	x9, [x9]
	cbnz	x9, LBB0_4
LBB0_2:
	ldrsb	w8, [x8]
	tbnz	w8, #31, LBB0_4
; %bb.3:
	add	x0, x19, #16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ucl_create_err
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_ucl_msgpack_consume
	cbz	w0, LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_7
; %bb.6:
	ldr	x8, [x19]
	str	x8, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad top level object for msgpack"

.subsections_via_symbols
