	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucl_msgpack_get_container
_ucl_msgpack_get_container:             ## @ucl_msgpack_get_container
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_assert
	movq	_MSGPACK_FLAG_CONTAINER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.1:
	movq	_MSGPACK_CONTAINER_BIT@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	movl	(%r12), %eax
	andl	%r14d, %eax
	sete	%dil
	callq	_assert
	movq	(%r15), %rbx
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.4:
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rbx, 8(%rax)
	movq	%rax, (%r15)
	jmp	LBB0_6
LBB0_7:
	movq	(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	addq	$8, %r15
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_2:
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	orl	(%r12), %r14d
	movl	%r14d, (%rax)
	jmp	LBB0_10
LBB0_3:
	addq	$8, %r15
	leaq	L_.str(%rip), %rsi
LBB0_9:
	movq	%r15, %rdi
	callq	_ucl_create_err
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSGPACK_FLAG_CONTAINER,4,2     ## @MSGPACK_FLAG_CONTAINER
	.comm	_MSGPACK_CONTAINER_BIT,4,2      ## @MSGPACK_CONTAINER_BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no memory"

L_.str.1:                               ## @.str.1
	.asciz	"bad top level object for msgpack"

	.comm	_MSGPACK_FLAG_ASSOC,4,2         ## @MSGPACK_FLAG_ASSOC
	.comm	_stderr,4,2                     ## @stderr
	.no_dead_strip	_ucl_msgpack_get_container
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucl_msgpack_get_container
_ucl_msgpack_get_container:             ; @ucl_msgpack_get_container
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_assert
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _MSGPACK_FLAG_CONTAINER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSGPACK_FLAG_CONTAINER@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x21, _MSGPACK_CONTAINER_BIT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MSGPACK_CONTAINER_BIT@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w20
	cset	w0, eq
	bl	_assert
	ldr	x22, [x19]
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	cbz	x22, LBB0_6
; %bb.2:
	cbz	x0, LBB0_8
; %bb.3:
	str	x22, [x0, #8]
	str	x0, [x19]
	b	LBB0_7
LBB0_4:
	ldr	x0, [x19]
	cbnz	x0, LBB0_10
; %bb.5:
	add	x0, x19, #8
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_6:
	str	x0, [x19]
	cbz	x0, LBB0_8
LBB0_7:
	ldr	w8, [x21]
	orr	w8, w8, w20
	str	w8, [x0]
	b	LBB0_10
LBB0_8:
	add	x0, x19, #8
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
LBB0_9:
	bl	_ucl_create_err
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MSGPACK_FLAG_CONTAINER,4,2     ; @MSGPACK_FLAG_CONTAINER
	.comm	_MSGPACK_CONTAINER_BIT,4,2      ; @MSGPACK_CONTAINER_BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no memory"

l_.str.1:                               ; @.str.1
	.asciz	"bad top level object for msgpack"

	.comm	_MSGPACK_FLAG_ASSOC,4,2         ; @MSGPACK_FLAG_ASSOC
	.comm	_stderr,4,2                     ; @stderr
	.no_dead_strip	_ucl_msgpack_get_container
.subsections_via_symbols
