	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_subst
_format_subst:                          ## @format_subst
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -72(%rbp)
	movq	_DATE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_DEFAULT_ABBREV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	cmpq	%rsi, (%rcx)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
LBB0_3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$8, %ecx
	callq	_memmem
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	8(%r12), %r14
	leal	(%r15,%rbx), %edx
	subl	%r12d, %edx
	addl	$-8, %edx
	movq	%r14, %rdi
	movl	$36, %esi
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r13
	leaq	-48(%rbp), %rdi
	callq	_strbuf_reset
	movq	%r13, %rdx
	subq	%r12, %rdx
	addq	$-8, %rdx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_strbuf_add
	subq	%r15, %r12
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_strbuf_add
	movq	-48(%rbp), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	leaq	-80(%rbp), %rcx
	callq	_format_commit_message
	incq	%r13
	addq	%r15, %rbx
	subq	%r13, %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	leaq	L_.str(%rip), %rdx
	movl	$8, %ecx
	callq	_memmem
	movq	%rax, %r12
	movq	%r13, %r15
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_9
LBB0_4:
	movq	%r15, %r13
	jmp	LBB0_9
LBB0_7:
	movq	%r15, %r13
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_9:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_strbuf_add
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.comm	_DATE_NORMAL,4,2                ## @DATE_NORMAL
	.comm	_DEFAULT_ABBREV,4,2             ## @DEFAULT_ABBREV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"$Format:"

	.no_dead_strip	_format_subst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_subst
_format_subst:                          ; @format_subst
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	str	wzr, [sp, #16]
Lloh3:
	adrp	x8, _DATE_NORMAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DATE_NORMAL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _DEFAULT_ABBREV@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DEFAULT_ABBREV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	ldr	x8, [x3]
	cmp	x8, x1
	b.eq	LBB0_2
; %bb.1:
	mov	x22, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, #0
	bl	_strbuf_detach
	mov	x22, x0
LBB0_3:
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x20
	mov	w3, #8
	bl	_memmem
	cbz	x0, LBB0_7
; %bb.4:
	mov	x25, x0
Lloh11:
	adrp	x24, l_.str@PAGE
Lloh12:
	add	x24, x24, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x27, x25, #8
	add	w8, w23, w20
	sub	w8, w8, w25
	sub	w2, w8, #8
	mov	x0, x27
	mov	w1, #36
	bl	_memchr
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x0
	add	x0, sp, #24
	bl	_strbuf_reset
	sub	x8, x26, x25
	sub	x2, x8, #8
	add	x0, sp, #24
	mov	x1, x27
	bl	_strbuf_add
	sub	x2, x25, x23
	mov	x0, x19
	mov	x1, x23
	bl	_strbuf_add
	ldr	x1, [sp, #24]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, x19
	bl	_format_commit_message
	add	x26, x26, #1
	add	x8, x20, x23
	sub	x20, x8, x26
	mov	x0, x26
	mov	x1, x20
	mov	x2, x24
	mov	w3, #8
	bl	_memmem
	mov	x25, x0
	mov	x23, x26
	cbnz	x0, LBB0_5
	b	LBB0_8
LBB0_7:
	mov	x26, x23
LBB0_8:
	mov	x0, x19
	mov	x1, x26
	mov	x2, x20
	bl	_strbuf_add
	add	x0, sp, #24
	bl	_strbuf_release
	mov	x0, x22
	bl	_free
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.comm	_DATE_NORMAL,4,2                ; @DATE_NORMAL
	.comm	_DEFAULT_ABBREV,4,2             ; @DEFAULT_ABBREV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"$Format:"

	.no_dead_strip	_format_subst
.subsections_via_symbols
