	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_cmd
_remove_cmd:                            ## @remove_cmd
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -68(%rbp)
	movl	$0, -72(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	_N_
	movq	_IGNORE_MISSING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	leaq	-68(%rbp), %rdx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_OPT_BIT
	movl	%eax, -64(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	leaq	L_.str.2(%rip), %rsi
	leaq	-72(%rbp), %rdx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_OPT_BOOL
	movl	%eax, -60(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -56(%rbp)
	movq	_git_notes_remove_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-64(%rbp), %rcx
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%r9d, %r9d
	callq	_parse_options
	movl	%eax, %r12d
	movq	_NOTES_INIT_WRITABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_init_notes_check
	movq	%rax, %r14
	orl	-72(%rbp), %r12d
	je	LBB0_13
## %bb.1:
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	addq	$8, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-68(%rbp), %edx
	movq	%r14, %rdi
	callq	_remove_one_note
	orl	%eax, %ebx
	movq	(%r15), %rsi
	addq	$8, %r15
	testq	%rsi, %rsi
	jne	LBB0_3
	jmp	LBB0_4
LBB0_13:
	movl	-68(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_remove_one_note
	movl	%eax, %ebx
LBB0_4:
	cmpl	$0, -72(%rbp)
	je	LBB0_9
## %bb.5:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	_stdin@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-80(%rbp), %rdi
	movl	$10, %edx
	callq	_strbuf_getwholeline
	movq	_EOF@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_8
## %bb.6:
	leaq	-80(%rbp), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strbuf_rtrim
	movq	-80(%rbp), %rsi
	movl	-68(%rbp), %edx
	movq	%r14, %rdi
	callq	_remove_one_note
	orl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strbuf_getwholeline
	cmpq	(%r13), %rax
	jne	LBB0_7
LBB0_8:
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
LBB0_9:
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.10:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rsi
	callq	_commit_notes
LBB0_11:
	movq	%r14, %rdi
	callq	_free_notes
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.12:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignore-missing"

L_.str.1:                               ## @.str.1
	.asciz	"attempt to remove non-existent note is not an error"

	.comm	_IGNORE_MISSING,4,2             ## @IGNORE_MISSING
L_.str.2:                               ## @.str.2
	.asciz	"stdin"

L_.str.3:                               ## @.str.3
	.asciz	"read object names from the standard input"

	.comm	_git_notes_remove_usage,4,2     ## @git_notes_remove_usage
L_.str.4:                               ## @.str.4
	.asciz	"remove"

	.comm	_NOTES_INIT_WRITABLE,4,2        ## @NOTES_INIT_WRITABLE
L_.str.5:                               ## @.str.5
	.asciz	"HEAD"

	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.comm	_stdin,4,2                      ## @stdin
	.comm	_EOF,8,3                        ## @EOF
	.comm	_the_repository,4,2             ## @the_repository
L_.str.6:                               ## @.str.6
	.asciz	"Notes removed by 'git notes remove'"

	.no_dead_strip	_remove_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_cmd
_remove_cmd:                            ; @remove_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	str	xzr, [sp, #16]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh5:
	adrp	x8, _IGNORE_MISSING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IGNORE_MISSING@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #20
	mov	w0, #0
	bl	_OPT_BIT
	str	w0, [sp, #24]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #16
	mov	w0, #0
	bl	_OPT_BOOL
	str	w0, [sp, #28]
	bl	_OPT_END
	str	w0, [sp, #32]
Lloh14:
	adrp	x8, _git_notes_remove_usage@GOTPAGE
Lloh15:
	ldr	x8, [x8, _git_notes_remove_usage@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
	add	x3, sp, #24
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	w5, #0
	bl	_parse_options
	mov	x20, x0
Lloh17:
	adrp	x8, _NOTES_INIT_WRITABLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NOTES_INIT_WRITABLE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_init_notes_check
	mov	x19, x0
	ldr	w8, [sp, #16]
	orr	w8, w20, w8
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x1, [x21]
	cbz	x1, LBB0_14
; %bb.2:
	mov	w20, #0
	add	x21, x21, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [sp, #20]
	mov	x0, x19
	bl	_remove_one_note
	orr	w20, w0, w20
	ldr	x1, [x21], #8
	cbnz	x1, LBB0_3
	b	LBB0_5
LBB0_4:
	ldr	w2, [sp, #20]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_remove_one_note
	mov	x20, x0
LBB0_5:
	ldr	w8, [sp, #16]
	cbz	w8, LBB0_10
LBB0_6:
Lloh24:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh27:
	adrp	x21, _stdin@GOTPAGE
Lloh28:
	ldr	x21, [x21, _stdin@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x0, sp, #8
	mov	w2, #10
	bl	_strbuf_getwholeline
Lloh29:
	adrp	x22, _EOF@GOTPAGE
Lloh30:
	ldr	x22, [x22, _EOF@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #8
	bl	_strbuf_rtrim
	ldr	x1, [sp, #8]
	ldr	w2, [sp, #20]
	mov	x0, x19
	bl	_remove_one_note
	orr	w20, w0, w20
	ldr	w1, [x21]
	add	x0, sp, #8
	mov	w2, #10
	bl	_strbuf_getwholeline
	b	LBB0_7
LBB0_9:
	add	x0, sp, #8
	bl	_strbuf_release
LBB0_10:
	cbnz	w20, LBB0_12
; %bb.11:
Lloh31:
	adrp	x8, _the_repository@GOTPAGE
Lloh32:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x2, l_.str.6@PAGE
Lloh35:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_commit_notes
LBB0_12:
	mov	x0, x19
	bl	_free_notes
	ldr	x8, [sp, #40]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.13:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_14:
	mov	w20, #0
	ldr	w8, [sp, #16]
	cbnz	w8, LBB0_6
	b	LBB0_10
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.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	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignore-missing"

l_.str.1:                               ; @.str.1
	.asciz	"attempt to remove non-existent note is not an error"

	.comm	_IGNORE_MISSING,4,2             ; @IGNORE_MISSING
l_.str.2:                               ; @.str.2
	.asciz	"stdin"

l_.str.3:                               ; @.str.3
	.asciz	"read object names from the standard input"

	.comm	_git_notes_remove_usage,4,2     ; @git_notes_remove_usage
l_.str.4:                               ; @.str.4
	.asciz	"remove"

	.comm	_NOTES_INIT_WRITABLE,4,2        ; @NOTES_INIT_WRITABLE
l_.str.5:                               ; @.str.5
	.asciz	"HEAD"

	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.comm	_stdin,4,2                      ; @stdin
	.comm	_EOF,8,3                        ; @EOF
	.comm	_the_repository,4,2             ; @the_repository
l_.str.6:                               ; @.str.6
	.asciz	"Notes removed by 'git notes remove'"

	.no_dead_strip	_remove_cmd
.subsections_via_symbols
