	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_blob_sha1_and_mode
_fill_blob_sha1_and_mode:               ## @fill_blob_sha1_and_mode
	.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, %rbx
	movq	%rdi, %r15
	leaq	4(%rsi), %r14
	movq	%r14, %rdi
	callq	_is_null_oid
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	16(%rbx), %rsi
	movl	8(%rbx), %edx
	movq	%r15, %rdi
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_get_tree_entry
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_oid_object_info
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_oidclr
	movq	_S_IFINVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$-1, %r12d
	jmp	LBB0_5
LBB0_1:
	xorl	%r12d, %r12d
LBB0_5:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_BLOB,8,3                   ## @OBJ_BLOB
	.comm	_S_IFINVALID,4,2                ## @S_IFINVALID
	.no_dead_strip	_fill_blob_sha1_and_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_blob_sha1_and_mode
_fill_blob_sha1_and_mode:               ; @fill_blob_sha1_and_mode
	.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	x21, x0
	add	x20, x1, #4
	mov	x0, x20
	bl	_is_null_oid
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x1, [x19, #16]
	ldr	w2, [x19, #8]
	mov	x0, x21
	mov	x3, x20
	mov	x4, x19
	bl	_get_tree_entry
	cbnz	x0, LBB0_4
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, #0
	bl	_oid_object_info
Lloh0:
	adrp	x8, _OBJ_BLOB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJ_BLOB@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_oidclr
Lloh3:
	adrp	x8, _S_IFINVALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_IFINVALID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #-1
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_BLOB,8,3                   ; @OBJ_BLOB
	.comm	_S_IFINVALID,4,2                ; @S_IFINVALID
	.no_dead_strip	_fill_blob_sha1_and_mode
.subsections_via_symbols
