	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fn_out_diff_words_write_helper
_fn_out_diff_words_write_helper:        ## @fn_out_diff_words_write_helper
	.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	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -80(%rbp)
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.1:
	movq	%r8, %r14
	movq	%rcx, %rbx
	movb	$1, %r12b
	leaq	-80(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$10, %esi
	movq	%rbx, %rdx
	callq	_memchr
	movq	%rax, %r15
	testb	$1, %r12b
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_diff_line_prefix
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_strbuf_addstr
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, %r15
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%rsi)
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_GIT_COLOR_RESET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_strbuf_addstr
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rsi
	movq	%r13, %rdi
	callq	_strbuf_addstr
	movl	%r15d, %eax
	subl	%r14d, %eax
	testq	%r15, %r15
	movl	%ebx, %edx
	cmovnel	%eax, %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_strbuf_add
	movq	16(%r12), %rsi
	movq	%r13, %rdi
	callq	_strbuf_addstr
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_strbuf_addstr
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_strbuf_addstr
	incq	%r15
	subq	%r15, %r14
	addq	%r14, %rbx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_DIFF_SYMBOL_WORD_DIFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-72(%rbp), %edx
	movq	-80(%rbp), %rcx
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%r8d, %r8d
	callq	_emit_diff_symbol
	movq	%r13, %rdi
	callq	_strbuf_reset
	movq	%r15, %r14
	jmp	LBB0_2
LBB0_14:
	movq	-80(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.15:
	movq	_DIFF_SYMBOL_WORD_DIFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-72(%rbp), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%r8d, %r8d
	callq	_emit_diff_symbol
LBB0_16:
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_GIT_COLOR_RESET,8,3            ## @GIT_COLOR_RESET
	.comm	_DIFF_SYMBOL_WORD_DIFF,4,2      ## @DIFF_SYMBOL_WORD_DIFF
	.no_dead_strip	_fn_out_diff_words_write_helper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fn_out_diff_words_write_helper
_fn_out_diff_words_write_helper:        ; @fn_out_diff_words_write_helper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh3:
	adrp	x26, _DIFF_SYMBOL_WORD_DIFF@GOTPAGE
Lloh4:
	ldr	x26, [x26, _DIFF_SYMBOL_WORD_DIFF@GOTPAGEOFF]
	cbz	x3, LBB0_14
; %bb.1:
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	w25, #1
Lloh5:
	adrp	x27, _GIT_COLOR_RESET@GOTPAGE
Lloh6:
	ldr	x27, [x27, _GIT_COLOR_RESET@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	w1, #10
	mov	x2, x20
	bl	_memchr
	mov	x24, x0
	tbnz	w25, #0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_diff_line_prefix
	mov	x1, x0
	mov	x0, sp
	bl	_strbuf_addstr
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x24, x23
	b.eq	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x22]
	cbz	x1, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x1]
	cbz	w8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x25, [x27]
	mov	x0, sp
	bl	_strbuf_addstr
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, #0
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x22, #8]
	mov	x0, sp
	bl	_strbuf_addstr
	sub	w8, w24, w23
	cmp	x24, #0
	csel	w2, w20, w8, eq
	mov	x0, sp
	mov	x1, x23
	bl	_strbuf_add
	ldr	x1, [x22, #16]
	mov	x0, sp
	bl	_strbuf_addstr
	cbz	x25, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, sp
	mov	x1, x25
	bl	_strbuf_addstr
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x24, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, sp
	mov	x1, x21
	bl	_strbuf_addstr
	add	x24, x24, #1
	sub	x8, x23, x24
	adds	x20, x8, x20
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x26]
	ldr	w2, [sp, #8]
	ldr	x3, [sp]
	mov	x0, x19
	mov	w4, #0
	bl	_emit_diff_symbol
	mov	x0, sp
	bl	_strbuf_reset
	mov	w25, #0
	mov	x23, x24
	b	LBB0_2
LBB0_14:
	ldr	x3, [sp]
	cbz	x3, LBB0_16
; %bb.15:
	ldr	w1, [x26]
	ldr	w2, [sp, #8]
	mov	x0, x19
	mov	w4, #0
	bl	_emit_diff_symbol
LBB0_16:
	mov	x0, sp
	bl	_strbuf_release
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_GIT_COLOR_RESET,8,3            ; @GIT_COLOR_RESET
	.comm	_DIFF_SYMBOL_WORD_DIFF,4,2      ; @DIFF_SYMBOL_WORD_DIFF
	.no_dead_strip	_fn_out_diff_words_write_helper
.subsections_via_symbols
