	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function preimage_oid_in_gitlink_patch
_preimage_oid_in_gitlink_patch:         ## @preimage_oid_in_gitlink_patch
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	cmpl	$0, 16(%rax)
	jne	LBB0_10
## %bb.2:
	cmpl	$1, (%rax)
	jne	LBB0_10
## %bb.3:
	cmpl	$1, 4(%rax)
	jne	LBB0_10
## %bb.4:
	movl	8(%rax), %edx
	movl	12(%rax), %edi
	movl	$10, %esi
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%rax, %r15
	leaq	1(%rax), %r12
	leaq	_preimage_oid_in_gitlink_patch.heading(%rip), %rsi
	movq	%r12, %rdi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	addq	$20, %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_oid_hex
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rax
	cmpb	$10, 19(%rax,%r12)
	jne	LBB0_10
## %bb.8:
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_oid_hex                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @preimage_oid_in_gitlink_patch.heading
_preimage_oid_in_gitlink_patch.heading:
	.asciz	"-Subproject commit "

	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.no_dead_strip	_preimage_oid_in_gitlink_patch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preimage_oid_in_gitlink_patch
_preimage_oid_in_gitlink_patch:         ; @preimage_oid_in_gitlink_patch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.1:
	ldr	w9, [x8, #16]
	cbnz	w9, LBB0_10
; %bb.2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_10
; %bb.3:
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.ne	LBB0_10
; %bb.4:
	ldp	w2, w0, [x8, #8]
	mov	w1, #10
	bl	_memchr
	cbz	x0, LBB0_10
; %bb.5:
	mov	x22, x0
	add	x21, x0, #1
Lloh0:
	adrp	x1, _preimage_oid_in_gitlink_patch.heading@PAGE
Lloh1:
	add	x1, x1, _preimage_oid_in_gitlink_patch.heading@PAGEOFF
	mov	x0, x21
	bl	_starts_with
	cbz	x0, LBB0_10
; %bb.6:
	add	x22, x22, #20
	mov	x0, x22
	mov	x1, x19
	bl	_get_oid_hex
	cbnz	w0, LBB0_10
; %bb.7:
Lloh2:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh3:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldrsw	x8, [x8]
	add	x8, x8, x21
	ldrb	w8, [x8, #19]
	cmp	w8, #10
	b.ne	LBB0_10
; %bb.8:
	ldr	x1, [x20]
	mov	x0, x22
	bl	_starts_with
	cbz	x0, LBB0_10
; %bb.9:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	x0, [x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_get_oid_hex
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_preimage_oid_in_gitlink_patch.heading: ; @preimage_oid_in_gitlink_patch.heading
	.asciz	"-Subproject commit "

	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.no_dead_strip	_preimage_oid_in_gitlink_patch
.subsections_via_symbols
