	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_merge                      ## -- Begin function xdl_merge
	.p2align	4, 0x90
_xdl_merge:                             ## @xdl_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r8)
	leaq	-56(%rbp), %r14
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdx
	movq	%r14, %rcx
	callq	_xdl_do_diff
	testq	%rax, %rax
	js	LBB0_11
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_xdl_do_diff
	movl	$-1, %r15d
	testq	%rax, %rax
	js	LBB0_17
## %bb.2:
	leaq	-52(%rbp), %rbx
	movl	(%r13), %edx
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_xdl_change_compact
	testq	%rax, %rax
	js	LBB0_17
## %bb.3:
	movl	(%r13), %edx
	leaq	-56(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_xdl_change_compact
	testq	%rax, %rax
	js	LBB0_17
## %bb.4:
	leaq	-56(%rbp), %r14
	leaq	-80(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_xdl_build_script
	testq	%rax, %rax
	js	LBB0_17
## %bb.5:
	leaq	-44(%rbp), %rsi
	movl	(%r13), %edx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_xdl_change_compact
	movl	$-1, %r15d
	testq	%rax, %rax
	js	LBB0_16
## %bb.6:
	movl	(%r13), %edx
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdi
	callq	_xdl_change_compact
	testq	%rax, %rax
	js	LBB0_16
## %bb.7:
	leaq	-48(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_xdl_build_script
	testq	%rax, %rax
	js	LBB0_16
## %bb.8:
	movq	-80(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.9:
	movq	-72(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.10:
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rdx
	movq	%r13, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_xdl_do_merge
	movl	%eax, %r15d
	jmp	LBB0_15
LBB0_11:
	movl	$-1, %r15d
	jmp	LBB0_18
LBB0_12:
	movq	(%r12), %rdi
	callq	_xdl_malloc
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movl	8(%r12), %esi
	movq	(%r12), %rdx
	movq	%rax, %rdi
	callq	_memcpy
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_14
LBB0_13:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	callq	_xdl_malloc
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movl	8(%rbx), %esi
	movq	(%rbx), %rdx
	movq	%rax, %rdi
	callq	_memcpy
	movq	(%rbx), %rax
	movq	%rax, (%r15)
LBB0_14:
	xorl	%r15d, %r15d
LBB0_15:
	movq	-80(%rbp), %rdi
	callq	_xdl_free_script
	leaq	-72(%rbp), %rbx
LBB0_16:
	movq	(%rbx), %rdi
	callq	_xdl_free_script
	leaq	-56(%rbp), %rdi
	callq	_xdl_free_env
LBB0_17:
	movq	%r14, %rdi
	callq	_xdl_free_env
LBB0_18:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdl_merge                      ; -- Begin function xdl_merge
	.p2align	2
_xdl_merge:                             ; @xdl_merge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x4
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x23, x0
	stp	xzr, xzr, [x4]
	add	x3, sp, #8
	mov	x2, x22
	bl	_xdl_do_diff
	tbnz	x0, #63, LBB0_13
; %bb.1:
	mov	x3, sp
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	bl	_xdl_do_diff
	add	x23, sp, #8
	tbnz	x0, #63, LBB0_11
; %bb.2:
	orr	x24, x23, #0x4
	ldr	w2, [x22]
	add	x0, sp, #8
	mov	x1, x24
	bl	_xdl_change_compact
	tbnz	x0, #63, LBB0_11
; %bb.3:
	ldr	w2, [x22]
	add	x23, sp, #8
	add	x1, sp, #8
	mov	x0, x24
	bl	_xdl_change_compact
	tbnz	x0, #63, LBB0_11
; %bb.4:
	add	x23, sp, #8
	add	x0, sp, #8
	add	x1, sp, #24
	bl	_xdl_build_script
	tbnz	x0, #63, LBB0_11
; %bb.5:
	mov	x8, sp
	orr	x23, x8, #0x4
	ldr	w2, [x22]
	mov	x0, sp
	mov	x1, x23
	bl	_xdl_change_compact
	tbnz	x0, #63, LBB0_15
; %bb.6:
	ldr	w2, [x22]
	mov	x1, sp
	mov	x0, x23
	bl	_xdl_change_compact
	tbnz	x0, #63, LBB0_15
; %bb.7:
	mov	x0, sp
	add	x1, sp, #16
	bl	_xdl_build_script
	tbnz	x0, #63, LBB0_15
; %bb.8:
	ldr	x1, [sp, #24]
	cbz	x1, LBB0_16
; %bb.9:
	ldr	x3, [sp, #16]
	cbz	x3, LBB0_17
; %bb.10:
	add	x0, sp, #8
	mov	x2, sp
	mov	x4, x22
	mov	x5, x19
	bl	_xdl_do_merge
	mov	x22, x0
	b	LBB0_19
LBB0_11:
	mov	w22, #-1
LBB0_12:
	mov	x0, x23
	bl	_xdl_free_env
	b	LBB0_14
LBB0_13:
	mov	w22, #-1
LBB0_14:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_15:
	mov	w22, #-1
	add	x8, sp, #24
	b	LBB0_20
LBB0_16:
	ldr	x0, [x21]
	bl	_xdl_malloc
	str	x0, [x19, #8]
	ldr	w1, [x21, #8]
	ldr	x2, [x21]
	bl	_memcpy
	mov	w22, #0
	ldr	x8, [x21]
	b	LBB0_18
LBB0_17:
	ldr	x0, [x20]
	bl	_xdl_malloc
	str	x0, [x19, #8]
	ldr	w1, [x20, #8]
	ldr	x2, [x20]
	bl	_memcpy
	mov	w22, #0
	ldr	x8, [x20]
LBB0_18:
	str	x8, [x19]
LBB0_19:
	ldr	x0, [sp, #24]
	bl	_xdl_free_script
	add	x8, sp, #16
LBB0_20:
	ldr	x0, [x8]
	bl	_xdl_free_script
	add	x0, sp, #8
	bl	_xdl_free_env
	mov	x23, sp
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
