	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_http_get_info_packs            ## -- Begin function http_get_info_packs
	.p2align	4, 0x90
_http_get_info_packs:                   ## @http_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rsi
	movq	$1, -88(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	callq	_end_url_with_slash
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strbuf_addstr
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
	movq	%rax, %r12
	leaq	-88(%rbp), %rdx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_http_get_strbuf
	movl	%eax, %r13d
	movq	_HTTP_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_12
## %bb.1:
	movq	-64(%rbp), %rdi
	movq	%rdi, -48(%rbp)
	cmpb	$0, (%rdi)
	je	LBB0_12
## %bb.2:
	leaq	L_.str.1(%rip), %rbx
	leaq	-48(%rbp), %r14
	leaq	-56(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_parse_oid_hex
	testl	%eax, %eax
	je	LBB0_5
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi
	movl	$10, %esi
	callq	_strchrnul
	movq	%rax, -48(%rbp)
	cmpb	$0, (%rax)
	je	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rax), %rdi
	movq	%rdi, -48(%rbp)
	cmpb	$0, 1(%rax)
	jne	LBB0_3
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax
	movzbl	(%rax), %eax
	cmpb	$10, %al
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	%al, %al
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-56(%rbp), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_fetch_and_setup_pack_index
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	jne	LBB0_11
LBB0_12:
	movq	%r12, %rdi
	callq	_free
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"objects/info/packs"

	.comm	_HTTP_OK,4,2                    ## @HTTP_OK
L_.str.1:                               ## @.str.1
	.asciz	"P pack-"

L_.str.2:                               ## @.str.2
	.asciz	".pack"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_http_get_info_packs            ; -- Begin function http_get_info_packs
	.p2align	2
_http_get_info_packs:                   ; @http_get_info_packs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
	mov	w8, #1
	str	x8, [sp, #24]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x20
	bl	_end_url_with_slash
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_addstr
	add	x0, sp, #8
	mov	x1, #0
	bl	_strbuf_detach
	mov	x21, x0
	add	x1, sp, #8
	add	x2, sp, #24
	bl	_http_get_strbuf
	mov	x22, x0
Lloh5:
	adrp	x8, _HTTP_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HTTP_OK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.1:
	ldr	x0, [sp, #8]
	str	x0, [sp, #16]
	ldrb	w8, [x0]
	cbz	w8, LBB0_10
; %bb.2:
Lloh8:
	adrp	x23, l_.str.1@PAGE
Lloh9:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh10:
	adrp	x24, l_.str.2@PAGE
Lloh11:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #16
	mov	x1, x23
	bl	_skip_prefix
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #16]
	mov	x1, sp
	add	x2, sp, #16
	bl	_parse_oid_hex
	cbz	w0, LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #16]
	mov	w1, #10
	bl	_strchrnul
	mov	x8, x0
	str	x0, [sp, #16]
	ldrb	w9, [x8]
	cbz	w9, LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x8, #1
	str	x0, [sp, #16]
	ldrb	w8, [x8, #1]
	cbnz	w8, LBB0_3
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #16]
	add	x2, sp, #16
	mov	x1, x24
	bl	_skip_prefix
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	ldrb	w8, [x8]
	cmp	w8, #10
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [sp]
	mov	x0, x19
	mov	x2, x20
	bl	_fetch_and_setup_pack_index
	ldr	x8, [sp, #16]
	ldrb	w9, [x8]
	cbnz	w9, LBB0_6
LBB0_10:
	mov	x0, x21
	bl	_free
	mov	x0, x22
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"objects/info/packs"

	.comm	_HTTP_OK,4,2                    ; @HTTP_OK
l_.str.1:                               ; @.str.1
	.asciz	"P pack-"

l_.str.2:                               ; @.str.2
	.asciz	".pack"

.subsections_via_symbols
