	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function advertise_capabilities
_advertise_capabilities:                ## @advertise_capabilities
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	_capabilities@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	movl	$8, %r12d
	xorl	%r13d, %r13d
	leaq	-80(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
	movl	-56(%rbp), %esi
	movq	-64(%rbp), %rdx
	movl	$1, %edi
	callq	_packet_write
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_strbuf_reset
	movq	%rbx, %rdi
	callq	_strbuf_reset
	incq	%r13
	movq	%rbx, %r14
	movq	_capabilities@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %r12
	cmpq	%rax, %r13
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r15
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	*(%r15,%r12)
	testq	%rax, %rax
	movq	%r14, %rbx
	leaq	-64(%rbp), %r14
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-8(%r15,%r12), %esi
	movq	%r14, %rdi
	callq	_strbuf_addstr
	cmpq	$0, -80(%rbp)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	$61, %esi
	callq	_strbuf_addch
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strbuf_addbuf
	jmp	LBB0_5
LBB0_7:
	movl	$1, %edi
	callq	_packet_flush
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_capabilities,8,3               ## @capabilities
	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_advertise_capabilities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function advertise_capabilities
_advertise_capabilities:                ; @advertise_capabilities
	.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
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	stp	q0, q0, [sp]
Lloh3:
	adrp	x19, _capabilities@GOTPAGE
Lloh4:
	ldr	x19, [x19, _capabilities@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, #0
	mov	x21, #0
Lloh5:
	adrp	x22, _the_repository@GOTPAGE
Lloh6:
	ldr	x22, [x22, _the_repository@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
	mov	w1, #10
	bl	_strbuf_addch
	ldr	w1, [sp, #24]
	ldr	x2, [sp, #16]
	mov	w0, #1
	bl	_packet_write
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
	bl	_strbuf_reset
	mov	x0, sp
	bl	_strbuf_reset
	add	x21, x21, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	add	x20, x20, #16
	cmp	x21, w0, sxtw
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x19]
	add	x8, x23, x20
	ldr	x8, [x8, #8]
	ldr	w0, [x22]
	mov	x1, sp
	blr	x8
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x23, x20]
	add	x0, sp, #16
	bl	_strbuf_addstr
	ldr	x8, [sp]
	cbz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
	mov	w1, #61
	bl	_strbuf_addch
	add	x0, sp, #16
	mov	x1, sp
	bl	_strbuf_addbuf
	b	LBB0_2
LBB0_7:
	mov	w0, #1
	bl	_packet_flush
	add	x0, sp, #16
	bl	_strbuf_release
	mov	x0, sp
	bl	_strbuf_release
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_capabilities,8,3               ; @capabilities
	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_advertise_capabilities
.subsections_via_symbols
