	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_to_commit
_try_to_commit:                         ## @try_to_commit
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -168(%rbp)                 ## 8-byte Spill
	movl	%r8d, %r13d
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -136(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)
	movq	%rax, -120(%rbp)
	leaq	-72(%rbp), %rsi
	callq	_parse_head
	movl	$-1, %ecx
	testq	%rax, %rax
	jne	LBB0_44
## %bb.1:
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	_AMEND_MSG@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	movl	%r13d, %r14d
	je	LBB0_7
## %bb.2:
	movaps	l___const.try_to_commit.exclude_gpgsig(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_commit_output_encoding
	movq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	_logmsg_reencode
	movq	%rax, %rbx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	testq	%r13, %r13
	movq	-112(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_4
## %bb.3:
	leaq	-120(%rbp), %r13
	movq	$0, -160(%rbp)
	leaq	-160(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_find_commit_subject
	movq	-160(%rbp), %rsi
	movq	%r13, %rdi
	callq	_strbuf_addstr
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_4:
	movq	%rbx, %rdi
	callq	_get_author
	movq	-72(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rbx
	callq	_unuse_commit_buffer
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax
	movl	(%rax), %edi
	callq	_copy_commit_list
	movq	%rax, -136(%rbp)
	movq	-72(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_read_commit_extra_headers
	movq	%rax, %r13
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	jmp	LBB0_12
LBB0_7:
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	movq	-112(%rbp), %r15                ## 8-byte Reload
	je	LBB0_10
## %bb.8:
	movq	_CREATE_ROOT_COMMIT@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	testl	%r14d, (%rax)
	jne	LBB0_11
## %bb.9:
	leaq	-136(%rbp), %rsi
	callq	_commit_list_insert
LBB0_10:
	xorl	%r13d, %r13d
LBB0_11:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_12:
	movl	(%r15), %edx
	movl	4(%r15), %esi
	leaq	-64(%rbp), %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_write_index_as_tree
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movslq	%eax, %rdi
	xorl	%eax, %eax
	callq	_error
	movl	%eax, %r15d
	jmp	LBB0_43
LBB0_14:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	_ALLOW_EMPTY@GOTPCREL(%rip), %rax
	movl	%r14d, -100(%rbp)               ## 4-byte Spill
	testl	%r14d, (%rax)
	je	LBB0_15
LBB0_20:
	leaq	L_.str.4(%rip), %rdi
	callq	_find_hook
	testq	%rax, %rax
	je	LBB0_25
## %bb.21:
	movq	%r15, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_run_prepare_commit_msg_hook
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movl	%eax, %r15d
	jmp	LBB0_42
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movslq	%eax, %rdi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_error
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_43
LBB0_15:
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_get_commit_tree_oid
	movl	%eax, %edi
	jmp	LBB0_18
LBB0_23:
	leaq	-120(%rbp), %rbx
	xorl	%eax, %eax
	callq	_git_path_commit_editmsg
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strbuf_read_file
	testq	%rax, %rax
	js	LBB0_24
LBB0_25:
	movq	_CLEANUP_MSG@GOTPCREL(%rip), %rax
	movl	-100(%rbp), %r14d               ## 4-byte Reload
	testl	%r14d, (%rax)
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	je	LBB0_27
## %bb.26:
	movq	_COMMIT_MSG_CLEANUP_ALL@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_27:
	movq	%r12, %rax
	cmpq	$0, 24(%r12)
	jne	LBB0_29
## %bb.28:
	cmpq	$0, 16(%rax)
	je	LBB0_31
LBB0_29:
	cmpl	$0, 8(%rax)
	jne	LBB0_31
## %bb.30:
	movq	_COMMIT_MSG_CLEANUP_SPACE@GOTPCREL(%rip), %rax
LBB0_31:
	movl	(%rax), %ebx
	movq	_COMMIT_MSG_CLEANUP_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_33
## %bb.32:
	movq	_COMMIT_MSG_CLEANUP_ALL@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	cmpl	(%rax), %ebx
	sete	%sil
	movq	%r15, %rdi
	callq	_strbuf_stripspace
LBB0_33:
	movq	_EDIT_MSG@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_36
## %bb.34:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_message_is_empty
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movl	$1, %r15d
	movq	-144(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_42
LBB0_36:
	xorl	%eax, %eax
	callq	_reset_ident_date
	movl	(%r15), %edi
	movl	4(%r15), %esi
	movq	-136(%rbp), %rcx
	movl	4(%r12), %eax
	leaq	-64(%rbp), %rdx
	movq	-168(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %r8
	movq	-152(%rbp), %r9                 ## 8-byte Reload
	movq	-144(%rbp), %r13                ## 8-byte Reload
	pushq	%r13
	pushq	%rax
	callq	_commit_tree_extended
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movslq	%eax, %rdi
	xorl	%eax, %eax
	callq	_error
	movl	%eax, %r15d
	jmp	LBB0_42
LBB0_17:
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
LBB0_18:
	leaq	-64(%rbp), %rsi
	callq	_oideq
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movl	$1, %r15d
	jmp	LBB0_42
LBB0_38:
	movq	-72(%rbp), %rbx
	leaq	L_.str.7(%rip), %rdi
	callq	_getenv
	leaq	-128(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_update_head_with_reflog
	testq	%rax, %rax
	je	LBB0_40
## %bb.39:
	movl	-128(%rbp), %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
	movl	%eax, %r15d
	jmp	LBB0_42
LBB0_24:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_git_path_commit_editmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_error_errno
	movl	%eax, %r15d
	jmp	LBB0_42
LBB0_40:
	movq	%r14, %rbx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movl	(%r14), %esi
	leaq	L_.str.9(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	callq	_run_commit_hook
	movl	-100(%rbp), %eax                ## 4-byte Reload
	movq	_AMEND_MSG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_42
## %bb.41:
	movq	-72(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_commit_post_rewrite
LBB0_42:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_43:
	movq	%r13, %rdi
	callq	_free_commit_extra_headers
	leaq	-128(%rbp), %rdi
	callq	_strbuf_release
	leaq	-120(%rbp), %rdi
	callq	_strbuf_release
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rcx
LBB0_44:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.45:
	movl	%ecx, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
	.comm	_AMEND_MSG,4,2                  ## @AMEND_MSG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gpgsig"

	.section	__DATA,__const
	.p2align	4                               ## @__const.try_to_commit.exclude_gpgsig
l___const.try_to_commit.exclude_gpgsig:
	.quad	L_.str
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"HEAD"

L_.str.2:                               ## @.str.2
	.asciz	"unable to parse commit author"

	.comm	_CREATE_ROOT_COMMIT,4,2         ## @CREATE_ROOT_COMMIT
L_.str.3:                               ## @.str.3
	.asciz	"git write-tree failed to write a tree"

	.comm	_ALLOW_EMPTY,4,2                ## @ALLOW_EMPTY
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
L_.str.4:                               ## @.str.4
	.asciz	"prepare-commit-msg"

L_.str.5:                               ## @.str.5
	.asciz	"unable to read commit message from '%s'"

	.comm	_CLEANUP_MSG,4,2                ## @CLEANUP_MSG
	.comm	_COMMIT_MSG_CLEANUP_ALL,4,2     ## @COMMIT_MSG_CLEANUP_ALL
	.comm	_COMMIT_MSG_CLEANUP_SPACE,4,2   ## @COMMIT_MSG_CLEANUP_SPACE
	.comm	_COMMIT_MSG_CLEANUP_NONE,4,2    ## @COMMIT_MSG_CLEANUP_NONE
	.comm	_EDIT_MSG,4,2                   ## @EDIT_MSG
L_.str.6:                               ## @.str.6
	.asciz	"failed to write commit object"

L_.str.7:                               ## @.str.7
	.asciz	"GIT_REFLOG_ACTION"

L_.str.8:                               ## @.str.8
	.asciz	"%s"

L_.str.9:                               ## @.str.9
	.asciz	"post-commit"

	.no_dead_strip	_try_to_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_to_commit
_try_to_commit:                         ; @try_to_commit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x5
	mov	x21, x4
	mov	x25, x3
	mov	x26, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	stp	xzr, xzr, [sp, #32]
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, x8, [sp, #16]
	add	x1, sp, #40
	bl	_parse_head
	cbz	x0, LBB0_2
; %bb.1:
	mov	w24, #-1
	b	LBB0_38
LBB0_2:
Lloh6:
	adrp	x28, _AMEND_MSG@GOTPAGE
Lloh7:
	ldr	x28, [x28, _AMEND_MSG@GOTPAGEOFF]
	ldr	w8, [x28]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.3:
Lloh8:
	adrp	x8, l___const.try_to_commit.exclude_gpgsig@PAGE
Lloh9:
	add	x8, x8, l___const.try_to_commit.exclude_gpgsig@PAGEOFF
Lloh10:
	ldr	q0, [x8]
	str	q0, [sp, #48]
	bl	_get_commit_output_encoding
	mov	x2, x0
	ldr	x0, [sp, #40]
	mov	x1, #0
	bl	_logmsg_reencode
	mov	x22, x0
	mov	x27, #0
	cbnz	x24, LBB0_5
; %bb.4:
	add	x24, sp, #16
	str	xzr, [sp, #8]
	add	x1, sp, #8
	mov	x0, x22
	bl	_find_commit_subject
	ldr	x1, [sp, #8]
	add	x0, sp, #16
	bl	_strbuf_addstr
Lloh11:
	adrp	x27, l_.str.1@PAGE
Lloh12:
	add	x27, x27, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x22
	bl	_get_author
	mov	x26, x0
	ldr	x0, [sp, #40]
	mov	x1, x22
	bl	_unuse_commit_buffer
	cbz	x26, LBB0_19
; %bb.6:
	ldr	x8, [sp, #40]
	ldr	w0, [x8]
	bl	_copy_commit_list
	str	x0, [sp, #32]
	ldr	x0, [sp, #40]
	add	x1, sp, #48
	bl	_read_commit_extra_headers
	mov	x23, x0
	mov	x22, x26
	b	LBB0_11
LBB0_7:
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_10
; %bb.8:
Lloh13:
	adrp	x8, _CREATE_ROOT_COMMIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CREATE_ROOT_COMMIT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_10
; %bb.9:
	add	x1, sp, #32
	bl	_commit_list_insert
LBB0_10:
	mov	x23, #0
	mov	x22, #0
	mov	x27, #0
LBB0_11:
	ldp	w2, w1, [x20]
	add	x0, sp, #48
	mov	w3, #0
	mov	x4, #0
	bl	_write_index_as_tree
	cbz	x0, LBB0_15
; %bb.12:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_13:
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
LBB0_14:
	bl	_error
	mov	x24, x0
	b	LBB0_37
LBB0_15:
Lloh18:
	adrp	x8, _ALLOW_EMPTY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ALLOW_EMPTY@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_20
LBB0_16:
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_find_hook
	cbz	x0, LBB0_23
; %bb.17:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x27
	bl	_run_prepare_commit_msg_hook
	cbz	w0, LBB0_22
; %bb.18:
	mov	x24, x0
	b	LBB0_37
LBB0_19:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_error
	mov	x24, x0
	mov	x23, #0
	mov	x22, #0
	b	LBB0_37
LBB0_20:
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_28
; %bb.21:
	bl	_get_commit_tree_oid
	b	LBB0_29
LBB0_22:
	add	x24, sp, #16
	bl	_git_path_commit_editmsg
	mov	x1, x0
	add	x0, sp, #16
	mov	w2, #2048
	bl	_strbuf_read_file
	tbnz	x0, #63, LBB0_30
LBB0_23:
Lloh25:
	adrp	x8, _CLEANUP_MSG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CLEANUP_MSG@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x8]
Lloh28:
	adrp	x8, _COMMIT_MSG_CLEANUP_ALL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _COMMIT_MSG_CLEANUP_ALL@GOTPAGEOFF]
	mov	x9, x8
	tst	w10, w21
	b.ne	LBB0_32
; %bb.24:
	ldr	x9, [x25, #24]
	cbnz	x9, LBB0_26
; %bb.25:
	ldr	x9, [x25, #16]
	cbz	x9, LBB0_27
LBB0_26:
	ldr	w9, [x25, #8]
	cbz	w9, LBB0_31
LBB0_27:
	mov	x9, x25
	b	LBB0_32
LBB0_28:
Lloh30:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh31:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	w0, [x8]
LBB0_29:
	add	x1, sp, #48
	bl	_oideq
	cbnz	x0, LBB0_36
	b	LBB0_16
LBB0_30:
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	mov	x19, x0
	bl	_git_path_commit_editmsg
	mov	x1, x0
	mov	x0, x19
	bl	_error_errno
	mov	x24, x0
	b	LBB0_37
LBB0_31:
Lloh35:
	adrp	x9, _COMMIT_MSG_CLEANUP_SPACE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _COMMIT_MSG_CLEANUP_SPACE@GOTPAGEOFF]
LBB0_32:
	ldr	w27, [x9]
Lloh37:
	adrp	x9, _COMMIT_MSG_CLEANUP_NONE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _COMMIT_MSG_CLEANUP_NONE@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	cmp	w27, w9
	b.eq	LBB0_34
; %bb.33:
	ldr	w8, [x8]
	cmp	w27, w8
	cset	w1, eq
	mov	x0, x24
	bl	_strbuf_stripspace
LBB0_34:
Lloh40:
	adrp	x8, _EDIT_MSG@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EDIT_MSG@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_40
; %bb.35:
	mov	x0, x24
	mov	x1, x27
	bl	_message_is_empty
	cbz	x0, LBB0_40
LBB0_36:
	mov	w24, #1
LBB0_37:
	mov	x0, x23
	bl	_free_commit_extra_headers
	add	x0, sp, #24
	bl	_strbuf_release
	add	x0, sp, #16
	bl	_strbuf_release
	mov	x0, x22
	bl	_free
LBB0_38:
	ldr	x8, [sp, #72]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_47
; %bb.39:
	mov	x0, x24
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_40:
	bl	_reset_ident_date
	ldp	w0, w1, [x24]
	ldr	x3, [sp, #32]
	ldr	w6, [x25, #4]
	add	x2, sp, #48
	mov	x4, x19
	mov	x5, x26
	mov	x7, x23
	bl	_commit_tree_extended
	cbz	x0, LBB0_42
; %bb.41:
Lloh46:
	adrp	x0, l_.str.6@PAGE
Lloh47:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_13
LBB0_42:
	ldr	x25, [sp, #40]
Lloh48:
	adrp	x0, l_.str.7@PAGE
Lloh49:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_getenv
	mov	x2, x0
	add	x4, sp, #24
	mov	x0, x25
	mov	x1, x19
	mov	x3, x24
	bl	_update_head_with_reflog
	cbz	x0, LBB0_44
; %bb.43:
	ldr	w8, [sp, #24]
	str	x8, [sp]
Lloh50:
	adrp	x0, l_.str.8@PAGE
Lloh51:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_14
LBB0_44:
	ldr	w1, [x20]
Lloh52:
	adrp	x2, l_.str.9@PAGE
Lloh53:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x3, #0
	bl	_run_commit_hook
	ldr	w8, [x28]
	tst	w8, w21
	b.eq	LBB0_46
; %bb.45:
	ldr	x1, [sp, #40]
	mov	x0, x20
	mov	x2, x19
	bl	_commit_post_rewrite
LBB0_46:
	mov	w24, #0
	b	LBB0_37
LBB0_47:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAddLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.comm	_AMEND_MSG,4,2                  ; @AMEND_MSG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gpgsig"

	.section	__DATA,__const
	.p2align	3                               ; @__const.try_to_commit.exclude_gpgsig
l___const.try_to_commit.exclude_gpgsig:
	.quad	l_.str
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"HEAD"

l_.str.2:                               ; @.str.2
	.asciz	"unable to parse commit author"

	.comm	_CREATE_ROOT_COMMIT,4,2         ; @CREATE_ROOT_COMMIT
l_.str.3:                               ; @.str.3
	.asciz	"git write-tree failed to write a tree"

	.comm	_ALLOW_EMPTY,4,2                ; @ALLOW_EMPTY
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
l_.str.4:                               ; @.str.4
	.asciz	"prepare-commit-msg"

l_.str.5:                               ; @.str.5
	.asciz	"unable to read commit message from '%s'"

	.comm	_CLEANUP_MSG,4,2                ; @CLEANUP_MSG
	.comm	_COMMIT_MSG_CLEANUP_ALL,4,2     ; @COMMIT_MSG_CLEANUP_ALL
	.comm	_COMMIT_MSG_CLEANUP_SPACE,4,2   ; @COMMIT_MSG_CLEANUP_SPACE
	.comm	_COMMIT_MSG_CLEANUP_NONE,4,2    ; @COMMIT_MSG_CLEANUP_NONE
	.comm	_EDIT_MSG,4,2                   ; @EDIT_MSG
l_.str.6:                               ; @.str.6
	.asciz	"failed to write commit object"

l_.str.7:                               ; @.str.7
	.asciz	"GIT_REFLOG_ACTION"

l_.str.8:                               ; @.str.8
	.asciz	"%s"

l_.str.9:                               ; @.str.9
	.asciz	"post-commit"

	.no_dead_strip	_try_to_commit
.subsections_via_symbols
