	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_template_untouched             ## -- Begin function template_untouched
	.p2align	4, 0x90
_template_untouched:                    ## @template_untouched
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %r14
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	_COMMIT_MSG_CLEANUP_NONE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_7
## %bb.1:
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	cmpq	$0, 8(%r14)
	je	LBB0_3
	jmp	LBB0_9
LBB0_7:
	testq	%rsi, %rsi
	je	LBB0_8
LBB0_3:
	leaq	-48(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_strbuf_read_file
	testq	%rax, %rax
	jle	LBB0_9
## %bb.4:
	movq	_COMMIT_MSG_CLEANUP_ALL@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	cmpl	%r15d, (%rax)
	sete	%sil
	leaq	-48(%rbp), %rdi
	callq	_strbuf_stripspace
	movq	(%r14), %rdi
	movq	-48(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	callq	_skip_prefix
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	(%r14), %rax
	movq	%rax, -32(%rbp)
LBB0_6:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movl	-32(%rbp), %esi
	subl	(%r14), %esi
	movq	%r14, %rdi
	callq	_rest_is_empty
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_COMMIT_MSG_CLEANUP_NONE,4,2    ## @COMMIT_MSG_CLEANUP_NONE
	.comm	_COMMIT_MSG_CLEANUP_ALL,4,2     ## @COMMIT_MSG_CLEANUP_ALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_template_untouched             ; -- Begin function template_untouched
	.p2align	2
_template_untouched:                    ; @template_untouched
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp, #16]
Lloh3:
	adrp	x8, _COMMIT_MSG_CLEANUP_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMMIT_MSG_CLEANUP_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_3
; %bb.1:
	mov	w0, #0
	cbz	x1, LBB0_9
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
	b	LBB0_9
LBB0_3:
	cbz	x1, LBB0_8
LBB0_4:
	add	x0, sp, #16
	mov	w2, #0
	bl	_strbuf_read_file
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.5:
Lloh6:
	adrp	x8, _COMMIT_MSG_CLEANUP_ALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COMMIT_MSG_CLEANUP_ALL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w20
	cset	w1, eq
	add	x0, sp, #16
	bl	_strbuf_stripspace
	ldr	x0, [x19]
	ldr	x1, [sp, #16]
	add	x2, sp, #8
	bl	_skip_prefix
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	x8, [x19]
	str	x8, [sp, #8]
LBB0_7:
	add	x0, sp, #16
	bl	_strbuf_release
	ldr	w8, [sp, #8]
	ldr	w9, [x19]
	sub	w1, w8, w9
	mov	x0, x19
	bl	_rest_is_empty
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_COMMIT_MSG_CLEANUP_NONE,4,2    ; @COMMIT_MSG_CLEANUP_NONE
	.comm	_COMMIT_MSG_CLEANUP_ALL,4,2     ; @COMMIT_MSG_CLEANUP_ALL
.subsections_via_symbols
