	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_pack_valid                  ## -- Begin function is_pack_valid
	.p2align	4, 0x90
_is_pack_valid:                         ## @is_pack_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %eax
	cmpl	$-1, (%rdi)
	je	LBB0_1
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	movq	16(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	cmpl	$0, 8(%rcx)
	jne	LBB0_4
## %bb.3:
	movq	(%rcx), %rcx
	cmpq	8(%rdi), %rcx
	je	LBB0_5
LBB0_4:
	callq	_open_packed_git
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_pack_valid                  ; -- Begin function is_pack_valid
	.p2align	2
_is_pack_valid:                         ; @is_pack_valid
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_2
LBB0_1:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	w9, [x8, #8]
	cbnz	w9, LBB0_5
; %bb.4:
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	cmp	x8, x9
	b.eq	LBB0_1
LBB0_5:
	bl	_open_packed_git
	cmp	w0, #0
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
