	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_hunk_header
_emit_hunk_header:                      ## @emit_hunk_header
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %rdi
	movq	_DIFF_CONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_diff_get_color
	movq	%rax, %r13
	movq	8(%r12), %rdi
	movq	_DIFF_FRAGINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_diff_get_color
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rdi
	movq	_DIFF_FUNCINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_diff_get_color
	movq	%rax, %rbx
	movq	8(%r12), %rdi
	movq	_DIFF_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_diff_get_color
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%r12)
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	_GIT_COLOR_REVERSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %r13
LBB0_3:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	cmpl	$10, %r14d
	jl	LBB0_31
## %bb.4:
	leaq	_emit_hunk_header.atat(%rip), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_31:
	movq	(%r12), %rdi
	movq	_DIFF_SYMBOL_CONTEXT_MARKER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emit_diff_symbol               ## TAILCALL
LBB0_5:
	leaq	2(%r15), %rdi
	leal	-2(%r14), %esi
	leaq	_emit_hunk_header.atat(%rip), %rdx
	movl	$2, %ecx
	callq	_memmem
	testq	%rax, %rax
	je	LBB0_31
## %bb.6:
	movq	(%r12), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_8
## %bb.7:
	leaq	-64(%rbp), %rdi
	movq	%rax, %rbx
	movq	%r13, %rsi
	callq	_strbuf_addstr
	movq	%rbx, %rax
LBB0_8:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	2(%rax), %rbx
	leaq	-64(%rbp), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_strbuf_addstr
	movq	(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	%rbx, %r13
	leaq	_emit_hunk_header.atat(%rip), %rsi
	leaq	-64(%rbp), %rdi
	movl	$2, %edx
	jmp	LBB0_11
LBB0_10:
	movq	%rbx, %r13
	movl	%ebx, %edx
	subl	%r15d, %edx
	leaq	-64(%rbp), %rdi
	movq	%r15, %rsi
LBB0_11:
	callq	_strbuf_add
	leaq	-64(%rbp), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_strbuf_addstr
	leal	-1(%r14), %ecx
	movb	(%r15,%rcx), %dl
	cmpb	$10, %dl
	je	LBB0_13
## %bb.12:
	movl	%r14d, %eax
	cmpb	$13, %dl
	jne	LBB0_14
LBB0_13:
	movl	%ecx, %eax
LBB0_14:
	leal	-2(%rax), %ecx
	movb	(%r15,%rcx), %cl
	cmpb	$13, %cl
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %r8
	je	LBB0_16
## %bb.15:
	cmpb	$10, %cl
	jne	LBB0_17
LBB0_16:
	decl	%eax
LBB0_17:
	movl	%eax, %r13d
	movq	%r8, %rax
	subq	%r15, %rax
	cmpq	%r13, %rax
	jge	LBB0_18
## %bb.19:
	leaq	(%r15,%r13), %rbx
	subq	%rsi, %rbx
	movq	%rsi, %rcx
	subq	%r15, %rcx
	movl	$2, %eax
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	leaq	(%rcx,%rax), %rdx
	incq	%rdx
	incq	%rax
	cmpq	%r13, %rdx
	jge	LBB0_23
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rax), %edx
	cmpb	$32, %dl
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpb	$9, %dl
	je	LBB0_22
## %bb.24:
	addq	%rax, %rsi
	movq	%rax, %rbx
	jmp	LBB0_25
LBB0_18:
	movq	%r8, %rsi
	jmp	LBB0_28
LBB0_23:
	addq	%rax, %rsi
LBB0_25:
	cmpq	$2, %rbx
	je	LBB0_27
## %bb.26:
	leaq	-64(%rbp), %rdi
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_strbuf_addstr
	addl	$-2, %ebx
	leaq	-64(%rbp), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_strbuf_add
	leaq	-64(%rbp), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_strbuf_addstr
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
LBB0_27:
	movq	%rsi, %r8
LBB0_28:
	addq	%r13, %r15
	cmpq	%r15, %rsi
	jae	LBB0_30
## %bb.29:
	leaq	-64(%rbp), %rdi
	movq	%r8, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_strbuf_addstr
	movl	%r15d, %edx
	subl	%ebx, %edx
	leaq	-64(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_strbuf_add
	leaq	-64(%rbp), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_strbuf_addstr
LBB0_30:
	subl	%r13d, %r14d
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_strbuf_add
	movq	%rbx, %rdi
	callq	_strbuf_complete_line
	movq	(%r12), %rdi
	movq	_DIFF_SYMBOL_CONTEXT_FRAGINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdx
	movl	-56(%rbp), %ecx
	xorl	%r8d, %r8d
	callq	_emit_diff_symbol
	movq	%rbx, %rdi
	callq	_strbuf_release
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIFF_CONTEXT,4,2               ## @DIFF_CONTEXT
	.comm	_DIFF_FRAGINFO,4,2              ## @DIFF_FRAGINFO
	.comm	_DIFF_FUNCINFO,4,2              ## @DIFF_FUNCINFO
	.comm	_DIFF_RESET,4,2                 ## @DIFF_RESET
	.comm	_GIT_COLOR_REVERSE,8,3          ## @GIT_COLOR_REVERSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.section	__TEXT,__const
_emit_hunk_header.atat:                 ## @emit_hunk_header.atat
	.space	2,64

	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_DIFF_SYMBOL_CONTEXT_MARKER,4,2 ## @DIFF_SYMBOL_CONTEXT_MARKER
	.comm	_DIFF_SYMBOL_CONTEXT_FRAGINFO,4,2 ## @DIFF_SYMBOL_CONTEXT_FRAGINFO
	.no_dead_strip	_emit_hunk_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_hunk_header
_emit_hunk_header:                      ; @emit_hunk_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x8, _DIFF_CONTEXT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIFF_CONTEXT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_diff_get_color
	mov	x24, x0
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x8, _DIFF_FRAGINFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIFF_FRAGINFO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_diff_get_color
	mov	x27, x0
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x8, _DIFF_FUNCINFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DIFF_FUNCINFO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_diff_get_color
	mov	x23, x0
	ldr	x0, [x19, #8]
Lloh9:
	adrp	x8, _DIFF_RESET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DIFF_RESET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_diff_get_color
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _GIT_COLOR_REVERSE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GIT_COLOR_REVERSE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, l_.str@PAGE
Lloh16:
	add	x10, x10, l_.str@PAGEOFF
	cmp	x8, #0
	csel	x28, x10, x9, eq
Lloh17:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh19:
	ldr	q0, [x8]
	str	q0, [sp, #16]
	cmp	w20, #10
	b.lt	LBB0_2
; %bb.1:
	mov	x22, x0
Lloh20:
	adrp	x1, _emit_hunk_header.atat@PAGE
Lloh21:
	add	x1, x1, _emit_hunk_header.atat@PAGEOFF
	mov	x0, x21
	mov	w2, #2
	bl	_memcmp
	cbz	x0, LBB0_3
LBB0_2:
	ldr	x0, [x19]
Lloh22:
	adrp	x8, _DIFF_SYMBOL_CONTEXT_MARKER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DIFF_SYMBOL_CONTEXT_MARKER@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_emit_diff_symbol
LBB0_3:
	add	x0, x21, #2
	sub	w1, w20, #2
Lloh25:
	adrp	x2, _emit_hunk_header.atat@PAGE
Lloh26:
	add	x2, x2, _emit_hunk_header.atat@PAGEOFF
	mov	w3, #2
	bl	_memmem
	cbz	x0, LBB0_2
; %bb.4:
	mov	x26, x0
	add	x25, x0, #2
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.5:
	add	x0, sp, #16
	mov	x1, x28
	bl	_strbuf_addstr
LBB0_6:
	add	x0, sp, #16
	mov	x1, x27
	bl	_strbuf_addstr
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh27:
	adrp	x1, _emit_hunk_header.atat@PAGE
Lloh28:
	add	x1, x1, _emit_hunk_header.atat@PAGEOFF
	add	x0, sp, #16
	mov	w2, #2
	b	LBB0_9
LBB0_8:
	sub	w2, w25, w21
	add	x0, sp, #16
	mov	x1, x21
LBB0_9:
	bl	_strbuf_add
	add	x0, sp, #16
	mov	x1, x22
	bl	_strbuf_addstr
	sub	w9, w20, #1
	ldrb	w10, [x21, w9, uxtw]
	cmp	w10, #10
	b.eq	LBB0_11
; %bb.10:
	mov	x8, x20
	cmp	w10, #13
	b.ne	LBB0_12
LBB0_11:
	mov	x8, x9
LBB0_12:
	sub	w9, w8, #2
	ldrb	w9, [x21, w9, uxtw]
	cmp	w9, #13
	b.eq	LBB0_14
; %bb.13:
	cmp	w9, #10
	b.ne	LBB0_15
LBB0_14:
	sub	w8, w8, #1
LBB0_15:
	mov	w28, w8
	sub	x8, x25, x21
	cmp	x8, x28
	b.ge	LBB0_22
; %bb.16:
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	add	x27, x21, x28
	sub	x8, x27, x26
	mov	w25, #2
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x26, x25]
	cmp	w9, #32
	ccmp	w9, #9, #4, ne
	b.ne	LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x25, x25, #1
	cmp	x8, x25
	b.ne	LBB0_17
; %bb.19:
	mov	x25, x8
	cmp	x25, #2
	b.eq	LBB0_21
LBB0_20:
	add	x0, sp, #16
	mov	x1, x24
	bl	_strbuf_addstr
	sub	w2, w25, #2
	add	x0, sp, #16
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_strbuf_add
	add	x0, sp, #16
	mov	x1, x22
	bl	_strbuf_addstr
LBB0_21:
	mov	x25, x27
	b	LBB0_23
LBB0_22:
	mov	x27, x25
LBB0_23:
	add	x21, x21, x28
	cmp	x27, x21
	b.hs	LBB0_25
; %bb.24:
	add	x0, sp, #16
	mov	x1, x23
	bl	_strbuf_addstr
	sub	w2, w21, w25
	add	x0, sp, #16
	mov	x1, x27
	bl	_strbuf_add
	add	x0, sp, #16
	mov	x1, x22
	bl	_strbuf_addstr
LBB0_25:
	sub	w2, w20, w28
	add	x0, sp, #16
	mov	x1, x21
	bl	_strbuf_add
	add	x0, sp, #16
	bl	_strbuf_complete_line
	ldr	x0, [x19]
Lloh29:
	adrp	x8, _DIFF_SYMBOL_CONTEXT_FRAGINFO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DIFF_SYMBOL_CONTEXT_FRAGINFO@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	x2, [sp, #16]
	ldr	w3, [sp, #24]
	mov	w4, #0
	bl	_emit_diff_symbol
	add	x0, sp, #16
	bl	_strbuf_release
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_26:
	add	x27, x26, x25
	cmp	x25, #2
	b.ne	LBB0_20
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_DIFF_CONTEXT,4,2               ; @DIFF_CONTEXT
	.comm	_DIFF_FRAGINFO,4,2              ; @DIFF_FRAGINFO
	.comm	_DIFF_FUNCINFO,4,2              ; @DIFF_FUNCINFO
	.comm	_DIFF_RESET,4,2                 ; @DIFF_RESET
	.comm	_GIT_COLOR_REVERSE,8,3          ; @GIT_COLOR_REVERSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.section	__TEXT,__const
_emit_hunk_header.atat:                 ; @emit_hunk_header.atat
	.space	2,64

	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_DIFF_SYMBOL_CONTEXT_MARKER,4,2 ; @DIFF_SYMBOL_CONTEXT_MARKER
	.comm	_DIFF_SYMBOL_CONTEXT_FRAGINFO,4,2 ; @DIFF_SYMBOL_CONTEXT_FRAGINFO
	.no_dead_strip	_emit_hunk_header
.subsections_via_symbols
