	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nth_packed_object_sha1         ## -- Begin function nth_packed_object_sha1
	.p2align	4, 0x90
_nth_packed_object_sha1:                ## @nth_packed_object_sha1
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_the_hash_algo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %r15d
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpl	%r14d, 8(%rbx)
	jbe	LBB0_8
LBB0_2:
	cmpl	$1, 12(%rbx)
	jne	LBB0_6
## %bb.3:
	addl	$4, %r15d
	imull	%r14d, %r15d
	addq	%r15, %rax
	addq	$1028, %rax                     ## imm = 0x404
	jmp	LBB0_9
LBB0_4:
	movq	%rbx, %rdi
	callq	_open_pack_index
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	(%rbx), %rax
	cmpl	%r14d, 8(%rbx)
	ja	LBB0_2
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_6:
	imull	%r14d, %r15d
	addq	%r15, %rax
	addq	$1032, %rax                     ## imm = 0x408
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nth_packed_object_sha1         ; -- Begin function nth_packed_object_sha1
	.p2align	2
_nth_packed_object_sha1:                ; @nth_packed_object_sha1
	.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]
Lloh0:
	adrp	x9, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x9, [x9, _the_hash_algo@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w21, [x9]
	cbz	x8, LBB0_4
LBB0_1:
	ldr	w9, [x20, #8]
	cmp	w9, w19
	b.ls	LBB0_5
; %bb.2:
	ldr	w9, [x20, #12]
	cmp	w9, #1
	b.ne	LBB0_6
; %bb.3:
	add	w9, w21, #4
	mul	w9, w9, w19
	add	x8, x8, x9
	add	x0, x8, #1028
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_open_pack_index
	cbz	x0, LBB0_8
LBB0_5:
	mov	x0, #0
	b	LBB0_7
LBB0_6:
	mul	w9, w21, w19
	add	x8, x8, x9
	add	x0, x8, #1032
LBB0_7:
	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_8:
	ldr	x8, [x20]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
.subsections_via_symbols
