	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucl_schema_resolve_ref_component
_ucl_schema_resolve_ref_component:      ## @ucl_schema_resolve_ref_component
	.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	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	_UCL_OBJECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ucl_object_lookup_len
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.2:
	movq	_UCL_SCHEMA_INVALID_SCHEMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_3
LBB0_4:
	movq	_UCL_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.5:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtoul
	movl	%eax, %r13d
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movb	(%rax), %al
	testb	%al, %al
	je	LBB0_9
## %bb.7:
	cmpb	$47, %al
	jne	LBB0_8
LBB0_9:
	movq	%r12, %rdi
	callq	_ucl_array_head
	movq	%rax, %rbx
	testl	%r13d, %r13d
	setne	%al
	testq	%rbx, %rbx
	setne	%cl
	testb	%al, %cl
	jne	LBB0_11
## %bb.10:
	testq	%rbx, %rbx
	jne	LBB0_14
LBB0_11:
	movq	_UCL_SCHEMA_INVALID_SCHEMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r12, %rdx
	movq	%r15, %r8
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_ucl_schema_create_error
	jmp	LBB0_14
LBB0_12:
	movq	_UCL_SCHEMA_INVALID_SCHEMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_8:
	movq	_UCL_SCHEMA_INVALID_SCHEMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rcx
LBB0_3:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r12, %rdx
LBB0_13:
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_ucl_schema_create_error
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UCL_OBJECT,8,3                 ## @UCL_OBJECT
	.comm	_UCL_SCHEMA_INVALID_SCHEMA,4,2  ## @UCL_SCHEMA_INVALID_SCHEMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reference %s is invalid, missing path component"

	.comm	_UCL_ARRAY,8,3                  ## @UCL_ARRAY
L_.str.1:                               ## @.str.1
	.asciz	"reference %s is invalid, invalid item number"

L_.str.2:                               ## @.str.2
	.asciz	"reference %s is invalid, item number %d does not exist"

L_.str.3:                               ## @.str.3
	.asciz	"reference %s is invalid, contains primitive object in the path"

	.no_dead_strip	_ucl_schema_resolve_ref_component
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucl_schema_resolve_ref_component
_ucl_schema_resolve_ref_component:      ; @ucl_schema_resolve_ref_component
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x3
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _UCL_OBJECT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UCL_OBJECT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_ucl_object_lookup_len
	cbnz	x0, LBB0_14
; %bb.2:
Lloh3:
	adrp	x8, _UCL_SCHEMA_INVALID_SCHEMA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UCL_SCHEMA_INVALID_SCHEMA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_12
LBB0_3:
Lloh8:
	adrp	x9, _UCL_ARRAY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _UCL_ARRAY@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.4:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #10
	bl	_strtoul
	mov	x22, x0
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_7
; %bb.5:
	ldrb	w8, [x8]
	cbz	w8, LBB0_7
; %bb.6:
	cmp	w8, #47
	b.ne	LBB0_11
LBB0_7:
	mov	x0, x21
	bl	_ucl_array_head
	cmp	w22, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_9
; %bb.8:
	cbnz	x0, LBB0_14
LBB0_9:
Lloh11:
	adrp	x8, _UCL_SCHEMA_INVALID_SCHEMA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UCL_SCHEMA_INVALID_SCHEMA@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x3, l_.str.2@PAGE
Lloh15:
	add	x3, x3, l_.str.2@PAGEOFF
	str	x22, [sp]
	b	LBB0_12
LBB0_10:
Lloh16:
	adrp	x8, _UCL_SCHEMA_INVALID_SCHEMA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UCL_SCHEMA_INVALID_SCHEMA@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x3, l_.str.3@PAGE
Lloh20:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	b	LBB0_13
LBB0_11:
Lloh21:
	adrp	x8, _UCL_SCHEMA_INVALID_SCHEMA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UCL_SCHEMA_INVALID_SCHEMA@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x3, l_.str.1@PAGE
Lloh25:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_12:
	mov	x0, x20
	mov	x2, x21
LBB0_13:
	mov	x4, x19
	bl	_ucl_schema_create_error
	mov	x0, #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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_UCL_OBJECT,8,3                 ; @UCL_OBJECT
	.comm	_UCL_SCHEMA_INVALID_SCHEMA,4,2  ; @UCL_SCHEMA_INVALID_SCHEMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reference %s is invalid, missing path component"

	.comm	_UCL_ARRAY,8,3                  ; @UCL_ARRAY
l_.str.1:                               ; @.str.1
	.asciz	"reference %s is invalid, invalid item number"

l_.str.2:                               ; @.str.2
	.asciz	"reference %s is invalid, item number %d does not exist"

l_.str.3:                               ; @.str.3
	.asciz	"reference %s is invalid, contains primitive object in the path"

	.no_dead_strip	_ucl_schema_resolve_ref_component
.subsections_via_symbols
