	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_diff
_run_diff:                              ## @run_diff
	.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	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_external_diff
	movq	%rax, %r13
	movq	(%rbx), %r15
	movq	%rbx, %r14
	movq	8(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rbx
	movq	%rbx, -56(%rbp)
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	(%r15), %r12
LBB0_2:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r13, %rbx
	movq	%r12, -72(%rbp)
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	leaq	-56(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	callq	_strip_prefix
LBB0_4:
	xorl	%eax, %eax
	cmpl	$0, 8(%r15)
	cmoveq	%rax, %rbx
	movq	%r14, %rdi
	callq	_DIFF_PAIR_UNMERGED
	testq	%rax, %rax
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rsi
	subq	$8, %rsp
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	%r15
	pushq	$0
	callq	_run_diff_cmd
	addq	$32, %rsp
	jmp	LBB0_13
LBB0_6:
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_diff_fill_oid_info
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_diff_fill_oid_info
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_11:
	movq	-56(%rbp), %rsi
	movq	-72(%rbp), %rdx
	subq	$8, %rsp
	leaq	-48(%rbp), %rax
	movq	%rbx, %rdi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%r12, %r9
	pushq	%r14
	pushq	%r15
	pushq	%rax
	callq	_run_diff_cmd
	addq	$32, %rsp
LBB0_12:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r13, %rdi
	callq	_DIFF_FILE_VALID
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%r12, %rdi
	callq	_DIFF_FILE_VALID
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	8(%r12), %ecx
	xorl	8(%r13), %ecx
	testl	%ecx, (%rax)
	je	LBB0_11
## %bb.10:
	movq	(%r12), %rdi
	callq	_alloc_filespec
	movq	%rax, %rbx
	movq	-56(%rbp), %rsi
	movq	-72(%rbp), %rdx
	subq	$8, %rsp
	leaq	-48(%rbp), %rax
	xorl	%edi, %edi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%rbx, %r9
	pushq	%r14
	pushq	%r15
	pushq	%rax
	callq	_run_diff_cmd
	addq	$32, %rsp
	movq	%rbx, %rdi
	callq	_free
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	(%r13), %rdi
	callq	_alloc_filespec
	movq	%rax, %rbx
	movq	-56(%rbp), %rsi
	movq	-72(%rbp), %rdx
	subq	$8, %rsp
	xorl	%edi, %edi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, %r8
	movq	%r12, %r9
	pushq	%r14
	pushq	%r15
	leaq	-48(%rbp), %rax
	pushq	%rax
	callq	_run_diff_cmd
	addq	$32, %rsp
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.no_dead_strip	_run_diff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_diff
_run_diff:                              ; @run_diff
	.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, x1
	mov	x22, x0
	bl	_external_diff
	mov	x24, x0
	ldp	x21, x23, [x22]
	ldr	x20, [x23]
	str	x20, [sp, #16]
	ldr	x1, [x21]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
	str	x8, [sp, #8]
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.4:
	add	x1, sp, #16
	add	x2, sp, #8
	bl	_strip_prefix
LBB0_5:
	ldr	w8, [x19, #8]
	cmp	w8, #0
	csel	x24, xzr, x24, eq
	mov	x0, x22
	bl	_DIFF_PAIR_UNMERGED
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x1, [sp, #16]
	str	x22, [sp]
	mov	x0, x24
	mov	x2, #0
	mov	x3, x20
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, x19
	bl	_run_diff_cmd
	b	LBB0_10
LBB0_7:
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x0, x23
	bl	_diff_fill_oid_info
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_diff_fill_oid_info
	cbz	x24, LBB0_11
LBB0_8:
	ldp	x2, x1, [sp, #8]
	str	x22, [sp]
	add	x6, sp, #24
	mov	x0, x24
	mov	x3, x20
	mov	x4, x23
	mov	x5, x21
	mov	x7, x19
	bl	_run_diff_cmd
LBB0_9:
	add	x0, sp, #24
	bl	_strbuf_release
LBB0_10:
	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_11:
	mov	x0, x23
	bl	_DIFF_FILE_VALID
	cbz	x0, LBB0_8
; %bb.12:
	mov	x0, x21
	bl	_DIFF_FILE_VALID
	cbz	x0, LBB0_8
; %bb.13:
Lloh0:
	adrp	x8, _S_IFMT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_IFMT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x23, #8]
	ldr	w10, [x21, #8]
	eor	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_8
; %bb.14:
	ldr	x0, [x21]
	bl	_alloc_filespec
	mov	x24, x0
	ldp	x2, x1, [sp, #8]
	str	x22, [sp]
	add	x6, sp, #24
	mov	x0, #0
	mov	x3, x20
	mov	x4, x23
	mov	x5, x24
	mov	x7, x19
	bl	_run_diff_cmd
	mov	x0, x24
	bl	_free
	add	x0, sp, #24
	bl	_strbuf_release
	ldr	x0, [x23]
	bl	_alloc_filespec
	mov	x23, x0
	ldp	x2, x1, [sp, #8]
	str	x22, [sp]
	add	x6, sp, #24
	mov	x0, #0
	mov	x3, x20
	mov	x4, x23
	mov	x5, x21
	mov	x7, x19
	bl	_run_diff_cmd
	mov	x0, x23
	bl	_free
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.no_dead_strip	_run_diff
.subsections_via_symbols
