	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_cmd_delete
_parse_cmd_delete:                      ## @parse_cmd_delete
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rdx, -40(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_parse_refname
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	movq	_PARSE_SHA1_OLD@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.1(%rip), %rcx
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movq	%r12, %r8
	callq	_parse_next_oid
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	leaq	-48(%rbp), %rdi
	callq	_is_null_oid
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_5:
	movq	-40(%rbp), %rdx
	movb	(%rdx), %al
	movq	_line_termination@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_7:
	xorl	%edx, %edx
	testq	%rbx, %rbx
	cmoveq	%r15, %rdx
	movq	_update_flags@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-56(%rbp), %r9
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ref_transaction_delete
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_9:
	movq	_default_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	callq	_free
	leaq	-56(%rbp), %rdi
	callq	_strbuf_release
	movq	-40(%rbp), %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"delete: missing <ref>"

L_.str.1:                               ## @.str.1
	.asciz	"delete"

	.comm	_PARSE_SHA1_OLD,4,2             ## @PARSE_SHA1_OLD
L_.str.2:                               ## @.str.2
	.asciz	"delete %s: zero <oldvalue>"

	.comm	_line_termination,1,0           ## @line_termination
L_.str.3:                               ## @.str.3
	.asciz	"delete %s: extra input: %s"

	.comm	_update_flags,4,2               ## @update_flags
	.comm	_msg,4,2                        ## @msg
L_.str.4:                               ## @.str.4
	.asciz	"%s"

	.comm	_default_flags,4,2              ## @default_flags
	.no_dead_strip	_parse_cmd_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_cmd_delete
_parse_cmd_delete:                      ; @parse_cmd_delete
	.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	x21, x1
	mov	x20, x0
	str	x2, [sp, #40]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #32]
	add	x1, sp, #40
	mov	x0, x21
	bl	_parse_refname
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
Lloh5:
	adrp	x8, _PARSE_SHA1_OLD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PARSE_SHA1_OLD@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	add	x1, sp, #40
	add	x2, sp, #24
	mov	x0, x21
	mov	x4, x19
	bl	_parse_next_oid
	mov	x21, x0
	cbnz	x0, LBB0_5
; %bb.3:
	add	x0, sp, #24
	bl	_is_null_oid
	cbz	x0, LBB0_5
; %bb.4:
	str	x19, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
LBB0_5:
	ldr	x8, [sp, #40]
	ldrb	w9, [x8]
Lloh12:
	adrp	x10, _line_termination@GOTPAGE
Lloh13:
	ldr	x10, [x10, _line_termination@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_7
; %bb.6:
	stp	x19, x8, [sp]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_die
LBB0_7:
	add	x8, sp, #24
	cmp	x21, #0
	csel	x2, x8, xzr, eq
Lloh16:
	adrp	x21, _update_flags@GOTPAGE
Lloh17:
	ldr	x21, [x21, _update_flags@GOTPAGEOFF]
	ldr	w3, [x21]
Lloh18:
	adrp	x8, _msg@GOTPAGE
Lloh19:
	ldr	x8, [x8, _msg@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	add	x5, sp, #32
	mov	x0, x20
	mov	x1, x19
	bl	_ref_transaction_delete
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [sp, #32]
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_die
LBB0_9:
Lloh23:
	adrp	x8, _default_flags@GOTPAGE
Lloh24:
	ldr	x8, [x8, _default_flags@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x19
	bl	_free
	add	x0, sp, #32
	bl	_strbuf_release
	ldr	x0, [sp, #40]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"delete: missing <ref>"

l_.str.1:                               ; @.str.1
	.asciz	"delete"

	.comm	_PARSE_SHA1_OLD,4,2             ; @PARSE_SHA1_OLD
l_.str.2:                               ; @.str.2
	.asciz	"delete %s: zero <oldvalue>"

	.comm	_line_termination,1,0           ; @line_termination
l_.str.3:                               ; @.str.3
	.asciz	"delete %s: extra input: %s"

	.comm	_update_flags,4,2               ; @update_flags
	.comm	_msg,4,2                        ; @msg
l_.str.4:                               ; @.str.4
	.asciz	"%s"

	.comm	_default_flags,4,2              ; @default_flags
	.no_dead_strip	_parse_cmd_delete
.subsections_via_symbols
