	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_delete_ref
_cmd_delete_ref:                        ## @cmd_delete_ref
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_notnull
	movq	%rax, %r15
	movl	8(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_notnull
	movq	%rax, %r12
	movl	16(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_notnull
	movq	%rax, %r13
	movl	24(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_arg_flags
	movl	%eax, %ebx
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.4(%rip), %rdi
	callq	_die
LBB0_2:
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%ebx, %r8d
	callq	_refs_delete_ref
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"msg"

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

L_.str.2:                               ## @.str.2
	.asciz	"old-sha1"

L_.str.3:                               ## @.str.3
	.asciz	"flags"

L_.str.4:                               ## @.str.4
	.asciz	"not sha-1"

	.no_dead_strip	_cmd_delete_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_delete_ref
_cmd_delete_ref:                        ; @cmd_delete_ref
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_notnull
	mov	x20, x0
	ldr	w0, [x22, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_notnull
	mov	x21, x0
	ldr	w0, [x22, #16]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_notnull
	mov	x23, x0
	ldr	w0, [x22, #24]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_arg_flags
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x23
	bl	_get_oid_hex
	cbz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_die
LBB0_2:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x4, x22
	bl	_refs_delete_ref
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"msg"

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

l_.str.2:                               ; @.str.2
	.asciz	"old-sha1"

l_.str.3:                               ; @.str.3
	.asciz	"flags"

l_.str.4:                               ; @.str.4
	.asciz	"not sha-1"

	.no_dead_strip	_cmd_delete_ref
.subsections_via_symbols
