	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucl_msgpack_insert_object
_ucl_msgpack_insert_object:             ## @ucl_msgpack_insert_object
	.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, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	8(%rdi), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	setg	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
	callq	_assert
	movq	8(%rbx), %rdi
	movq	(%rdi), %rax
	movq	_UCL_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rsi
	callq	_ucl_array_append
LBB0_10:
	movl	(%rbx), %ecx
	movq	_MSGPACK_CONTAINER_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %eax
	testl	%ecx, %edx
	je	LBB0_12
## %bb.11:
	movl	%edx, %esi
	notl	%esi
	andl	%esi, %ecx
	decl	%ecx
	orl	%edx, %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_12
LBB0_2:
	movq	_UCL_OBJECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.3:
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	testq	%r15, %r15
	je	LBB0_5
## %bb.7:
	movq	%r12, (%r14)
	movq	%r15, 8(%r14)
	movq	_UCL_PARSER_ZEROCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_ucl_copy_key_trash
LBB0_9:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ucl_parser_process_object_element
	jmp	LBB0_10
LBB0_13:
	addq	$4, %r13
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_5:
	addq	$4, %r13
	leaq	L_.str(%rip), %rsi
LBB0_6:
	movq	%r13, %rdi
	callq	_ucl_create_err
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UCL_ARRAY,8,3                  ## @UCL_ARRAY
	.comm	_UCL_OBJECT,8,3                 ## @UCL_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot insert object with no key"

	.comm	_UCL_PARSER_ZEROCOPY,4,2        ## @UCL_PARSER_ZEROCOPY
L_.str.1:                               ## @.str.1
	.asciz	"bad container type"

	.comm	_MSGPACK_CONTAINER_BIT,4,2      ## @MSGPACK_CONTAINER_BIT
	.no_dead_strip	_ucl_msgpack_insert_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucl_msgpack_insert_object
_ucl_msgpack_insert_object:             ; @ucl_msgpack_insert_object
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x23, [x0, #8]
	cmp	x23, #0
	cset	w0, ne
	bl	_assert
	ldr	w8, [x23]
	cmp	w8, #0
	cset	w0, gt
	bl	_assert
	cmp	x19, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x23, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x0, [x23, #8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _UCL_ARRAY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UCL_ARRAY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x1, x19
	bl	_ucl_array_append
LBB0_2:
	ldr	w8, [x23]
Lloh3:
	adrp	x9, _MSGPACK_CONTAINER_BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MSGPACK_CONTAINER_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	bic	w8, w8, w9
	sub	w8, w8, #1
	orr	w8, w8, w9
	str	w8, [x23]
LBB0_4:
	mov	w0, #1
	b	LBB0_14
LBB0_5:
Lloh6:
	adrp	x9, _UCL_OBJECT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _UCL_OBJECT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
	cbz	x22, LBB0_12
; %bb.7:
	cbz	x21, LBB0_12
; %bb.8:
	stp	x22, x21, [x19]
	ldr	w8, [x20]
Lloh9:
	adrp	x9, _UCL_PARSER_ZEROCOPY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UCL_PARSER_ZEROCOPY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_ucl_copy_key_trash
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	bl	_ucl_parser_process_object_element
	b	LBB0_2
LBB0_11:
	add	x0, x20, #4
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
	add	x0, x20, #4
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
LBB0_13:
	bl	_ucl_create_err
	mov	w0, #0
LBB0_14:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_UCL_ARRAY,8,3                  ; @UCL_ARRAY
	.comm	_UCL_OBJECT,8,3                 ; @UCL_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot insert object with no key"

	.comm	_UCL_PARSER_ZEROCOPY,4,2        ; @UCL_PARSER_ZEROCOPY
l_.str.1:                               ; @.str.1
	.asciz	"bad container type"

	.comm	_MSGPACK_CONTAINER_BIT,4,2      ; @MSGPACK_CONTAINER_BIT
	.no_dead_strip	_ucl_msgpack_insert_object
.subsections_via_symbols
