	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function append_edit
_append_edit:                           ## @append_edit
	.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	$392, %rsp                      ## imm = 0x188
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -424(%rbp)                ## 8-byte Spill
	movq	%rsi, %r14
	movl	%edi, -364(%rbp)                ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -348(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -400(%rbp)
	movaps	%xmm0, -416(%rbp)
	movq	$0, -384(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -392(%rbp)
	movq	_OPTION_CALLBACK@GOTPCREL(%rip), %r15
	movb	(%r15), %al
	movb	%al, -336(%rbp)
	movq	$109, -328(%rbp)
	leaq	L_.str(%rip), %rdi
	movl	%edi, -320(%rbp)
	leaq	-416(%rbp), %r13
	movl	%r13d, -316(%rbp)
	callq	_N_
	movl	%eax, -312(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	_N_
	movl	%eax, -308(%rbp)
	movq	_PARSE_OPT_NONEG@GOTPCREL(%rip), %r12
	movslq	(%r12), %rax
	movq	%rax, -304(%rbp)
	movq	_parse_msg_arg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -296(%rbp)
	movb	(%r15), %al
	movb	%al, -288(%rbp)
	movq	$70, -280(%rbp)
	leaq	L_.str.2(%rip), %rdi
	movl	%edi, -272(%rbp)
	movl	%r13d, -268(%rbp)
	callq	_N_
	movl	%eax, -264(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	movl	%eax, -260(%rbp)
	movslq	(%r12), %rax
	movq	%rax, -256(%rbp)
	movq	_parse_file_arg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -248(%rbp)
	movb	(%r15), %al
	movb	%al, -240(%rbp)
	movq	$99, -232(%rbp)
	leaq	L_.str.4(%rip), %rax
	movl	%eax, -224(%rbp)
	movl	%r13d, -220(%rbp)
	leaq	L_.str.5(%rip), %rbx
	movq	%rbx, %rdi
	callq	_N_
	movl	%eax, -216(%rbp)
	leaq	L_.str.6(%rip), %rdi
	callq	_N_
	movl	%eax, -212(%rbp)
	movslq	(%r12), %rax
	movq	%rax, -208(%rbp)
	movq	_parse_reedit_arg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -200(%rbp)
	movb	(%r15), %al
	movb	%al, -192(%rbp)
	movq	$67, -184(%rbp)
	leaq	L_.str.7(%rip), %rax
	movl	%eax, -176(%rbp)
	movl	%r13d, -172(%rbp)
	movq	%rbx, %rdi
	callq	_N_
	movl	%eax, -168(%rbp)
	leaq	L_.str.8(%rip), %rdi
	callq	_N_
	movl	%eax, -164(%rbp)
	movslq	(%r12), %rax
	movq	%rax, -160(%rbp)
	movq	_parse_reuse_arg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -152(%rbp)
	leaq	-144(%rbp), %rbx
	leaq	L_.str.10(%rip), %rdi
	callq	_N_
	leaq	L_.str.9(%rip), %rdx
	leaq	-348(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_OPT_BOOL
	leaq	-96(%rbp), %rdi
	xorl	%eax, %eax
	callq	_OPT_END
	movq	(%r14), %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_strcmp
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_git_notes_edit_usage@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_git_notes_append_usage@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r15
	movq	_PARSE_OPT_KEEP_ARGV0@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-336(%rbp), %rcx
	movl	-364(%rbp), %edi                ## 4-byte Reload
	movq	%r14, %rsi
	movq	-424(%rbp), %rdx                ## 8-byte Reload
	movq	%r15, %r8
	callq	_parse_options
	movl	%eax, %ebx
	cmpl	$3, %eax
	jl	LBB0_5
## %bb.4:
	leaq	L_.str.12(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	callq	_error
	leaq	-336(%rbp), %rsi
	movq	%r15, %rdi
	callq	_usage_with_options
LBB0_5:
	cmpq	$0, -408(%rbp)
	je	LBB0_8
## %bb.6:
	testl	%r13d, %r13d
	jne	LBB0_8
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.13(%rip), %rdi
	callq	__
	movl	%r15d, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_8:
	cmpl	$2, %ebx
	jl	LBB0_9
## %bb.10:
	movq	8(%r14), %rbx
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str.14(%rip), %rbx
LBB0_11:
	leaq	-344(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.15(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_13:
	movq	(%r14), %rdi
	movq	_NOTES_INIT_WRITABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_init_notes_check
	movq	%rax, %r15
	leaq	-344(%rbp), %r12
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_get_note
	movq	%rax, %rbx
	xorl	%edx, %edx
	testl	%r13d, %r13d
	cmoveq	%rax, %rdx
	leaq	-416(%rbp), %rsi
	movq	%r12, %rdi
	callq	_prepare_note_data
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.14:
	testl	%r13d, %r13d
	je	LBB0_23
## %bb.15:
	leaq	-428(%rbp), %rsi
	leaq	-360(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_read_object_file
	movq	%rax, %rbx
	movq	-360(%rbp), %rsi
	incq	%rsi
	leaq	-416(%rbp), %rdi
	callq	_strbuf_grow
	cmpq	$0, -416(%rbp)
	movq	-360(%rbp), %rcx
	je	LBB0_19
## %bb.16:
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.17:
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.18:
	leaq	L_.str.16(%rip), %rdx
	leaq	-416(%rbp), %rdi
	movl	$1, %ecx
	xorl	%esi, %esi
	callq	_strbuf_insert
	movq	-360(%rbp), %rcx
LBB0_19:
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.20:
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.21:
	leaq	-416(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_strbuf_insert
LBB0_22:
	movq	%rbx, %rdi
	callq	_free
LBB0_23:
	cmpq	$0, -416(%rbp)
	jne	LBB0_25
## %bb.24:
	cmpl	$0, -348(%rbp)
	jne	LBB0_25
## %bb.27:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	L_.str.19(%rip), %rdi
	callq	__
	movq	%rax, %rbx
	leaq	-344(%rbp), %rdi
	callq	_oid_to_hex
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	-344(%rbp), %esi
	movq	%r15, %rdi
	callq	_remove_note
	leaq	L_.str.20(%rip), %rbx
	jmp	LBB0_28
LBB0_25:
	leaq	-416(%rbp), %rdi
	leaq	-360(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_write_note_data
	movq	_combine_notes_overwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-344(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_add_note
	leaq	L_.str.18(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	leaq	L_.str.17(%rip), %rdi
	callq	_BUG
LBB0_28:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_xstrfmt
	movq	%rax, %rbx
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_commit_notes
	movq	%rbx, %rdi
	callq	_free
	leaq	-416(%rbp), %rdi
	callq	_free_note_data
	movq	%r15, %rdi
	callq	_free_notes
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	xorl	%eax, %eax
	addq	$392, %rsp                      ## imm = 0x188
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_OPTION_CALLBACK,4,2            ## @OPTION_CALLBACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"message"

L_.str.1:                               ## @.str.1
	.asciz	"note contents as a string"

	.comm	_PARSE_OPT_NONEG,4,2            ## @PARSE_OPT_NONEG
	.comm	_parse_msg_arg,4,2              ## @parse_msg_arg
L_.str.2:                               ## @.str.2
	.asciz	"file"

L_.str.3:                               ## @.str.3
	.asciz	"note contents in a file"

	.comm	_parse_file_arg,4,2             ## @parse_file_arg
L_.str.4:                               ## @.str.4
	.asciz	"reedit-message"

L_.str.5:                               ## @.str.5
	.asciz	"object"

L_.str.6:                               ## @.str.6
	.asciz	"reuse and edit specified note object"

	.comm	_parse_reedit_arg,4,2           ## @parse_reedit_arg
L_.str.7:                               ## @.str.7
	.asciz	"reuse-message"

L_.str.8:                               ## @.str.8
	.asciz	"reuse specified note object"

	.comm	_parse_reuse_arg,4,2            ## @parse_reuse_arg
L_.str.9:                               ## @.str.9
	.asciz	"allow-empty"

L_.str.10:                              ## @.str.10
	.asciz	"allow storing empty note"

L_.str.11:                              ## @.str.11
	.asciz	"edit"

	.comm	_git_notes_edit_usage,8,3       ## @git_notes_edit_usage
	.comm	_git_notes_append_usage,8,3     ## @git_notes_append_usage
	.comm	_PARSE_OPT_KEEP_ARGV0,4,2       ## @PARSE_OPT_KEEP_ARGV0
L_.str.12:                              ## @.str.12
	.asciz	"too many parameters"

	.comm	_stderr,4,2                     ## @stderr
L_.str.13:                              ## @.str.13
	.asciz	"The -m/-F/-c/-C options have been deprecated for the 'edit' subcommand.\nPlease use 'git notes add -f -m/-F/-c/-C' instead.\n"

L_.str.14:                              ## @.str.14
	.asciz	"HEAD"

L_.str.15:                              ## @.str.15
	.asciz	"failed to resolve '%s' as a valid ref."

	.comm	_NOTES_INIT_WRITABLE,4,2        ## @NOTES_INIT_WRITABLE
L_.str.16:                              ## @.str.16
	.asciz	"\n"

	.comm	_combine_notes_overwrite,4,2    ## @combine_notes_overwrite
L_.str.17:                              ## @.str.17
	.asciz	"combine_notes_overwrite failed"

L_.str.18:                              ## @.str.18
	.asciz	"Notes added by 'git notes %s'"

L_.str.19:                              ## @.str.19
	.asciz	"Removing note for object %s\n"

L_.str.20:                              ## @.str.20
	.asciz	"Notes removed by 'git notes %s'"

	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_append_edit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_edit
_append_edit:                           ; @append_edit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #480
	.cfi_def_cfa_offset 480
	stp	x28, x27, [sp, #384]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #400]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #416]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #432]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #448]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #464]            ; 16-byte Folded Spill
	add	x29, sp, #464
	.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	x19, x1
	mov	x21, x0
	add	x23, sp, #88
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	str	wzr, [sp, #84]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	stp	x8, xzr, [sp, #56]
Lloh6:
	adrp	x24, _OPTION_CALLBACK@GOTPAGE
Lloh7:
	ldr	x24, [x24, _OPTION_CALLBACK@GOTPAGEOFF]
	ldr	w8, [x24]
	strb	w8, [sp, #88]
	mov	w8, #109
	str	x8, [sp, #96]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	add	x25, sp, #32
	stp	w0, w25, [sp, #104]
	bl	_N_
	str	w0, [sp, #112]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_N_
	str	w0, [sp, #116]
Lloh12:
	adrp	x26, _PARSE_OPT_NONEG@GOTPAGE
Lloh13:
	ldr	x26, [x26, _PARSE_OPT_NONEG@GOTPAGEOFF]
	ldrsw	x8, [x26]
	str	x8, [sp, #120]
Lloh14:
	adrp	x8, _parse_msg_arg@GOTPAGE
Lloh15:
	ldr	x8, [x8, _parse_msg_arg@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [sp, #128]
	ldr	w8, [x24]
	strb	w8, [sp, #136]
	mov	w8, #70
	str	x8, [sp, #144]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	stp	w0, w25, [sp, #152]
	bl	_N_
	str	w0, [sp, #160]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_N_
	ldrsw	x8, [x26]
Lloh21:
	adrp	x9, _parse_file_arg@GOTPAGE
Lloh22:
	ldr	x9, [x9, _parse_file_arg@GOTPAGEOFF]
	str	x8, [x23, #80]
Lloh23:
	ldr	w8, [x9]
	str	w0, [sp, #164]
	str	w8, [sp, #176]
	ldr	w8, [x24]
	strb	w8, [sp, #184]
	mov	w8, #99
	str	x8, [x23, #104]
Lloh24:
	adrp	x8, l_.str.4@PAGE
Lloh25:
	add	x8, x8, l_.str.4@PAGEOFF
	stp	w8, w25, [sp, #200]
Lloh26:
	adrp	x22, l_.str.5@PAGE
Lloh27:
	add	x22, x22, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_N_
	str	w0, [sp, #208]
Lloh28:
	adrp	x0, l_.str.6@PAGE
Lloh29:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_N_
	ldrsw	x8, [x26]
Lloh30:
	adrp	x9, _parse_reedit_arg@GOTPAGE
Lloh31:
	ldr	x9, [x9, _parse_reedit_arg@GOTPAGEOFF]
	str	x8, [x23, #128]
Lloh32:
	ldr	w8, [x9]
	str	w0, [sp, #212]
	str	w8, [sp, #224]
	ldr	w8, [x24]
	strb	w8, [sp, #232]
	mov	w8, #67
	str	x8, [x23, #152]
Lloh33:
	adrp	x8, l_.str.7@PAGE
Lloh34:
	add	x8, x8, l_.str.7@PAGEOFF
	stp	w8, w25, [sp, #248]
	mov	x0, x22
	bl	_N_
	str	w0, [sp, #256]
Lloh35:
	adrp	x0, l_.str.8@PAGE
Lloh36:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_N_
	ldrsw	x8, [x26]
	str	x8, [x23, #176]
Lloh37:
	adrp	x8, _parse_reuse_arg@GOTPAGE
Lloh38:
	ldr	x8, [x8, _parse_reuse_arg@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	str	w0, [sp, #260]
	str	w8, [sp, #272]
	add	x22, x23, #192
Lloh40:
	adrp	x0, l_.str.10@PAGE
Lloh41:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #84
	mov	x8, x22
	mov	w0, #0
	bl	_OPT_BOOL
	add	x8, x23, #240
	bl	_OPT_END
	ldr	x0, [x19]
Lloh44:
	adrp	x1, l_.str.11@PAGE
Lloh45:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_strcmp
	mov	x22, x0
Lloh46:
	adrp	x8, _git_notes_edit_usage@GOTPAGE
Lloh47:
	ldr	x8, [x8, _git_notes_edit_usage@GOTPAGEOFF]
Lloh48:
	adrp	x9, _git_notes_append_usage@GOTPAGE
Lloh49:
	ldr	x9, [x9, _git_notes_append_usage@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x9, eq
	ldr	x23, [x8]
Lloh50:
	adrp	x8, _PARSE_OPT_KEEP_ARGV0@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PARSE_OPT_KEEP_ARGV0@GOTPAGEOFF]
Lloh52:
	ldr	w5, [x8]
	add	x3, sp, #88
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	x4, x23
	bl	_parse_options
	mov	x20, x0
	cmp	w0, #3
	b.lt	LBB0_2
; %bb.1:
Lloh53:
	adrp	x0, l_.str.12@PAGE
Lloh54:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	__
	bl	_error
	add	x1, sp, #88
	mov	x0, x23
	bl	_usage_with_options
LBB0_2:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_5
; %bb.3:
	cbnz	w22, LBB0_5
; %bb.4:
Lloh55:
	adrp	x8, _stderr@GOTPAGE
Lloh56:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh57:
	ldr	w21, [x8]
Lloh58:
	adrp	x0, l_.str.13@PAGE
Lloh59:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x21
	bl	_fprintf
LBB0_5:
	cmp	w20, #2
	b.lt	LBB0_7
; %bb.6:
	ldr	x20, [x19, #8]
	b	LBB0_8
LBB0_7:
Lloh60:
	adrp	x20, l_.str.14@PAGE
Lloh61:
	add	x20, x20, l_.str.14@PAGEOFF
LBB0_8:
	add	x1, sp, #80
	mov	x0, x20
	bl	_get_oid
	cbz	x0, LBB0_10
; %bb.9:
Lloh62:
	adrp	x0, l_.str.15@PAGE
Lloh63:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_die
LBB0_10:
	ldr	x0, [x19]
Lloh64:
	adrp	x8, _NOTES_INIT_WRITABLE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _NOTES_INIT_WRITABLE@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	bl	_init_notes_check
	mov	x20, x0
	add	x1, sp, #80
	bl	_get_note
	mov	x21, x0
	cmp	x0, #0
	ccmp	w22, #0, #0, ne
	csel	x2, x0, xzr, eq
	add	x0, sp, #80
	add	x1, sp, #32
	bl	_prepare_note_data
	cbz	x21, LBB0_20
; %bb.11:
	cbz	w22, LBB0_20
; %bb.12:
	add	x1, sp, #20
	add	x2, sp, #24
	mov	x0, x21
	bl	_read_object_file
	mov	x21, x0
	ldr	x8, [sp, #24]
	add	x1, x8, #1
	add	x0, sp, #32
	bl	_strbuf_grow
	ldp	x3, x8, [sp, #24]
	cbz	x8, LBB0_16
; %bb.13:
	cbz	x21, LBB0_16
; %bb.14:
	cbz	x3, LBB0_16
; %bb.15:
Lloh67:
	adrp	x2, l_.str.16@PAGE
Lloh68:
	add	x2, x2, l_.str.16@PAGEOFF
	add	x0, sp, #32
	mov	w1, #0
	mov	w3, #1
	bl	_strbuf_insert
	ldr	x3, [sp, #24]
LBB0_16:
	cbz	x21, LBB0_19
; %bb.17:
	cbz	x3, LBB0_19
; %bb.18:
	add	x0, sp, #32
	mov	w1, #0
	mov	x2, x21
	bl	_strbuf_insert
LBB0_19:
	mov	x0, x21
	bl	_free
LBB0_20:
	ldr	x8, [sp, #32]
	cbnz	x8, LBB0_23
; %bb.21:
	ldr	w8, [sp, #84]
	cbnz	w8, LBB0_23
; %bb.22:
Lloh69:
	adrp	x8, _stderr@GOTPAGE
Lloh70:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh71:
	ldr	w21, [x8]
Lloh72:
	adrp	x0, l_.str.19@PAGE
Lloh73:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	__
	mov	x22, x0
	add	x0, sp, #80
	bl	_oid_to_hex
	str	x0, [sp]
	mov	x0, x21
	mov	x1, x22
	bl	_fprintf
	ldr	w1, [sp, #80]
	mov	x0, x20
	bl	_remove_note
Lloh74:
	adrp	x0, l_.str.20@PAGE
Lloh75:
	add	x0, x0, l_.str.20@PAGEOFF
	b	LBB0_26
LBB0_23:
	add	x0, sp, #32
	add	x1, sp, #24
	bl	_write_note_data
Lloh76:
	adrp	x8, _combine_notes_overwrite@GOTPAGE
Lloh77:
	ldr	x8, [x8, _combine_notes_overwrite@GOTPAGEOFF]
Lloh78:
	ldr	w3, [x8]
	add	x1, sp, #80
	add	x2, sp, #24
	mov	x0, x20
	bl	_add_note
	cbz	x0, LBB0_25
; %bb.24:
Lloh79:
	adrp	x0, l_.str.17@PAGE
Lloh80:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_BUG
LBB0_25:
Lloh81:
	adrp	x0, l_.str.18@PAGE
Lloh82:
	add	x0, x0, l_.str.18@PAGEOFF
LBB0_26:
	ldr	x1, [x19]
	bl	_xstrfmt
	mov	x19, x0
Lloh83:
	adrp	x8, _the_repository@GOTPAGE
Lloh84:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_commit_notes
	mov	x0, x19
	bl	_free
	add	x0, sp, #32
	bl	_free_note_data
	mov	x0, x20
	bl	_free_notes
	ldur	x8, [x29, #-88]
Lloh86:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh87:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh88:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	mov	w0, #0
	ldp	x29, x30, [sp, #464]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #448]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #432]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #416]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #400]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #384]            ; 16-byte Folded Reload
	add	sp, sp, #480
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_OPTION_CALLBACK,4,2            ; @OPTION_CALLBACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"message"

l_.str.1:                               ; @.str.1
	.asciz	"note contents as a string"

	.comm	_PARSE_OPT_NONEG,4,2            ; @PARSE_OPT_NONEG
	.comm	_parse_msg_arg,4,2              ; @parse_msg_arg
l_.str.2:                               ; @.str.2
	.asciz	"file"

l_.str.3:                               ; @.str.3
	.asciz	"note contents in a file"

	.comm	_parse_file_arg,4,2             ; @parse_file_arg
l_.str.4:                               ; @.str.4
	.asciz	"reedit-message"

l_.str.5:                               ; @.str.5
	.asciz	"object"

l_.str.6:                               ; @.str.6
	.asciz	"reuse and edit specified note object"

	.comm	_parse_reedit_arg,4,2           ; @parse_reedit_arg
l_.str.7:                               ; @.str.7
	.asciz	"reuse-message"

l_.str.8:                               ; @.str.8
	.asciz	"reuse specified note object"

	.comm	_parse_reuse_arg,4,2            ; @parse_reuse_arg
l_.str.9:                               ; @.str.9
	.asciz	"allow-empty"

l_.str.10:                              ; @.str.10
	.asciz	"allow storing empty note"

l_.str.11:                              ; @.str.11
	.asciz	"edit"

	.comm	_git_notes_edit_usage,8,3       ; @git_notes_edit_usage
	.comm	_git_notes_append_usage,8,3     ; @git_notes_append_usage
	.comm	_PARSE_OPT_KEEP_ARGV0,4,2       ; @PARSE_OPT_KEEP_ARGV0
l_.str.12:                              ; @.str.12
	.asciz	"too many parameters"

	.comm	_stderr,4,2                     ; @stderr
l_.str.13:                              ; @.str.13
	.asciz	"The -m/-F/-c/-C options have been deprecated for the 'edit' subcommand.\nPlease use 'git notes add -f -m/-F/-c/-C' instead.\n"

l_.str.14:                              ; @.str.14
	.asciz	"HEAD"

l_.str.15:                              ; @.str.15
	.asciz	"failed to resolve '%s' as a valid ref."

	.comm	_NOTES_INIT_WRITABLE,4,2        ; @NOTES_INIT_WRITABLE
l_.str.16:                              ; @.str.16
	.asciz	"\n"

	.comm	_combine_notes_overwrite,4,2    ; @combine_notes_overwrite
l_.str.17:                              ; @.str.17
	.asciz	"combine_notes_overwrite failed"

l_.str.18:                              ; @.str.18
	.asciz	"Notes added by 'git notes %s'"

l_.str.19:                              ; @.str.19
	.asciz	"Removing note for object %s\n"

l_.str.20:                              ; @.str.20
	.asciz	"Notes removed by 'git notes %s'"

	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_append_edit
.subsections_via_symbols
