	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yoml__resolve_merge
_yoml__resolve_merge:                   ## @yoml__resolve_merge
	.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	(%rdi), %rax
	movl	(%rax), %ecx
	cmpl	$128, %ecx
	je	LBB0_8
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	cmpl	$131, %ecx
	je	LBB0_9
## %bb.2:
	cmpl	$129, %ecx
	jne	LBB0_26
## %bb.3:
	cmpq	$0, 16(%rax)
	je	LBB0_26
## %bb.4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rax), %rdi
	addq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_yoml__resolve_merge
	testl	%eax, %eax
	jne	LBB0_25
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	(%r15), %rax
	addq	$8, %r14
	cmpq	16(%rax), %rbx
	jne	LBB0_5
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_8:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_26
LBB0_9:
	movq	32(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_26
## %bb.10:
	movq	%r13, %r14
	leaq	-1(%rdx), %r13
	movq	40(%rax), %rax
	movq	%r13, %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$8, %rdi
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_yoml__resolve_merge
	movl	$-1, %ebx
	testl	%eax, %eax
	jne	LBB0_26
## %bb.11:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	(%r15), %rax
	movq	%r13, %rbx
	shlq	$4, %rbx
	movq	40(%rax), %rdi
	addq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_yoml__resolve_merge
	testl	%eax, %eax
	jne	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rax
	movq	40(%rax), %rax
	movq	8(%rax,%rbx), %rax
	cmpl	$130, (%rax)
	jne	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	48(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rax
	movq	40(%rax), %rsi
	leaq	(%rsi,%rbx), %rdi
	movq	(%rsi,%rbx), %r12
	movq	8(%rsi,%rbx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %ecx
	shll	$4, %ecx
	addl	%ecx, %esi
	movl	32(%rax), %edx
	subl	%ebx, %edx
	shll	$4, %edx
                                        ## kill: def $edi killed $edi killed $rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_memmove
	movq	(%r15), %rax
	decq	32(%rax)
	cmpl	$129, (%r12)
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$0, 16(%r12)
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_yoml__merge
	testl	%eax, %eax
	jne	LBB0_28
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	incq	%rbx
	cmpq	16(%r12), %rbx
	jne	LBB0_18
	jmp	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_yoml__merge
	testl	%eax, %eax
	jne	LBB0_28
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r14), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_yoml_free
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_yoml_free
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rbx
	subq	$1, %r13
	jb	LBB0_7
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rax
	movq	40(%rax), %rax
	movq	%r13, %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$8, %rdi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_yoml__resolve_merge
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	je	LBB0_12
	jmp	LBB0_25
LBB0_28:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.29:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%rcx)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	8(%rdx), %eax
	movl	%eax, 12(%rcx)
	movl	4(%rdx), %eax
	movl	%eax, 8(%rcx)
LBB0_25:
	movl	$-1, %ebx
LBB0_26:
	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	"<<"

L_.str.1:                               ## @.str.1
	.asciz	"value of the merge key MUST be a mapping or a sequence of mappings"

	.no_dead_strip	_yoml__resolve_merge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yoml__resolve_merge
_yoml__resolve_merge:                   ; @yoml__resolve_merge
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #128
	b.eq	LBB0_7
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cmp	w9, #131
	b.eq	LBB0_8
; %bb.2:
	cmp	w9, #129
	b.ne	LBB0_24
; %bb.3:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_24
; %bb.4:
	mov	x22, #0
	mov	x23, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #24]
	add	x0, x8, x22
	mov	x1, x19
	mov	x2, x20
	bl	_yoml__resolve_merge
	cbnz	w0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldr	x8, [x21]
	ldr	x9, [x8, #16]
	add	x22, x22, #8
	cmp	x23, x9
	b.ne	LBB0_5
	b	LBB0_24
LBB0_7:
	mov	w0, #0
	bl	_assert
	b	LBB0_24
LBB0_8:
	ldr	x26, [x8, #32]
	cbz	x26, LBB0_24
; %bb.9:
	sub	x24, x26, #1
	ldr	x8, [x8, #40]
	add	x8, x8, x24, lsl #4
	add	x0, x8, #8
	mov	x1, x19
	mov	x2, x20
	bl	_yoml__resolve_merge
	cbz	w0, LBB0_11
LBB0_10:
	mov	w0, #-1
	b	LBB0_25
LBB0_11:
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	mov	x23, x24
	ldr	x8, [x21]
	ldr	x8, [x8, #40]
	add	x0, x8, x24, lsl #4
	mov	x1, x19
	mov	x2, x20
	bl	_yoml__resolve_merge
	cbnz	w0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, #40]
	add	x8, x8, x23, lsl #4
	ldr	x8, [x8, #8]
	ldr	w9, [x8]
	cmp	w9, #130
	b.ne	LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x8, #48]
	mov	x1, x22
	bl	_strcmp
	cbnz	w0, LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x8, #40]
	add	x0, x9, x23, lsl #4
	ldp	x24, x25, [x0]
	add	w1, w9, w26, lsl #4
	ldr	w8, [x8, #32]
	sub	w8, w8, w26
	lsl	w2, w8, #4
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_memmove
	ldr	x8, [x21]
	ldr	x9, [x8, #32]
	sub	x9, x9, #1
	str	x9, [x8, #32]
	ldr	w8, [x24]
	cmp	w8, #129
	b.ne	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x26, #0
LBB0_18:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24, #24]
	ldr	x2, [x8, x26, lsl #3]
	mov	x0, x21
	mov	x1, x23
	bl	_yoml__merge
	cbnz	w0, LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	add	x26, x26, #1
	ldr	x8, [x24, #16]
	cmp	x26, x8
	b.ne	LBB0_18
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	bl	_yoml__merge
	cbnz	w0, LBB0_26
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w1, [x20]
	mov	x0, x25
	bl	_yoml_free
	ldr	w1, [x20]
	mov	x0, x24
	bl	_yoml_free
LBB0_22:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	x23, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x21]
	sub	x24, x23, #1
	ldr	x8, [x8, #40]
	add	x8, x8, x24, lsl #4
	add	x0, x8, #8
	mov	x1, x19
	mov	x2, x20
	bl	_yoml__resolve_merge
	mov	x8, x0
	mov	w0, #-1
	mov	x26, x23
	cbz	w8, LBB0_12
	b	LBB0_25
LBB0_24:
	mov	w0, #0
LBB0_25:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_26:
	cbz	x19, LBB0_10
; %bb.27:
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x19]
	ldur	d0, [x25, #4]
	str	d0, [x19, #8]
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<<"

l_.str.1:                               ; @.str.1
	.asciz	"value of the merge key MUST be a mapping or a sequence of mappings"

	.no_dead_strip	_yoml__resolve_merge
.subsections_via_symbols
