	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grab_blob
_grab_blob:                             ## @grab_blob
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r13
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%edx, %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%r14, %rdi
	callq	_oid_to_hex
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_strbuf_addf
	movq	-48(%rbp), %rax
	movq	%rax, (%r13)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
	movq	%rax, %rbx
LBB0_7:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_is_null_oid
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movq	$0, (%r13)
	movl	$1, %edi
	movl	$1, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xcalloc                        ## TAILCALL
LBB0_3:
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	movq	%r12, %r15
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_alloc_filespec
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	movl	%ebx, %ecx
	callq	_fill_filespec
	leaq	-48(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_fill_textconv
	movq	%rax, (%r13)
	movq	%r12, %rdi
	callq	_free_filespec
	movq	-48(%rbp), %rbx
	jmp	LBB0_7
LBB0_5:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_read_object_file
	movq	%rax, %rbx
	movl	-48(%rbp), %eax
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_die
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Subproject commit %s\n"

	.comm	_OBJ_BLOB,4,2                   ## @OBJ_BLOB
L_.str.1:                               ## @.str.1
	.asciz	"object '%s' is not a blob!"

	.no_dead_strip	_grab_blob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grab_blob
_grab_blob:                             ; @grab_blob
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x24, x5
	mov	x21, x4
	mov	x19, x3
	mov	x23, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x2
	bl	_S_ISGITLINK
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	mov	x0, x20
	bl	_oid_to_hex
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_addf
	ldr	x8, [sp, #8]
	str	x8, [x19]
	add	x0, sp, #8
	mov	x1, #0
	bl	_strbuf_detach
	mov	x19, x0
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_3:
	mov	x0, x20
	bl	_is_null_oid
	cbz	x0, LBB0_5
; %bb.4:
	str	xzr, [x19]
	mov	w0, #1
	mov	w1, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_xcalloc
LBB0_5:
	cbz	x21, LBB0_7
; %bb.6:
	mov	x0, x24
	bl	_alloc_filespec
	mov	x24, x0
	mov	x1, x20
	mov	w2, #1
	mov	x3, x23
	bl	_fill_filespec
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	x2, x24
	bl	_fill_textconv
	str	x0, [x19]
	mov	x0, x24
	bl	_free_filespec
	ldr	x19, [sp, #8]
	b	LBB0_2
LBB0_7:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_read_object_file
	mov	x19, x0
	ldr	w8, [sp, #8]
Lloh5:
	adrp	x9, _OBJ_BLOB@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OBJ_BLOB@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_2
; %bb.8:
	mov	x0, x20
	bl	_oid_to_hex
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Subproject commit %s\n"

	.comm	_OBJ_BLOB,4,2                   ; @OBJ_BLOB
l_.str.1:                               ; @.str.1
	.asciz	"object '%s' is not a blob!"

	.no_dead_strip	_grab_blob
.subsections_via_symbols
