	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ident_to_git
_ident_to_git:                          ## @ident_to_git
	.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
	xorl	%ebx, %ebx
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_count_ident
	testl	%eax, %eax
	je	LBB0_15
LBB0_3:
	movl	$1, %ebx
	testq	%r14, %r14
	je	LBB0_15
## %bb.4:
	movq	%r14, %rdi
	callq	_strbuf_avail
	movq	(%r14), %rcx
	addq	%rcx, %rax
	cmpq	%r12, %rax
	jae	LBB0_6
## %bb.5:
	movq	%r12, %rsi
	subq	%rcx, %rsi
	movq	%r14, %rdi
	callq	_strbuf_grow
LBB0_6:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %r13
	movq	%r15, %rdi
	movl	$36, %esi
	movl	%r12d, %edx
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	movq	%rax, %r14
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	movl	$36, %esi
	movl	%r12d, %edx
	callq	_memchr
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_14
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rsi
	leaq	1(%r14), %r15
	movq	%r15, %rbx
	subq	%rsi, %rbx
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_memmove
	addq	%rbx, %r13
	subq	%rbx, %r12
	cmpq	$4, %r12
	jb	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$3, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	addq	$4, %r14
	leal	-3(%r12), %edx
	movq	%r14, %rdi
	movl	$36, %esi
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rbx
	movl	%ebx, %edx
	subl	%r15d, %edx
	addl	$-3, %edx
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_memchr
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$3, %edx
	callq	_memcpy
	addq	$3, %r13
	incq	%rbx
	addq	%r15, %r12
	subq	%rbx, %r12
	movq	%rbx, %r15
	jmp	LBB0_13
LBB0_14:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_memmove
	addl	%r12d, %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	subl	8(%rdi), %r13d
	movl	%r13d, %esi
	callq	_strbuf_setlen
	movl	$1, %ebx
LBB0_15:
	movl	%ebx, %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	"Id:"

L_.str.1:                               ## @.str.1
	.asciz	"Id$"

	.no_dead_strip	_ident_to_git
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ident_to_git
_ident_to_git:                          ; @ident_to_git
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	w3, LBB0_14
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	bl	_count_ident
	cbz	w0, LBB0_17
LBB0_3:
	cbz	x19, LBB0_16
; %bb.4:
	mov	x0, x19
	bl	_strbuf_avail
	ldr	x8, [x19]
	add	x9, x8, x0
	cmp	x9, x20
	b.hs	LBB0_6
; %bb.5:
	sub	x1, x20, x8
	mov	x0, x19
	bl	_strbuf_grow
LBB0_6:
	ldr	x22, [x19, #8]
	mov	x0, x21
	mov	w1, #36
	mov	x2, x20
	bl	_memchr
	cbz	x0, LBB0_15
; %bb.7:
	mov	x25, x0
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	mov	w1, #36
	mov	x2, x20
	bl	_memchr
	mov	x25, x0
	cbz	x0, LBB0_15
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x21
	add	x21, x25, #1
	sub	x26, x21, x1
	mov	x0, x22
	mov	x2, x26
	bl	_memmove
	add	x22, x22, x26
	sub	x20, x20, x26
	cmp	x20, #4
	b.lo	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	w2, #3
	bl	_memcmp
	cbnz	w0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x26, x25, #4
	sub	w2, w20, #3
	mov	x0, x26
	mov	w1, #36
	bl	_memchr
	cbz	x0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x25, x0
	sub	w8, w25, w21
	sub	w2, w8, #3
	mov	x0, x26
	mov	w1, #10
	bl	_memchr
	cbnz	x0, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	mov	x1, x24
	mov	w2, #3
	bl	_memcpy
	add	x22, x22, #3
	add	x8, x25, #1
	add	x9, x20, x21
	sub	x20, x9, x8
	mov	x21, x8
	b	LBB0_8
LBB0_14:
	mov	w0, #0
	b	LBB0_17
LBB0_15:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_memmove
	ldr	w8, [x19, #8]
	add	w9, w22, w20
	sub	w1, w9, w8
	mov	x0, x19
	bl	_strbuf_setlen
LBB0_16:
	mov	w0, #1
LBB0_17:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Id:"

l_.str.1:                               ; @.str.1
	.asciz	"Id$"

	.no_dead_strip	_ident_to_git
.subsections_via_symbols
