	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yoml__resolve_alias
_yoml__resolve_alias:                   ## @yoml__resolve_alias
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %rdx
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	cmpl	$128, %ecx
	je	LBB0_9
## %bb.1:
	cmpl	$129, %ecx
	je	LBB0_11
## %bb.2:
	cmpl	$131, %ecx
	jne	LBB0_20
## %bb.3:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, 24(%rax)
	je	LBB0_20
## %bb.4:
	movl	$8, %r14d
	xorl	%ecx, %ecx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	movq	32(%rax), %rdi
	addq	%r14, %rdi
	movq	%r15, %rsi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_yoml__resolve_alias
	testl	%eax, %eax
	jne	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rax
	movq	32(%rax), %rax
	leaq	(%rax,%r14), %rdi
	addq	$-8, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %r12
	movq	%r13, %rcx
	callq	_yoml__resolve_alias
	testl	%eax, %eax
	movl	$-1, %ebx
	jne	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	(%r12), %rax
	addq	$16, %r14
	cmpq	24(%rax), %rcx
	jne	LBB0_5
	jmp	LBB0_15
LBB0_9:
	movq	%r13, %r15
	movl	16(%rax), %esi
	movq	%rdx, %rdi
	callq	_yoml_find_anchor
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	movq	%rax, %r13
	movq	(%r12), %rdi
	movl	(%r15), %esi
	callq	_yoml_free
	movq	%r13, (%r12)
	incl	4(%r13)
	jmp	LBB0_20
LBB0_11:
	cmpq	$0, 40(%rax)
	je	LBB0_20
## %bb.12:
	xorl	%ebx, %ebx
	movq	%rdx, %r15
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movslq	48(%rax), %rdi
	addq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_yoml__resolve_alias
	testl	%eax, %eax
	jne	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	movq	(%r12), %rax
	cmpq	40(%rax), %rbx
	jne	LBB0_13
LBB0_15:
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_19:
	movl	$-1, %ebx
	jmp	LBB0_20
LBB0_16:
	movl	$-1, %ebx
	testq	%r14, %r14
	je	LBB0_20
## %bb.17:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r14)
	movq	(%r12), %rax
	movl	12(%rax), %ecx
	movl	%ecx, 12(%r14)
	movl	8(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not resolve the alias"

	.no_dead_strip	_yoml__resolve_alias
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yoml__resolve_alias
_yoml__resolve_alias:                   ; @yoml__resolve_alias
	.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	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #128
	b.eq	LBB0_8
; %bb.1:
	cmp	w9, #129
	b.eq	LBB0_10
; %bb.2:
	cmp	w9, #131
	b.ne	LBB0_14
; %bb.3:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_14
; %bb.4:
	mov	x23, #0
	mov	w24, #8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #32]
	add	x0, x8, x24
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_yoml__resolve_alias
	cbnz	w0, LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, #32]
	add	x8, x8, x24
	sub	x0, x8, #8
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_yoml__resolve_alias
	cbnz	w0, LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldr	x8, [x19]
	ldr	x9, [x8, #24]
	add	x24, x24, #16
	cmp	x23, x9
	b.ne	LBB0_5
	b	LBB0_14
LBB0_8:
	ldr	w1, [x8, #16]
	mov	x0, x22
	bl	_yoml_find_anchor
	cbz	x0, LBB0_15
; %bb.9:
	mov	x22, x0
	ldr	x0, [x19]
	ldr	w1, [x21]
	bl	_yoml_free
	mov	w0, #0
	str	x22, [x19]
	ldr	w8, [x22, #4]
	add	w8, w8, #1
	str	w8, [x22, #4]
	b	LBB0_18
LBB0_10:
	ldr	x9, [x8, #40]
	cbz	x9, LBB0_14
; %bb.11:
	mov	x23, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x8, #48]
	add	x0, x23, x8
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_yoml__resolve_alias
	cbnz	w0, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #1
	ldr	x8, [x19]
	ldr	x9, [x8, #40]
	cmp	x23, x9
	b.ne	LBB0_12
LBB0_14:
	mov	w0, #0
	b	LBB0_18
LBB0_15:
	cbz	x20, LBB0_17
; %bb.16:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x20]
	ldr	x8, [x19]
	ldr	d0, [x8, #8]
	str	d0, [x20, #8]
LBB0_17:
	mov	w0, #-1
LBB0_18:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not resolve the alias"

	.no_dead_strip	_yoml__resolve_alias
.subsections_via_symbols
