	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_info_packs
_get_info_packs:                        ## @get_info_packs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_get_object_directory
	movl	%eax, %edi
	callq	_strlen
	movq	%rax, %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%r14, %rdi
	callq	_select_getanyfile
	movq	_the_repository@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_get_all_packs
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, 8(%rax)
	movq	16(%rax), %rdx
	sbbq	$-1, %rcx
	movq	%rdx, %rax
	testq	%rdx, %rdx
	jne	LBB0_3
## %bb.4:
	imulq	$53, %rcx, %rsi
	addq	$2, %rsi
	jmp	LBB0_5
LBB0_1:
	movl	$2, %esi
LBB0_5:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_grow
	movl	(%rbx), %edi
	callq	_get_all_packs
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %rbx
	addq	$6, %r15
	leaq	L_.str(%rip), %r12
	leaq	-48(%rbp), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rdx
	addq	%r15, %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_strbuf_addf
	jmp	LBB0_9
LBB0_10:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
	movq	%r14, %rdi
	callq	_hdr_nocache
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_send_strbuf
	movq	%rbx, %rdi
	callq	_strbuf_release
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"text/plain; charset=utf-8"

	.no_dead_strip	_get_info_packs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_info_packs
_get_info_packs:                        ; @get_info_packs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	bl	_get_object_directory
	bl	_strlen
	mov	x20, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x19
	bl	_select_getanyfile
Lloh3:
	adrp	x21, _the_repository@GOTPAGE
Lloh4:
	ldr	x21, [x21, _the_repository@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_get_all_packs
	cbz	x0, LBB0_4
; %bb.1:
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x0, [x0, #8]
	cmp	x9, #0
	cinc	x8, x8, ne
	cbnz	x0, LBB0_2
; %bb.3:
	mov	w9, #53
	orr	x10, xzr, #0x2
	madd	x1, x8, x9, x10
	b	LBB0_5
LBB0_4:
	mov	w1, #2
LBB0_5:
	add	x0, sp, #8
	bl	_strbuf_grow
	ldr	w0, [x21]
	bl	_get_all_packs
	cbz	x0, LBB0_10
; %bb.6:
	mov	x21, x0
	add	x22, x20, #6
Lloh5:
	adrp	x20, l_.str@PAGE
Lloh6:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21]
	add	x2, x22, x8
	add	x0, sp, #8
	mov	x1, x20
	bl	_strbuf_addf
	b	LBB0_7
LBB0_10:
	add	x0, sp, #8
	mov	w1, #10
	bl	_strbuf_addch
	mov	x0, x19
	bl	_hdr_nocache
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_send_strbuf
	add	x0, sp, #8
	bl	_strbuf_release
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"text/plain; charset=utf-8"

	.no_dead_strip	_get_info_packs
.subsections_via_symbols
