	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_for_each_object_in_pack        ## -- Begin function for_each_object_in_pack
	.p2align	4, 0x90
_for_each_object_in_pack:               ## @for_each_object_in_pack
	.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
	movl	%ecx, %r15d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_FOR_EACH_OBJECT_PACK_ORDER@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_load_pack_revindex
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_11
LBB0_2:
	cmpq	$0, (%rbx)
	je	LBB0_10
## %bb.3:
	xorl	%r14d, %r14d
	leaq	-64(%rbp), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %r12
	movq	_FOR_EACH_OBJECT_PACK_ORDER@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r14,8), %r12
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_nth_packed_object_oid
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	cmpq	(%rbx), %r14
	jb	LBB0_4
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_7:
	movq	8(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_error
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FOR_EACH_OBJECT_PACK_ORDER,4,2 ## @FOR_EACH_OBJECT_PACK_ORDER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to get sha1 of object %u in %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_for_each_object_in_pack        ; -- Begin function for_each_object_in_pack
	.p2align	2
_for_each_object_in_pack:               ; @for_each_object_in_pack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _FOR_EACH_OBJECT_PACK_ORDER@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FOR_EACH_OBJECT_PACK_ORDER@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w3
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_load_pack_revindex
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #-1
	b	LBB0_12
LBB0_3:
	ldr	x8, [x21]
	cbz	x8, LBB0_10
; %bb.4:
	mov	x25, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	mov	x23, x25
	tst	w8, w19
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #16]
	ldr	x23, [x8, x25, lsl #3]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x23
	bl	_nth_packed_object_oid
	cbz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	blr	x22
	cbnz	w0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	ldr	x8, [x21]
	cmp	x25, x8
	b.lo	LBB0_5
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	ldr	x2, [x21, #8]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_error
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FOR_EACH_OBJECT_PACK_ORDER,4,2 ; @FOR_EACH_OBJECT_PACK_ORDER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to get sha1 of object %u in %s"

.subsections_via_symbols
