	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_append_signoff                 ## -- Begin function append_signoff
	.p2align	4, 0x90
_append_signoff:                        ## @append_signoff
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_APPEND_SIGNOFF_DEDUP@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_sign_off_header@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_addstr
	movq	_WANT_COMMITTER_IDENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fmt_name
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_strbuf_addstr
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
	testq	%r14, %r14
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_strbuf_complete_line
LBB0_2:
	movq	(%r13), %rdx
	subq	%r14, %rdx
	cmpq	-64(%rbp), %rdx
	jne	LBB0_4
## %bb.3:
	movq	8(%r13), %rdi
	movq	-56(%rbp), %rsi
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_14
LBB0_4:
	leaq	-64(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_has_conforming_footer
	cmpl	$3, %eax
	je	LBB0_14
## %bb.5:
	testl	%eax, %eax
	jne	LBB0_11
## %bb.6:
	movq	(%r13), %r15
	subq	%r14, %r15
	jne	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %r12
	jmp	LBB0_10
LBB0_11:
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.12:
	cmpl	$2, %eax
	je	LBB0_14
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.1(%rip), %r12
	cmpq	$1, %r15
	je	LBB0_10
## %bb.9:
	movq	8(%r13), %rax
	cmpb	$10, -2(%r15,%rax)
	je	LBB0_13
LBB0_10:
	movq	%r12, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%r12, %rcx
	movq	%rax, %r8
	callq	_strbuf_splice
LBB0_13:
	movq	(%r13), %rsi
	subq	%r14, %rsi
	movq	-64(%rbp), %r8
	movq	-56(%rbp), %rcx
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_strbuf_splice
LBB0_14:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APPEND_SIGNOFF_DEDUP,4,2       ## @APPEND_SIGNOFF_DEDUP
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_sign_off_header,4,2            ## @sign_off_header
	.comm	_WANT_COMMITTER_IDENT,4,2       ## @WANT_COMMITTER_IDENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n\n"

L_.str.1:                               ## @.str.1
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_append_signoff                 ; -- Begin function append_signoff
	.p2align	2
_append_signoff:                        ; @append_signoff
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _APPEND_SIGNOFF_DEDUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APPEND_SIGNOFF_DEDUP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _STRBUF_INIT@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
Lloh5:
	ldr	q0, [x9]
	str	q0, [sp]
Lloh6:
	adrp	x8, _sign_off_header@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sign_off_header@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_strbuf_addstr
Lloh9:
	adrp	x8, _WANT_COMMITTER_IDENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WANT_COMMITTER_IDENT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_fmt_name
	mov	x1, x0
	mov	x0, sp
	bl	_strbuf_addstr
	mov	x0, sp
	mov	w1, #10
	bl	_strbuf_addch
	cbnz	x20, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_strbuf_complete_line
LBB0_2:
	ldr	x8, [x19]
	ldr	x9, [sp]
	sub	x2, x8, x20
	cmp	x2, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x0, [x19, #8]
	ldr	x1, [sp, #8]
	bl	_strncmp
	cbz	w0, LBB0_14
LBB0_4:
	mov	x1, sp
	mov	x0, x19
	mov	x2, x20
	bl	_has_conforming_footer
	cmp	w0, #3
	b.eq	LBB0_14
; %bb.5:
	cbnz	w0, LBB0_8
; %bb.6:
	ldr	x8, [x19]
	subs	x21, x8, x20
	b.ne	LBB0_9
; %bb.7:
Lloh12:
	adrp	x22, l_.str@PAGE
Lloh13:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_12
LBB0_8:
	and	w8, w22, w21
	cmp	w8, #0
	ccmp	w0, #2, #0, ne
	b.ne	LBB0_13
	b	LBB0_14
LBB0_9:
	cmp	x21, #1
	b.eq	LBB0_11
; %bb.10:
	ldr	x8, [x19, #8]
	add	x8, x21, x8
	ldurb	w8, [x8, #-2]
	cmp	w8, #10
	b.eq	LBB0_13
LBB0_11:
Lloh14:
	adrp	x22, l_.str.1@PAGE
Lloh15:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_12:
	mov	x0, x22
	bl	_strlen
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	x3, x22
	bl	_strbuf_splice
LBB0_13:
	ldr	x8, [x19]
	sub	x1, x8, x20
	ldp	x4, x3, [sp]
	mov	x0, x19
	mov	w2, #0
	bl	_strbuf_splice
LBB0_14:
	mov	x0, sp
	bl	_strbuf_release
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_APPEND_SIGNOFF_DEDUP,4,2       ; @APPEND_SIGNOFF_DEDUP
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_sign_off_header,4,2            ; @sign_off_header
	.comm	_WANT_COMMITTER_IDENT,4,2       ; @WANT_COMMITTER_IDENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n\n"

l_.str.1:                               ; @.str.1
	.asciz	"\n"

.subsections_via_symbols
