	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ll_merge_in_worktree
_ll_merge_in_worktree:                  ## @ll_merge_in_worktree
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	addq	$12, %rsi
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	callq	_read_mmblob
	leaq	8(%r15), %rsi
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	callq	_read_mmblob
	leaq	4(%r15), %rsi
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	callq	_read_mmblob
	movq	%r15, %rdi
	callq	_oid_to_hex
	movl	12(%rbx), %r9d
	movl	8(%rbx), %r10d
	movq	(%rbx), %rcx
	movl	(%rcx), %ebx
	leaq	-48(%rbp), %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	pushq	$0
	pushq	%rbx
	pushq	%r10
	pushq	%r13
	callq	_ll_merge
	addq	$32, %rsp
	movl	%eax, %r14d
	movl	-72(%rbp), %edi
	callq	_free
	movl	-64(%rbp), %edi
	callq	_free
	movl	-56(%rbp), %edi
	callq	_free
	testl	%r14d, %r14d
	js	LBB0_2
## %bb.1:
	movl	-48(%rbp), %esi
	testl	%esi, %esi
	jne	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_die
	movl	-48(%rbp), %esi
LBB0_3:
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	callq	_write_buf_to_worktree
	movl	-48(%rbp), %edi
	callq	_free
	movl	%r14d, %eax
	addq	$40, %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	"Failed to execute internal merge"

	.no_dead_strip	_ll_merge_in_worktree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ll_merge_in_worktree
_ll_merge_in_worktree:                  ; @ll_merge_in_worktree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
	add	x1, x1, #12
	add	x0, sp, #32
	bl	_read_mmblob
	add	x1, x19, #8
	add	x0, sp, #24
	bl	_read_mmblob
	add	x1, x19, #4
	add	x0, sp, #16
	bl	_read_mmblob
	mov	x0, x19
	bl	_oid_to_hex
	mov	x1, x0
	ldp	w7, w5, [x20, #8]
	ldr	x8, [x20]
	ldr	w8, [x8]
	str	xzr, [sp, #8]
	str	w8, [sp]
	sub	x0, x29, #24
	add	x2, sp, #32
	add	x4, sp, #24
	add	x6, sp, #16
	mov	x3, #0
	bl	_ll_merge
	mov	x20, x0
	ldr	w0, [sp, #32]
	bl	_free
	ldr	w0, [sp, #24]
	bl	_free
	ldr	w0, [sp, #16]
	bl	_free
	tbnz	w20, #31, LBB0_2
; %bb.1:
	ldur	w1, [x29, #-24]
	cbnz	w1, LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
	ldur	w1, [x29, #-24]
LBB0_3:
	ldur	w2, [x29, #-20]
	mov	x0, x19
	bl	_write_buf_to_worktree
	ldur	w0, [x29, #-24]
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to execute internal merge"

	.no_dead_strip	_ll_merge_in_worktree
.subsections_via_symbols
