	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_symbolic_ref               ## -- Begin function cmd_symbolic_ref
	.p2align	4, 0x90
_cmd_symbolic_ref:                      ## @cmd_symbolic_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
	subq	$72, %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, %r12
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -92(%rbp)
	movl	$0, -88(%rbp)
	movl	$0, -84(%rbp)
	movq	$0, -104(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_N_
	leaq	-92(%rbp), %rdi
	movl	%eax, %esi
	callq	_OPT__QUIET
	movl	%eax, -80(%rbp)
	leaq	L_.str.2(%rip), %rdi
	callq	_N_
	leaq	L_.str.1(%rip), %rsi
	leaq	-88(%rbp), %rdx
	movl	$100, %edi
	movl	%eax, %ecx
	callq	_OPT_BOOL
	movl	%eax, -76(%rbp)
	leaq	L_.str.4(%rip), %rdi
	callq	_N_
	leaq	L_.str.3(%rip), %rsi
	leaq	-84(%rbp), %rdx
	xorl	%edi, %edi
	movl	%eax, %ecx
	callq	_OPT_BOOL
	movl	%eax, -72(%rbp)
	leaq	L_.str.5(%rip), %rdi
	callq	_N_
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	_N_
	leaq	-104(%rbp), %rdx
	movl	$109, %edi
	xorl	%esi, %esi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_OPT_STRING
	movl	%eax, -68(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -64(%rbp)
	movq	_git_default_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_config
	movq	_git_symbolic_ref_usage@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	leaq	-80(%rbp), %rcx
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%r9d, %r9d
	callq	_parse_options
	movl	%eax, %ebx
	movq	-104(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpb	$0, (%rax)
	je	LBB0_2
LBB0_3:
	cmpl	$0, -88(%rbp)
	je	LBB0_11
LBB0_4:
	cmpl	$1, %ebx
	je	LBB0_6
## %bb.5:
	movl	(%r13), %edi
	leaq	-80(%rbp), %rsi
	callq	_usage_with_options
LBB0_6:
	movq	(%r12), %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_check_symref
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	(%r12), %rsi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_8:
	movq	(%r12), %rbx
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.10(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_die
	movq	(%r12), %rbx
LBB0_10:
	movq	_REF_NO_DEREF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_delete_ref
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_21
## %bb.20:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
	cmpl	$0, -88(%rbp)
	jne	LBB0_4
LBB0_11:
	cmpl	$2, %ebx
	je	LBB0_14
## %bb.12:
	cmpl	$1, %ebx
	jne	LBB0_18
## %bb.13:
	movq	(%r12), %rdi
	movl	-92(%rbp), %esi
	movl	-84(%rbp), %edx
	movl	$1, %ecx
	callq	_check_symref
	jmp	LBB0_19
LBB0_14:
	movq	(%r12), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movq	8(%r12), %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_starts_with
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_17:
	movq	(%r12), %rdi
	movq	8(%r12), %rsi
	movq	-104(%rbp), %rdx
	callq	_create_symref
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	jmp	LBB0_19
LBB0_18:
	movl	(%r13), %edi
	leaq	-80(%rbp), %rsi
	callq	_usage_with_options
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"suppress error message for non-symbolic (detached) refs"

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

L_.str.2:                               ## @.str.2
	.asciz	"delete symbolic ref"

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

L_.str.4:                               ## @.str.4
	.asciz	"shorten ref output"

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

L_.str.6:                               ## @.str.6
	.asciz	"reason of the update"

	.comm	_git_default_config,4,2         ## @git_default_config
	.comm	_git_symbolic_ref_usage,4,2     ## @git_symbolic_ref_usage
L_.str.7:                               ## @.str.7
	.asciz	"Refusing to perform update with empty message"

L_.str.8:                               ## @.str.8
	.asciz	"Cannot delete %s, not a symbolic ref"

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

L_.str.10:                              ## @.str.10
	.asciz	"deleting '%s' is not allowed"

	.comm	_REF_NO_DEREF,4,2               ## @REF_NO_DEREF
L_.str.11:                              ## @.str.11
	.asciz	"refs/"

L_.str.12:                              ## @.str.12
	.asciz	"Refusing to point HEAD outside of refs/"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_symbolic_ref               ; -- Begin function cmd_symbolic_ref
	.p2align	2
_cmd_symbolic_ref:                      ; @cmd_symbolic_ref
	.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, #24]
	str	wzr, [sp, #20]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_N_
	mov	x1, x0
	add	x0, sp, #28
	bl	_OPT__QUIET
	str	w0, [sp, #32]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #24
	mov	w0, #100
	bl	_OPT_BOOL
	str	w0, [sp, #36]
Lloh9:
	adrp	x0, l_.str.4@PAGE
Lloh10:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #20
	mov	w0, #0
	bl	_OPT_BOOL
	str	w0, [sp, #40]
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_N_
	mov	x22, x0
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_N_
	mov	x4, x0
	add	x2, sp, #8
	mov	w0, #109
	mov	x1, #0
	mov	x3, x22
	bl	_OPT_STRING
	str	w0, [sp, #44]
	bl	_OPT_END
	str	w0, [sp, #48]
Lloh17:
	adrp	x8, _git_default_config@GOTPAGE
Lloh18:
	ldr	x8, [x8, _git_default_config@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
Lloh20:
	adrp	x22, _git_symbolic_ref_usage@GOTPAGE
Lloh21:
	ldr	x22, [x22, _git_symbolic_ref_usage@GOTPAGEOFF]
	ldr	w4, [x22]
	add	x3, sp, #32
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	w5, #0
	bl	_parse_options
	mov	x20, x0
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldrb	w8, [x8]
	cbz	w8, LBB0_12
LBB0_2:
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_13
LBB0_3:
	cmp	w20, #1
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x22]
	add	x1, sp, #32
	bl	_usage_with_options
LBB0_5:
	ldr	x0, [x19]
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
	bl	_check_symref
	cbz	w0, LBB0_7
; %bb.6:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str.8@PAGE
Lloh23:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_die
LBB0_7:
	ldr	x20, [x19]
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	w0, LBB0_9
; %bb.8:
	str	x20, [sp]
Lloh26:
	adrp	x0, l_.str.10@PAGE
Lloh27:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_die
	ldr	x20, [x19]
LBB0_9:
Lloh28:
	adrp	x8, _REF_NO_DEREF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _REF_NO_DEREF@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, #0
	mov	x1, x20
	mov	x2, #0
	bl	_delete_ref
LBB0_10:
	ldur	x8, [x29, #-40]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.11:
	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_12:
Lloh34:
	adrp	x0, l_.str.7@PAGE
Lloh35:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_die
	ldr	w8, [sp, #24]
	cbnz	w8, LBB0_3
LBB0_13:
	cmp	w20, #2
	b.eq	LBB0_16
; %bb.14:
	cmp	w20, #1
	b.ne	LBB0_20
; %bb.15:
	ldr	x0, [x19]
	ldr	w1, [sp, #28]
	ldr	w2, [sp, #20]
	mov	w3, #1
	bl	_check_symref
	b	LBB0_10
LBB0_16:
	ldr	x0, [x19]
Lloh36:
	adrp	x1, l_.str.9@PAGE
Lloh37:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_19
; %bb.17:
	ldr	x0, [x19, #8]
Lloh38:
	adrp	x1, l_.str.11@PAGE
Lloh39:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_starts_with
	cbnz	w0, LBB0_19
; %bb.18:
Lloh40:
	adrp	x0, l_.str.12@PAGE
Lloh41:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_die
LBB0_19:
	ldp	x0, x1, [x19]
	ldr	x2, [sp, #8]
	bl	_create_symref
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_10
LBB0_20:
	ldr	w0, [x22]
	add	x1, sp, #32
	bl	_usage_with_options
	mov	w0, #0
	b	LBB0_10
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"suppress error message for non-symbolic (detached) refs"

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

l_.str.2:                               ; @.str.2
	.asciz	"delete symbolic ref"

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

l_.str.4:                               ; @.str.4
	.asciz	"shorten ref output"

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

l_.str.6:                               ; @.str.6
	.asciz	"reason of the update"

	.comm	_git_default_config,4,2         ; @git_default_config
	.comm	_git_symbolic_ref_usage,4,2     ; @git_symbolic_ref_usage
l_.str.7:                               ; @.str.7
	.asciz	"Refusing to perform update with empty message"

l_.str.8:                               ; @.str.8
	.asciz	"Cannot delete %s, not a symbolic ref"

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

l_.str.10:                              ; @.str.10
	.asciz	"deleting '%s' is not allowed"

	.comm	_REF_NO_DEREF,4,2               ; @REF_NO_DEREF
l_.str.11:                              ; @.str.11
	.asciz	"refs/"

l_.str.12:                              ; @.str.12
	.asciz	"Refusing to point HEAD outside of refs/"

.subsections_via_symbols
