	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ucl_parser_add_chunk_full      ## -- Begin function ucl_parser_add_chunk_full
	.p2align	4, 0x90
_ucl_parser_add_chunk_full:             ## @ucl_parser_add_chunk_full
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%r9d, %r12d
	movl	%r8d, %r13d
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	jne	LBB0_5
## %bb.3:
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	addq	$16, %rbx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_24
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_25
LBB0_5:
	movq	(%rbx), %rax
	movq	_UCL_STATE_ERROR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_6
## %bb.23:
	addq	$16, %rbx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_24
LBB0_6:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	$56, %edi
	callq	_UCL_ALLOC
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	testq	%r15, %r15
	je	LBB0_9
## %bb.10:
	movq	_UCL_PARSE_AUTO@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jne	LBB0_13
## %bb.11:
	movb	(%r14), %cl
	movl	%ecx, %edx
	andb	$-4, %dl
	movl	$129, %r12d
	cmpb	$-36, %dl
	je	LBB0_13
## %bb.12:
	xorl	%edx, %edx
	cmpb	$40, %cl
	sete	%dl
	leal	(%rdx,%rdx), %r12d
	addl	$128, %r12d
	jmp	LBB0_13
LBB0_7:
	addq	$16, %rbx
	leaq	L_.str.1(%rip), %rsi
LBB0_24:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_ucl_create_err
LBB0_25:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_13:
	movq	%r14, (%rax)
	movq	%r15, 8(%rax)
	movq	%r14, 16(%rax)
	addq	%r15, %r14
	movq	%r14, 24(%rax)
	movl	$1, 32(%rax)
	movq	$0, 48(%rax)
	movl	%esi, 36(%rax)
	movl	%r13d, 40(%rax)
	movl	%r12d, 44(%rax)
	movl	32(%rbx), %edi
	movq	%rax, %rsi
	callq	_LL_PREPEND
	movq	8(%rbx), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rbx)
	movq	_UCL_MAX_RECURSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_14
## %bb.15:
	testq	%r15, %r15
	je	LBB0_21
## %bb.16:
	movq	%rbx, %rdi
	addq	$8, %rsp
	cmpl	$129, %r12d
	je	LBB0_19
## %bb.17:
	cmpl	$130, %r12d
	jne	LBB0_18
## %bb.20:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ucl_parse_csexp                ## TAILCALL
LBB0_14:
	addq	$16, %rbx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_ucl_create_err
	jmp	LBB0_25
LBB0_21:
	movl	$1, %r14d
	cmpq	$0, 24(%rbx)
	jne	LBB0_25
## %bb.22:
	movq	_UCL_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ucl_object_new_full
	movq	%rax, 24(%rbx)
	jmp	LBB0_25
LBB0_19:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ucl_parse_msgpack              ## TAILCALL
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ucl_state_machine              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid chunk added"

	.comm	_UCL_STATE_ERROR,8,3            ## @UCL_STATE_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"cannot allocate chunk structure"

	.comm	_UCL_PARSE_AUTO,4,2             ## @UCL_PARSE_AUTO
	.comm	_UCL_MAX_RECURSION,8,3          ## @UCL_MAX_RECURSION
L_.str.2:                               ## @.str.2
	.asciz	"maximum include nesting limit is reached: %d"

	.comm	_UCL_OBJECT,4,2                 ## @UCL_OBJECT
L_.str.3:                               ## @.str.3
	.asciz	"a parser is in an invalid state"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ucl_parser_add_chunk_full      ; -- Begin function ucl_parser_add_chunk_full
	.p2align	2
_ucl_parser_add_chunk_full:             ; @ucl_parser_add_chunk_full
	.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
	cbz	x0, LBB0_18
; %bb.1:
	mov	x21, x5
	mov	x23, x4
	mov	x20, x3
	mov	x22, x2
	mov	x24, x1
	mov	x19, x0
	cbnz	x1, LBB0_4
; %bb.2:
	cbz	x22, LBB0_4
; %bb.3:
	add	x0, x19, #16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_17
LBB0_4:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _UCL_STATE_ERROR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _UCL_STATE_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	add	x0, x19, #16
Lloh5:
	adrp	x1, l_.str.3@PAGE
Lloh6:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_6:
	mov	w0, #56
	bl	_UCL_ALLOC
	cbz	x0, LBB0_15
; %bb.7:
	mov	x1, x0
	cbz	x22, LBB0_10
; %bb.8:
Lloh7:
	adrp	x8, _UCL_PARSE_AUTO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UCL_PARSE_AUTO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_10
; %bb.9:
	ldrb	w8, [x24]
	and	w9, w8, #0xfc
	mov	w10, #129
	mov	w11, #128
	mov	w12, #130
	cmp	w8, #40
	csel	w8, w12, w11, eq
	cmp	w9, #220
	csel	w21, w10, w8, eq
LBB0_10:
	stp	x24, x22, [x1]
	add	x8, x24, x22
	stp	x24, x8, [x1, #16]
	mov	w8, #1
	str	xzr, [x1, #48]
	stp	w8, w20, [x1, #32]
	stp	w23, w21, [x1, #40]
	ldr	w0, [x19, #32]
	bl	_LL_PREPEND
	ldr	x9, [x19, #8]
	add	x8, x9, #1
	str	x8, [x19, #8]
Lloh10:
	adrp	x10, _UCL_MAX_RECURSION@GOTPAGE
Lloh11:
	ldr	x10, [x10, _UCL_MAX_RECURSION@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_16
; %bb.11:
	cbz	x22, LBB0_19
; %bb.12:
	mov	x0, x19
	cmp	w21, #129
	b.eq	LBB0_21
; %bb.13:
	cmp	w21, #130
	b.ne	LBB0_22
; %bb.14:
	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
	b	_ucl_parse_csexp
LBB0_15:
	add	x0, x19, #16
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_16:
	add	x0, x19, #16
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_17:
	bl	_ucl_create_err
	mov	w0, #0
LBB0_18:
	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
LBB0_19:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_23
; %bb.20:
	mov	w0, #1
	b	LBB0_18
LBB0_21:
	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
	b	_ucl_parse_msgpack
LBB0_22:
	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
	b	_ucl_state_machine
LBB0_23:
Lloh17:
	adrp	x8, _UCL_OBJECT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UCL_OBJECT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_ucl_object_new_full
	str	x0, [x19, #24]
	mov	w0, #1
	b	LBB0_18
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid chunk added"

	.comm	_UCL_STATE_ERROR,8,3            ; @UCL_STATE_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"cannot allocate chunk structure"

	.comm	_UCL_PARSE_AUTO,4,2             ; @UCL_PARSE_AUTO
	.comm	_UCL_MAX_RECURSION,8,3          ; @UCL_MAX_RECURSION
l_.str.2:                               ; @.str.2
	.asciz	"maximum include nesting limit is reached: %d"

	.comm	_UCL_OBJECT,4,2                 ; @UCL_OBJECT
l_.str.3:                               ; @.str.3
	.asciz	"a parser is in an invalid state"

.subsections_via_symbols
