	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_trees
_merge_trees:                           ## @merge_trees
	.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	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.4:
	movl	40(%rcx), %edi
	movl	40(%rax), %esi
	callq	_strcmp
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_gcc_assert
	movq	(%rbx), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, 8(%r15)
	movq	8(%r14), %rax
	movq	%rax, (%r15)
	movq	%r15, 8(%rax)
	movq	%r15, 8(%r14)
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testq	%r12, %r12
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %r15
	movq	8(%r12), %r12
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_nodes_identical
	movq	%rbx, %rdi
	movq	%r15, %rsi
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	xorl	%edx, %edx
	callq	_maybe_both_true
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	16(%r15), %rax
	movl	(%rax), %eax
	movq	16(%rbx), %rcx
	cmpl	(%rcx), %eax
	cmovlq	%rbx, %r13
	movq	(%rbx), %rax
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%r13, %r13
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rax
	leaq	8(%rax), %rcx
	testq	%rax, %rax
	cmoveq	%r14, %rcx
	movq	%rax, (%r15)
	movq	%r15, (%rcx)
	movq	%r13, 8(%r15)
	movq	%r15, (%r13)
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	callq	_merge_accept_insn
	addq	$24, %rbx
	addq	$24, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_merge_trees
	jmp	LBB0_5
LBB0_2:
	movups	(%rbx), %xmm0
	movups	%xmm0, (%r14)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_merge_trees
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_trees
_merge_trees:                           ; @merge_trees
	.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, [x1]
	cbz	x8, LBB0_14
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x9, [x0]
	cbz	x9, LBB0_13
; %bb.2:
	ldr	w0, [x9, #40]
	ldr	w1, [x8, #40]
	bl	_strcmp
	cmp	w0, #0
	cset	w0, eq
	bl	_gcc_assert
	ldr	x22, [x20]
	cbnz	x22, LBB0_5
	b	LBB0_14
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	stp	x8, xzr, [x20]
	str	x20, [x8, #8]
	str	x20, [x19, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x22, LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x20, x22
	ldr	x22, [x22, #8]
	ldr	x21, [x19, #8]
	cbz	x21, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, #0
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x20
	bl	_nodes_identical
	cbnz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_maybe_both_true
	cbnz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	ldr	x9, [x21, #16]
	ldr	w9, [x9]
	cmp	w8, w9
	csel	x23, x21, x23, lt
	ldr	x21, [x21]
	cbnz	x21, LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x23, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	str	x8, [x20]
	add	x9, x8, #8
	cmp	x8, #0
	csel	x8, x19, x9, eq
	str	x20, [x8]
	str	x23, [x20, #8]
	str	x20, [x23]
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_merge_accept_insn
	add	x0, x21, #24
	add	x1, x20, #24
	bl	_merge_trees
	b	LBB0_4
LBB0_13:
	ldr	q0, [x20]
	str	q0, [x19]
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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_merge_trees
.subsections_via_symbols
