	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yoml__resolve_tag
_yoml__resolve_tag:                     ## @yoml__resolve_tag
	.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	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rdx), %rax
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_21
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	48(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	8(%r14), %edx
	movq	%r12, %rsi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	movq	%rax, %r12
	movq	(%rbx), %rdi
	movl	(%r14), %esi
	callq	_yoml_free
	movq	%r12, (%rbx)
LBB0_4:
	movl	(%r12), %eax
	cmpl	$131, %eax
	je	LBB0_11
## %bb.5:
	cmpl	$129, %eax
	jne	LBB0_21
## %bb.6:
	cmpq	$0, 24(%r12)
	je	LBB0_21
## %bb.7:
	movq	%r15, %r14
	movq	%rbx, %r15
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movslq	32(%r12), %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_yoml__resolve_tag
	testl	%eax, %eax
	jne	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movq	(%r15), %r12
	cmpq	24(%r12), %rbx
	jne	LBB0_8
	jmp	LBB0_10
LBB0_11:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%r12)
	je	LBB0_21
## %bb.12:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$8, %r14d
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rdi
	addq	%r14, %rdi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_yoml__resolve_tag
	testl	%eax, %eax
	jne	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rax
	movq	16(%rax), %rax
	leaq	(%rax,%r14), %rdi
	addq	$-8, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_yoml__resolve_tag
	testl	%eax, %eax
	movl	$-1, %r13d
	jne	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%r15
	movq	(%r12), %r12
	addq	$16, %r14
	cmpq	8(%r12), %r15
	jne	LBB0_13
LBB0_10:
	xorl	%r13d, %r13d
	jmp	LBB0_21
LBB0_17:
	movl	$-1, %r13d
	testq	%r15, %r15
	je	LBB0_21
## %bb.18:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r15)
	movq	(%rbx), %rax
	movl	44(%rax), %ecx
	movl	%ecx, 12(%r15)
	movl	40(%rax), %eax
	movl	%eax, 8(%r15)
	jmp	LBB0_21
LBB0_20:
	movl	$-1, %r13d
LBB0_21:
	movl	%r13d, %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	"tag resolution failed"

	.no_dead_strip	_yoml__resolve_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yoml__resolve_tag
_yoml__resolve_tag:                     ; @yoml__resolve_tag
	.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
	ldr	x8, [x2, #16]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x0]
	ldr	x0, [x22, #48]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w2, [x21, #8]
	mov	x1, x22
	blr	x8
	cbz	x0, LBB0_16
; %bb.3:
	mov	x22, x0
	ldr	x0, [x20]
	ldr	w1, [x21]
	bl	_yoml_free
	str	x22, [x20]
LBB0_4:
	ldr	w8, [x22]
	cmp	w8, #131
	b.eq	LBB0_10
; %bb.5:
	cmp	w8, #129
	b.ne	LBB0_15
; %bb.6:
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_15
; %bb.7:
	mov	x23, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x22, #32]
	add	x0, x23, x8
	mov	x1, x19
	mov	x2, x21
	bl	_yoml__resolve_tag
	cbnz	w0, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	ldr	x22, [x20]
	ldr	x8, [x22, #24]
	cmp	x23, x8
	b.ne	LBB0_8
	b	LBB0_15
LBB0_10:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_15
; %bb.11:
	mov	x23, #0
	mov	w24, #8
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	add	x0, x8, x24
	mov	x1, x19
	mov	x2, x21
	bl	_yoml__resolve_tag
	cbnz	w0, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	add	x8, x8, x24
	sub	x0, x8, #8
	mov	x1, x19
	mov	x2, x21
	bl	_yoml__resolve_tag
	cbnz	w0, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x23, #1
	ldr	x22, [x20]
	ldr	x8, [x22, #8]
	add	x24, x24, #16
	cmp	x23, x8
	b.ne	LBB0_12
LBB0_15:
	mov	w0, #0
	b	LBB0_19
LBB0_16:
	cbz	x19, LBB0_18
; %bb.17:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
	ldr	x8, [x20]
	ldr	d0, [x8, #40]
	str	d0, [x19, #8]
LBB0_18:
	mov	w0, #-1
LBB0_19:
	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	"tag resolution failed"

	.no_dead_strip	_yoml__resolve_tag
.subsections_via_symbols
