	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_commit_tree_extended           ## -- Begin function commit_tree_extended
	.p2align	4, 0x90
_commit_tree_extended:                  ## @commit_tree_extended
	.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	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	24(%rbp), %rbx
	movq	16(%rbp), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)
	movq	_OBJ_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_assert_oid_type
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.18:
	leaq	L_.str(%rip), %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_1:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	_git_commit_encoding@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_is_encoding_utf8
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movl	$8192, %esi                     ## imm = 0x2000
	callq	_strbuf_init
	movq	%r12, %rdi
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movq	%rax, %rdx
	callq	_strbuf_addf
	testq	%r15, %r15
	je	LBB0_4
## %bb.2:
	leaq	-64(%rbp), %r15
	leaq	L_.str.2(%rip), %r12
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_pop_commit
	movq	%rax, %rdi
	callq	_oid_to_hex
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_strbuf_addf
	cmpq	$0, -64(%rbp)
	jne	LBB0_3
LBB0_4:
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	jne	LBB0_6
## %bb.5:
	movq	_IDENT_STRICT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_git_author_info
	movq	%rax, %rdx
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_strbuf_addf
	movq	_IDENT_STRICT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_git_committer_info
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_strbuf_addf
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r14, %r13
	jne	LBB0_8
## %bb.7:
	movq	_git_commit_encoding@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.5(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strbuf_addf
LBB0_8:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.9:
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_add_extra_header
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_10
LBB0_11:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_strbuf_add
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_14
## %bb.12:
	leaq	-48(%rbp), %rdi
	callq	_verify_utf8
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_commit_utf8_warn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_fprintf
LBB0_14:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.15:
	leaq	-48(%rbp), %rdi
	callq	_do_sign_commit
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_17
LBB0_16:
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edi
	movq	_commit_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rcx
	callq	_write_object_file
	movl	%eax, %ebx
LBB0_17:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_TREE,4,2                   ## @OBJ_TREE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a NUL byte in commit log message not allowed."

	.comm	_git_commit_encoding,8,3        ## @git_commit_encoding
L_.str.1:                               ## @.str.1
	.asciz	"tree %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"parent %s\n"

	.comm	_IDENT_STRICT,4,2               ## @IDENT_STRICT
L_.str.3:                               ## @.str.3
	.asciz	"author %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"committer %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"encoding %s\n"

	.comm	_stderr,4,2                     ## @stderr
	.comm	_commit_utf8_warn,4,2           ## @commit_utf8_warn
	.comm	_commit_type,4,2                ## @commit_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_commit_tree_extended           ; -- Begin function commit_tree_extended
	.p2align	2
_commit_tree_extended:                  ; @commit_tree_extended
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.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	x23, x7
	mov	x20, x6
	mov	x25, x5
	mov	x19, x4
	mov	x26, x3
	mov	x27, x2
	mov	x21, x1
	mov	x22, x0
	str	x3, [sp, #8]
Lloh0:
	adrp	x8, _OBJ_TREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJ_TREE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_assert_oid_type
	mov	x0, x22
	mov	w1, #0
	mov	x2, x21
	bl	_memchr
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_error
LBB0_2:
Lloh5:
	adrp	x28, _git_commit_encoding@GOTPAGE
Lloh6:
	ldr	x28, [x28, _git_commit_encoding@GOTPAGEOFF]
	ldr	x0, [x28]
	bl	_is_encoding_utf8
	mov	x24, x0
	mov	x0, sp
	mov	w1, #8192
	bl	_strbuf_init
	mov	x0, x27
	bl	_oid_to_hex
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, sp
	bl	_strbuf_addf
	cbz	x26, LBB0_5
; %bb.3:
Lloh9:
	adrp	x26, l_.str.2@PAGE
Lloh10:
	add	x26, x26, l_.str.2@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_pop_commit
	bl	_oid_to_hex
	mov	x2, x0
	mov	x0, sp
	mov	x1, x26
	bl	_strbuf_addf
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_4
LBB0_5:
Lloh11:
	adrp	x26, _IDENT_STRICT@GOTPAGE
Lloh12:
	ldr	x26, [x26, _IDENT_STRICT@GOTPAGEOFF]
	cbnz	x25, LBB0_7
; %bb.6:
	ldr	w0, [x26]
	bl	_git_author_info
	mov	x25, x0
LBB0_7:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, sp
	mov	x2, x25
	bl	_strbuf_addf
	ldr	w0, [x26]
	bl	_git_committer_info
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, sp
	bl	_strbuf_addf
	cbnz	w24, LBB0_9
; %bb.8:
	ldr	x2, [x28]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, sp
	bl	_strbuf_addf
LBB0_9:
	cbz	x23, LBB0_11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	mov	x1, x23
	bl	_add_extra_header
	ldr	x23, [x23]
	cbnz	x23, LBB0_10
LBB0_11:
	mov	x0, sp
	mov	w1, #10
	bl	_strbuf_addch
	mov	x0, sp
	mov	x1, x22
	mov	x2, x21
	bl	_strbuf_add
	cbz	w24, LBB0_13
; %bb.12:
	mov	x0, sp
	bl	_verify_utf8
	cbz	w0, LBB0_16
LBB0_13:
	cbz	x20, LBB0_17
LBB0_14:
	mov	x0, sp
	mov	x1, x20
	bl	_do_sign_commit
	cbz	x0, LBB0_17
; %bb.15:
	mov	w19, #-1
	b	LBB0_18
LBB0_16:
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
Lloh22:
	adrp	x8, _commit_utf8_warn@GOTPAGE
Lloh23:
	ldr	x8, [x8, _commit_utf8_warn@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	__
	mov	x1, x0
	mov	x0, x21
	bl	_fprintf
	cbnz	x20, LBB0_14
LBB0_17:
	ldp	w1, w0, [sp]
Lloh25:
	adrp	x8, _commit_type@GOTPAGE
Lloh26:
	ldr	x8, [x8, _commit_type@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_write_object_file
	mov	x19, x0
LBB0_18:
	mov	x0, sp
	bl	_strbuf_release
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_TREE,4,2                   ; @OBJ_TREE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a NUL byte in commit log message not allowed."

	.comm	_git_commit_encoding,8,3        ; @git_commit_encoding
l_.str.1:                               ; @.str.1
	.asciz	"tree %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"parent %s\n"

	.comm	_IDENT_STRICT,4,2               ; @IDENT_STRICT
l_.str.3:                               ; @.str.3
	.asciz	"author %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"committer %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"encoding %s\n"

	.comm	_stderr,4,2                     ; @stderr
	.comm	_commit_utf8_warn,4,2           ; @commit_utf8_warn
	.comm	_commit_type,4,2                ; @commit_type
.subsections_via_symbols
