	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy
_copy:                                  ## @copy
	.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, %r15
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -76(%rbp)
	movl	$0, -84(%rbp)
	movq	$0, -96(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_N_
	movq	_PARSE_OPT_NOCOMPLETE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-76(%rbp), %rdi
	movl	%eax, %esi
	callq	_OPT__FORCE
	movl	%eax, -64(%rbp)
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	leaq	L_.str.1(%rip), %rsi
	leaq	-84(%rbp), %rdx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_OPT_BOOL
	movl	%eax, -60(%rbp)
	leaq	L_.str.4(%rip), %rdi
	callq	_N_
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rdi
	callq	_N_
	leaq	L_.str.3(%rip), %rsi
	leaq	-96(%rbp), %rdx
	xorl	%edi, %edi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_OPT_STRING
	movl	%eax, -56(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -52(%rbp)
	movq	_git_notes_copy_usage@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	leaq	-64(%rbp), %rcx
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	xorl	%r9d, %r9d
	callq	_parse_options
	movl	%eax, %ebx
	cmpl	$0, -84(%rbp)
	movq	-96(%rbp), %rsi
	jne	LBB0_2
## %bb.1:
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.4:
	testl	%ebx, %ebx
	jle	LBB0_5
LBB0_6:
	cmpl	$3, %ebx
	jb	LBB0_9
## %bb.7:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_8
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_29
## %bb.3:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_error
	movl	(%r13), %edi
	leaq	-64(%rbp), %rsi
	callq	_usage_with_options
	testl	%ebx, %ebx
	jg	LBB0_6
LBB0_5:
	leaq	L_.str.7(%rip), %rdi
LBB0_8:
	callq	__
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_error
	movl	(%r13), %edi
	leaq	-64(%rbp), %rsi
	callq	_usage_with_options
LBB0_9:
	movq	(%r14), %rdi
	leaq	-80(%rbp), %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movq	(%r14), %rsi
	movq	%rax, %rdi
	callq	_die
LBB0_11:
	cmpl	$2, %ebx
	jl	LBB0_12
## %bb.13:
	movq	8(%r14), %rbx
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str.9(%rip), %rbx
LBB0_14:
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_16:
	movq	_NOTES_INIT_WRITABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.10(%rip), %rdi
	callq	_init_notes_check
	movq	%rax, %r14
	leaq	-72(%rbp), %rsi
	movq	%rax, %rdi
	callq	_get_note
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:
	cmpl	$0, -76(%rbp)
	je	LBB0_18
## %bb.20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.12(%rip), %rdi
	callq	__
	movq	%rax, %rbx
	leaq	-72(%rbp), %rdi
	callq	_oid_to_hex
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_fprintf
LBB0_21:
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_get_note
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	movq	_combine_notes_overwrite@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_add_note
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	leaq	L_.str.14(%rip), %rdi
	callq	_BUG
LBB0_25:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.15(%rip), %rdx
	movq	%r14, %rsi
	callq	_commit_notes
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_22:
	leaq	L_.str.13(%rip), %rdi
	callq	__
	movq	%rax, %rbx
	leaq	-80(%rbp), %rdi
	jmp	LBB0_19
LBB0_18:
	leaq	L_.str.11(%rip), %rdi
	callq	__
	movq	%rax, %rbx
	leaq	-72(%rbp), %rdi
LBB0_19:
	callq	_oid_to_hex
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_error
	movl	%eax, %ebx
LBB0_26:
	movq	%r14, %rdi
	callq	_free_notes
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.28:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movl	-76(%rbp), %edi
	callq	_notes_copy_from_stdin
	movl	%eax, %ebx
	jmp	LBB0_27
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"replace existing notes"

	.comm	_PARSE_OPT_NOCOMPLETE,4,2       ## @PARSE_OPT_NOCOMPLETE
L_.str.1:                               ## @.str.1
	.asciz	"stdin"

L_.str.2:                               ## @.str.2
	.asciz	"read objects from stdin"

L_.str.3:                               ## @.str.3
	.asciz	"for-rewrite"

L_.str.4:                               ## @.str.4
	.asciz	"command"

L_.str.5:                               ## @.str.5
	.asciz	"load rewriting config for <command> (implies --stdin)"

	.comm	_git_notes_copy_usage,4,2       ## @git_notes_copy_usage
L_.str.6:                               ## @.str.6
	.asciz	"too many parameters"

L_.str.7:                               ## @.str.7
	.asciz	"too few parameters"

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

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

L_.str.10:                              ## @.str.10
	.asciz	"copy"

	.comm	_NOTES_INIT_WRITABLE,4,2        ## @NOTES_INIT_WRITABLE
L_.str.11:                              ## @.str.11
	.asciz	"Cannot copy notes. Found existing notes for object %s. Use '-f' to overwrite existing notes"

	.comm	_stderr,4,2                     ## @stderr
L_.str.12:                              ## @.str.12
	.asciz	"Overwriting existing notes for object %s\n"

L_.str.13:                              ## @.str.13
	.asciz	"missing notes on source object %s. Cannot copy."

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

	.comm	_the_repository,4,2             ## @the_repository
L_.str.15:                              ## @.str.15
	.asciz	"Notes added by 'git notes copy'"

	.no_dead_strip	_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy
_copy:                                  ; @copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	xzr, [sp, #32]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_N_
	mov	x1, x0
Lloh5:
	adrp	x8, _PARSE_OPT_NOCOMPLETE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PARSE_OPT_NOCOMPLETE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x0, sp, #36
	bl	_OPT__FORCE
	str	w0, [sp, #40]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #32
	mov	w0, #0
	bl	_OPT_BOOL
	str	w0, [sp, #44]
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_N_
	mov	x22, x0
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_N_
	mov	x4, x0
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	mov	w0, #0
	mov	x3, x22
	bl	_OPT_STRING
	str	w0, [sp, #48]
	bl	_OPT_END
	str	w0, [sp, #52]
Lloh18:
	adrp	x22, _git_notes_copy_usage@GOTPAGE
Lloh19:
	ldr	x22, [x22, _git_notes_copy_usage@GOTPAGEOFF]
	ldr	w4, [x22]
	add	x3, sp, #40
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	w5, #0
	bl	_parse_options
	mov	x20, x0
	ldr	w8, [sp, #32]
	ldr	x1, [sp, #8]
	cbnz	w8, LBB0_5
; %bb.1:
	cbnz	x1, LBB0_5
; %bb.2:
	cmp	w20, #1
	b.lt	LBB0_7
LBB0_3:
	cmp	w20, #3
	b.lo	LBB0_9
; %bb.4:
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_8
LBB0_5:
	cbz	w20, LBB0_29
; %bb.6:
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	bl	_error
	ldr	w0, [x22]
	add	x1, sp, #40
	bl	_usage_with_options
	cmp	w20, #1
	b.ge	LBB0_3
LBB0_7:
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_8:
	bl	__
	bl	_error
	ldr	w0, [x22]
	add	x1, sp, #40
	bl	_usage_with_options
LBB0_9:
	ldr	x0, [x19]
	add	x1, sp, #16
	bl	_get_oid
	cbz	x0, LBB0_11
; %bb.10:
Lloh26:
	adrp	x0, l_.str.8@PAGE
Lloh27:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	ldr	x1, [x19]
	bl	_die
LBB0_11:
	cmp	w20, #2
	b.lt	LBB0_13
; %bb.12:
	ldr	x19, [x19, #8]
	b	LBB0_14
LBB0_13:
Lloh28:
	adrp	x19, l_.str.9@PAGE
Lloh29:
	add	x19, x19, l_.str.9@PAGEOFF
LBB0_14:
	add	x1, sp, #24
	mov	x0, x19
	bl	_get_oid
	cbz	x0, LBB0_16
; %bb.15:
Lloh30:
	adrp	x0, l_.str.8@PAGE
Lloh31:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
LBB0_16:
Lloh32:
	adrp	x8, _NOTES_INIT_WRITABLE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NOTES_INIT_WRITABLE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x0, l_.str.10@PAGE
Lloh36:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_init_notes_check
	mov	x19, x0
	add	x1, sp, #24
	bl	_get_note
	cbz	x0, LBB0_19
; %bb.17:
	ldr	w8, [sp, #36]
	cbz	w8, LBB0_24
; %bb.18:
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	w20, [x8]
Lloh40:
	adrp	x0, l_.str.12@PAGE
Lloh41:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	__
	mov	x21, x0
	add	x0, sp, #24
	bl	_oid_to_hex
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_fprintf
LBB0_19:
	add	x1, sp, #16
	mov	x0, x19
	bl	_get_note
	cbz	x0, LBB0_23
; %bb.20:
	mov	x2, x0
Lloh42:
	adrp	x8, _combine_notes_overwrite@GOTPAGE
Lloh43:
	ldr	x8, [x8, _combine_notes_overwrite@GOTPAGEOFF]
Lloh44:
	ldr	w3, [x8]
	add	x1, sp, #24
	mov	x0, x19
	bl	_add_note
	cbz	x0, LBB0_22
; %bb.21:
Lloh45:
	adrp	x0, l_.str.14@PAGE
Lloh46:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_BUG
LBB0_22:
Lloh47:
	adrp	x8, _the_repository@GOTPAGE
Lloh48:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x2, l_.str.15@PAGE
Lloh51:
	add	x2, x2, l_.str.15@PAGEOFF
	mov	x1, x19
	bl	_commit_notes
	mov	w20, #0
	b	LBB0_26
LBB0_23:
Lloh52:
	adrp	x0, l_.str.13@PAGE
Lloh53:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	__
	mov	x20, x0
	add	x0, sp, #16
	b	LBB0_25
LBB0_24:
Lloh54:
	adrp	x0, l_.str.11@PAGE
Lloh55:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	__
	mov	x20, x0
	add	x0, sp, #24
LBB0_25:
	bl	_oid_to_hex
	str	x0, [sp]
	mov	x0, x20
	bl	_error
	mov	x20, x0
LBB0_26:
	mov	x0, x19
	bl	_free_notes
LBB0_27:
	ldur	x8, [x29, #-40]
Lloh56:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh57:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.28:
	mov	x0, x20
	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
	add	sp, sp, #112
	ret
LBB0_29:
	ldr	w0, [sp, #36]
	bl	_notes_copy_from_stdin
	mov	x20, x0
	b	LBB0_27
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"replace existing notes"

	.comm	_PARSE_OPT_NOCOMPLETE,4,2       ; @PARSE_OPT_NOCOMPLETE
l_.str.1:                               ; @.str.1
	.asciz	"stdin"

l_.str.2:                               ; @.str.2
	.asciz	"read objects from stdin"

l_.str.3:                               ; @.str.3
	.asciz	"for-rewrite"

l_.str.4:                               ; @.str.4
	.asciz	"command"

l_.str.5:                               ; @.str.5
	.asciz	"load rewriting config for <command> (implies --stdin)"

	.comm	_git_notes_copy_usage,4,2       ; @git_notes_copy_usage
l_.str.6:                               ; @.str.6
	.asciz	"too many parameters"

l_.str.7:                               ; @.str.7
	.asciz	"too few parameters"

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

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

l_.str.10:                              ; @.str.10
	.asciz	"copy"

	.comm	_NOTES_INIT_WRITABLE,4,2        ; @NOTES_INIT_WRITABLE
l_.str.11:                              ; @.str.11
	.asciz	"Cannot copy notes. Found existing notes for object %s. Use '-f' to overwrite existing notes"

	.comm	_stderr,4,2                     ; @stderr
l_.str.12:                              ; @.str.12
	.asciz	"Overwriting existing notes for object %s\n"

l_.str.13:                              ; @.str.13
	.asciz	"missing notes on source object %s. Cannot copy."

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

	.comm	_the_repository,4,2             ; @the_repository
l_.str.15:                              ; @.str.15
	.asciz	"Notes added by 'git notes copy'"

	.no_dead_strip	_copy
.subsections_via_symbols
