	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_3way
_merge_3way:                            ## @merge_3way
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rdi, %r13
	movl	24(%rbp), %eax
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movl	36(%rdi), %ecx
	movl	%ecx, -92(%rbp)
	movl	%eax, -112(%rbp)
	movl	32(%rdi), %eax
	movl	%eax, -96(%rbp)
	movq	24(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	$1, -108(%rbp)
	jmp	LBB0_7
LBB0_2:
	movl	(%r13), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.4:
	movq	_XDL_MERGE_FAVOR_OURS@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_XDL_MERGE_FAVOR_THEIRS@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)
LBB0_7:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	je	LBB0_11
## %bb.8:
	cmpq	$0, (%r12)
	je	LBB0_11
## %bb.9:
	cmpq	$0, (%r14)
	je	LBB0_11
## %bb.10:
	xorl	%edi, %edi
	cmpq	$0, 8(%r13)
	setne	%dil
LBB0_11:
	callq	_assert
	movq	(%r15), %rdi
	movq	(%r12), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	(%r15), %rdi
	movq	(%r14), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
LBB0_13:
	movq	8(%r13), %rsi
	movq	(%r14), %rdx
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mkpathdup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_mkpathdup
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rbx
	movq	16(%rbp), %rsi
	xorl	%eax, %eax
	callq	_mkpathdup
LBB0_15:
	movq	%rax, %r13
	addq	$8, %r14
	leaq	-72(%rbp), %rdi
	movq	%r14, %rsi
	callq	_read_mmblob
	leaq	8(%r15), %rsi
	leaq	-64(%rbp), %rdi
	callq	_read_mmblob
	addq	$8, %r12
	leaq	-128(%rbp), %r14
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_read_mmblob
	movq	(%r15), %rsi
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	leaq	-112(%rbp), %r10
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	leaq	-72(%rbp), %rdx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	leaq	-64(%rbp), %r8
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r9
	pushq	%r10
	pushq	%rax
	pushq	%r13
	pushq	%r14
	callq	_ll_merge
	addq	$32, %rsp
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_free
	movq	%r13, %rdi
	callq	_free
	movq	-72(%rbp), %rdi
	callq	_free
	movq	-64(%rbp), %rdi
	callq	_free
	movq	-128(%rbp), %rdi
	callq	_free
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	8(%r13), %rsi
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mkpathdup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_mkpathdup
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rbx
	movq	16(%rbp), %rsi
	xorl	%eax, %eax
	callq	_mkpathdup
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_XDL_MERGE_FAVOR_OURS,8,3       ## @XDL_MERGE_FAVOR_OURS
	.comm	_XDL_MERGE_FAVOR_THEIRS,8,3     ## @XDL_MERGE_FAVOR_THEIRS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%s"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.no_dead_strip	_merge_3way
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_3way
_merge_3way:                            ; @merge_3way
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x6
	mov	x25, x5
	mov	x22, x4
	mov	x20, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	w7, [sp, #16]
	ldr	d0, [x0, #32]
	str	d0, [sp, #32]
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [sp, #20]
	b	LBB0_7
LBB0_2:
	ldr	w8, [x21]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _XDL_MERGE_FAVOR_OURS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XDL_MERGE_FAVOR_OURS@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _XDL_MERGE_FAVOR_THEIRS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XDL_MERGE_FAVOR_THEIRS@GOTPAGEOFF]
LBB0_6:
	ldr	x8, [x8]
	str	x8, [sp, #24]
LBB0_7:
	ldr	x8, [x20]
	cbz	x8, LBB0_11
; %bb.8:
	ldr	x8, [x22]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	x8, [x23]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x8, [x21, #8]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	bl	_assert
	ldr	x0, [x20]
	ldr	x1, [x22]
	bl	_strcmp
	cbnz	x0, LBB0_14
; %bb.13:
	ldr	x0, [x20]
	ldr	x1, [x23]
	bl	_strcmp
	cbz	x0, LBB0_16
LBB0_14:
	ldr	x1, [x21, #8]
	ldr	x8, [x23]
	str	x8, [sp]
Lloh4:
	adrp	x27, l_.str@PAGE
Lloh5:
	add	x27, x27, l_.str@PAGEOFF
	mov	x0, x27
	bl	_mkpathdup
	mov	x26, x0
	ldr	x8, [x20]
	str	x8, [sp]
	mov	x0, x27
	mov	x1, x25
	bl	_mkpathdup
	mov	x25, x0
	ldr	x8, [x22]
	str	x8, [sp]
LBB0_15:
	mov	x0, x27
	mov	x1, x24
	bl	_mkpathdup
	mov	x24, x0
	add	x1, x23, #8
	add	x0, sp, #72
	bl	_read_mmblob
	add	x1, x20, #8
	add	x0, sp, #64
	bl	_read_mmblob
	add	x1, x22, #8
	add	x0, sp, #56
	bl	_read_mmblob
	ldr	x1, [x20]
	ldr	x8, [x21, #16]
	ldr	w8, [x8]
	add	x9, sp, #16
	str	x9, [sp, #8]
	str	w8, [sp]
	add	x2, sp, #72
	add	x4, sp, #64
	add	x6, sp, #56
	mov	x0, x19
	mov	x3, x26
	mov	x5, x25
	mov	x7, x24
	bl	_ll_merge
	mov	x19, x0
	mov	x0, x26
	bl	_free
	mov	x0, x25
	bl	_free
	mov	x0, x24
	bl	_free
	ldr	x0, [sp, #72]
	bl	_free
	ldr	x0, [sp, #64]
	bl	_free
	ldr	x0, [sp, #56]
	bl	_free
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_16:
	ldr	x1, [x21, #8]
Lloh6:
	adrp	x27, l_.str.1@PAGE
Lloh7:
	add	x27, x27, l_.str.1@PAGEOFF
	mov	x0, x27
	bl	_mkpathdup
	mov	x26, x0
	mov	x0, x27
	mov	x1, x25
	bl	_mkpathdup
	mov	x25, x0
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_XDL_MERGE_FAVOR_OURS,8,3       ; @XDL_MERGE_FAVOR_OURS
	.comm	_XDL_MERGE_FAVOR_THEIRS,8,3     ; @XDL_MERGE_FAVOR_THEIRS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%s"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.no_dead_strip	_merge_3way
.subsections_via_symbols
