	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_from_commit
_parse_from_commit:                     ## @parse_from_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rax
	addq	$6, %rax
	cmpq	%rdx, %rax
	jbe	LBB0_3
LBB0_2:
	leaq	8(%r14), %rdi
	callq	_oid_to_hex
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_die
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	$5, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	addq	$5, %rbx
	movq	(%r14), %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	leaq	8(%r14), %rdi
	callq	_oid_to_hex
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_die
LBB0_6:
	movq	(%r14), %rdi
	leaq	4(%rdi), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_oidcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not a valid commit: %s"

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

L_.str.2:                               ## @.str.2
	.asciz	"The commit %s is corrupt"

	.no_dead_strip	_parse_from_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_from_commit
_parse_from_commit:                     ; @parse_from_commit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	cbz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	add	x8, x8, #6
	cmp	x8, x2
	b.ls	LBB0_3
LBB0_2:
	add	x0, x19, #8
	bl	_oid_to_hex
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	w2, #5
	bl	_memcmp
	cbnz	x0, LBB0_5
; %bb.4:
	add	x0, x20, #5
	ldr	x8, [x19]
	add	x1, x8, #4
	bl	_get_oid_hex
	cbz	x0, LBB0_6
LBB0_5:
	add	x0, x19, #8
	bl	_oid_to_hex
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
LBB0_6:
	ldr	x0, [x19]
	add	x1, x0, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_oidcpy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not a valid commit: %s"

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

l_.str.2:                               ; @.str.2
	.asciz	"The commit %s is corrupt"

	.no_dead_strip	_parse_from_commit
.subsections_via_symbols
