	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function combine_diff
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_combine_diff:                          ## @combine_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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rax
	movl	16(%rbp), %ecx
	movl	$1, %r13d
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %r13
	cmpl	$0, 32(%rbp)
	jne	LBB0_12
## %bb.1:
	movq	%r8, %rbx
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	56(%rbp), %r15
	movq	48(%rbp), %r9
	movq	40(%rbp), %r8
	movl	24(%rbp), %r14d
	leaq	-72(%rbp), %rcx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_grab_blob
	movl	%eax, -80(%rbp)
	movq	-72(%rbp), %rax
	movq	%rax, -88(%rbp)
	leaq	-168(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r15, -168(%rbp)
	leaq	-208(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	leaq	-128(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r13, -120(%rbp)
	movq	%rbx, -96(%rbp)
	movl	$1, -112(%rbp)
	movl	%r14d, -108(%rbp)
	movl	16(%rbp), %r14d
	movl	%r14d, -104(%rbp)
	movq	_consume_hunk@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_consume_line@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, (%rsp)
	leaq	-88(%rbp), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	-128(%rbp), %r8
	leaq	-168(%rbp), %r9
	callq	_xdi_diff_outf
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_oid_to_hex
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_die
LBB0_3:
	movl	-80(%rbp), %edi
	callq	_free
	movslq	%r14d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	cmpl	%esi, %r12d
	ja	LBB0_11
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	%r12d, %r12d
	imulq	$56, %r12, %r15
	movq	(%rbx,%r15), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, (%rax,%rcx,4)
	movq	16(%rbx,%r15), %rax
	movq	40(%rbx,%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rbx,%r15), %rcx
	addq	$16, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	48(%rbx,%r15), %rsi
	movq	24(%rbx,%r15), %rcx
	movq	%rax, %rdi
	movl	16(%rbp), %r8d
	movq	56(%rbp), %r9
	callq	_coalesce_lines
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx,%r15)
	movq	$0, 40(%rbx,%r15)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	(%rax), %rcx
	andq	%r13, %rcx
	cmpq	$1, %rcx
	sbbl	$-1, %r14d
	movq	8(%rax), %rax
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rax, %rax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%esi, %r12d
	jae	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx,%r15), %rax
	andq	%r13, %rax
	cmpq	$1, %rax
	adcl	$0, %r14d
	jmp	LBB0_10
LBB0_11:
	movl	%r12d, %eax
	imulq	$56, %rax, %rax
	movq	(%rbx,%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, (%rax,%rcx,4)
LBB0_12:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_consume_hunk,4,2               ## @consume_hunk
	.comm	_consume_line,4,2               ## @consume_line
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to generate combined diff for %s"

	.no_dead_strip	_combine_diff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function combine_diff
_combine_diff:                          ; @combine_diff
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	x28, x27, [sp, #160]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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
                                        ; kill: def $w6 killed $w6 def $x6
	ldr	w8, [x29, #16]
	cbnz	w8, LBB0_12
; %bb.1:
	mov	x25, x7
	mov	x21, x5
	mov	x19, x4
	mov	x24, x3
	mov	x23, x1
	ldp	x5, x22, [x29, #32]
	ldr	x4, [x29, #24]
	mov	w27, #1
	lsl	x26, x27, x6
	add	x3, sp, #8
	mov	x28, x6
	bl	_grab_blob
	str	w0, [sp, #64]
	ldr	x8, [sp, #8]
	str	x8, [sp, #56]
	add	x0, sp, #112
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	str	x22, [sp]                       ; 8-byte Folded Spill
	str	x22, [sp, #112]
	add	x0, sp, #72
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	str	x26, [sp, #24]
	str	x19, [sp, #48]
	stp	w27, w25, [sp, #32]
	mov	x20, x28
	str	w28, [sp, #40]
Lloh0:
	adrp	x8, _consume_hunk@GOTPAGE
Lloh1:
	ldr	x8, [x8, _consume_hunk@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _consume_line@GOTPAGE
Lloh4:
	ldr	x8, [x8, _consume_line@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x0, sp, #56
	add	x4, sp, #16
	add	x5, sp, #112
	add	x6, sp, #72
	mov	x1, x24
	bl	_xdi_diff_outf
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x23
	bl	_oid_to_hex
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_3:
	ldr	w0, [sp, #64]
	bl	_free
	mov	w8, #0
	mov	x9, x20
	sxtw	x23, w9
	mov	w24, #1
	mov	w25, #56
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w27, #1
	cmp	w8, w21
	b.hi	LBB0_11
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	w27, w8
	umaddl	x28, w8, w25, x19
	ldr	x8, [x28]
	str	w24, [x8, x23, lsl #2]
	ldr	x2, [x28, #40]
	ldr	x0, [x28, #16]!
	cbz	x2, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x22, x27, x25, x19
	add	x1, x22, #48
	ldr	x3, [x22, #24]
	mov	x4, x20
	ldr	x5, [sp]                        ; 8-byte Folded Reload
	bl	_coalesce_lines
	str	x0, [x28]
	stp	xzr, xzr, [x22, #32]
	str	xzr, [x22, #24]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x0, LBB0_9
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x8, x0, [x0]
	tst	x8, x26
	cinc	w24, w24, ne
	cbnz	x0, LBB0_8
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w27, w21
	b.hs	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	madd	x8, x27, x25, x19
	ldr	x8, [x8, #8]
	tst	x8, x26
	cinc	w24, w24, eq
	b	LBB0_4
LBB0_11:
	mov	w9, #56
	umull	x8, w8, w9
	ldr	x8, [x19, x8]
	str	w24, [x8, x23, lsl #2]
LBB0_12:
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_consume_hunk,4,2               ; @consume_hunk
	.comm	_consume_line,4,2               ; @consume_line
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to generate combined diff for %s"

	.no_dead_strip	_combine_diff
.subsections_via_symbols
