	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grab_1st_switch
_grab_1st_switch:                       ## @grab_1st_switch
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rdi
	movq	%rsi, %r15
	movq	%r9, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	callq	_skip_prefix
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	-40(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movq	16(%rbp), %r14
	leaq	L_.str.1(%rip), %rdi
	callq	_strlen
	cltq
	addq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strbuf_reset
	leaq	4(%r14), %rdi
	movq	%r15, %rsi
	callq	_oidcpy
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchrnul
	subl	%ebx, %eax
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_strbuf_add
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	movl	$1, %r12d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_strbuf_reset
	movq	_DEFAULT_ABBREV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strbuf_add_unique_abbrev
LBB0_4:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"checkout: moving from "

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

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

	.comm	_DEFAULT_ABBREV,4,2             ## @DEFAULT_ABBREV
	.no_dead_strip	_grab_1st_switch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grab_1st_switch
_grab_1st_switch:                       ; @grab_1st_switch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x6
	mov	x0, x5
	mov	x20, x1
	str	x5, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x0, [sp, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_strlen
	add	x21, x21, w0, sxtw
	mov	x0, x19
	bl	_strbuf_reset
	add	x0, x19, #4
	mov	x1, x20
	bl	_oidcpy
	mov	x0, x21
	mov	w1, #10
	bl	_strchrnul
	sub	w2, w0, w21
	mov	x0, x19
	mov	x1, x21
	bl	_strbuf_add
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_strbuf_reset
Lloh8:
	adrp	x8, _DEFAULT_ABBREV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DEFAULT_ABBREV@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_strbuf_add_unique_abbrev
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"checkout: moving from "

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

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

	.comm	_DEFAULT_ABBREV,4,2             ; @DEFAULT_ABBREV
	.no_dead_strip	_grab_1st_switch
.subsections_via_symbols
