	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_reflog_exists
_cmd_reflog_exists:                     ## @cmd_reflog_exists
	.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, %r12
	movl	$1, %r13d
	cmpl	$2, %edi
	jl	LBB0_7
## %bb.1:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %r15d
	movl	$1, %r14d
	movl	$2, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r14,8), %rbx
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$45, (%rbx)
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_reflog_exists_usage@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	__
	movl	%eax, %edi
	callq	_usage
	incq	%r14
	incl	%r13d
	cmpq	%r14, %r15
	jne	LBB0_2
## %bb.5:
	movl	%r15d, %r13d
	jmp	LBB0_6
LBB0_12:
	movl	%r14d, %r13d
LBB0_6:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
LBB0_7:
	subl	%r13d, %edi
	cmpl	$1, %edi
	je	LBB0_9
## %bb.8:
	movq	_reflog_exists_usage@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	__
	movl	%eax, %edi
	callq	_usage
LBB0_9:
	movslq	%r13d, %rbx
	movq	(%r12,%rbx,8), %rdi
	movq	_REFNAME_ALLOW_ONELEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_check_refname_format
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	(%r12,%rbx,8), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_11:
	movq	(%r12,%rbx,8), %rdi
	callq	_reflog_exists
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, %eax
	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	"--"

	.comm	_reflog_exists_usage,8,3        ## @reflog_exists_usage
	.comm	_REFNAME_ALLOW_ONELEVEL,4,2     ## @REFNAME_ALLOW_ONELEVEL
L_.str.1:                               ## @.str.1
	.asciz	"invalid ref format: %s"

	.no_dead_strip	_cmd_reflog_exists
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_reflog_exists
_cmd_reflog_exists:                     ; @cmd_reflog_exists
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	cmp	w0, #2
	b.lt	LBB0_6
; %bb.1:
	mov	x23, #0
	mov	w24, w20
	add	x25, x19, #8
	sub	x26, x24, #1
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x27, _reflog_exists_usage@GOTPAGE
Lloh3:
	ldr	x27, [x27, _reflog_exists_usage@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x25, x23, lsl #3]
	mov	x0, x22
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #45
	b.ne	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x27]
	bl	__
	bl	_usage
	add	x23, x23, #1
	cmp	x26, x23
	b.ne	LBB0_2
; %bb.5:
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_9
LBB0_6:
	mov	w24, #1
	b	LBB0_9
LBB0_7:
	add	w24, w23, #2
	b	LBB0_9
LBB0_8:
	add	w24, w23, #1
LBB0_9:
	sub	w8, w20, w24
	cmp	w8, #1
	b.eq	LBB0_11
; %bb.10:
Lloh4:
	adrp	x8, _reflog_exists_usage@GOTPAGE
Lloh5:
	ldr	x8, [x8, _reflog_exists_usage@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	bl	__
	bl	_usage
LBB0_11:
	sxtw	x20, w24
	ldr	x0, [x19, w24, sxtw #3]
Lloh7:
	adrp	x8, _REFNAME_ALLOW_ONELEVEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REFNAME_ALLOW_ONELEVEL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_check_refname_format
	cbz	x0, LBB0_13
; %bb.12:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	ldr	x1, [x19, x20, lsl #3]
	bl	_die
LBB0_13:
	ldr	x0, [x19, x20, lsl #3]
	bl	_reflog_exists
	cmp	w0, #0
	cset	w0, eq
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--"

	.comm	_reflog_exists_usage,8,3        ; @reflog_exists_usage
	.comm	_REFNAME_ALLOW_ONELEVEL,4,2     ; @REFNAME_ALLOW_ONELEVEL
l_.str.1:                               ; @.str.1
	.asciz	"invalid ref format: %s"

	.no_dead_strip	_cmd_reflog_exists
.subsections_via_symbols
