	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serialize_top_result_as_text
_serialize_top_result_as_text:          ## @serialize_top_result_as_text
	.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	$2136, %rsp                     ## imm = 0x858
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -2124(%rbp)               ## 4-byte Spill
	movq	%rsi, -2152(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$0, (%rdi)
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %r13
	movl	$1, %ecx
	movq	_amortization_counter_types@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	movq	%rdi, -2136(%rbp)               ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%rbx, -2168(%rbp)               ## 8-byte Spill
	movq	24(%r13), %rax
	movq	(%rax), %rax
	movq	%rcx, -2160(%rbp)               ## 8-byte Spill
	movq	(%rax,%rcx,8), %r14
	leaq	-2112(%rbp), %r15
	movq	%r15, %rdi
	leaq	-2096(%rbp), %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_cache_bclear
	cmpl	$0, 4(%r13)
	js	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movq	%rax, -2144(%rbp)               ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r13), %esi
	movq	%r14, %rdi
	callq	_cache_uri_local_copy_find
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_assert
	movq	%rbx, -2144(%rbp)               ## 8-byte Spill
	movl	(%rbx), %edx
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_cache_bprintf
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_cache_get_uri_name
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_cache_bprintf
	movl	4(%r13), %eax
	testb	$4, %al
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %al
	leaq	L_.str.2(%rip), %rsi
	leaq	-2112(%rbp), %rdi
	movq	%r12, %r13
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
	movq	-2136(%rbp), %rcx               ## 8-byte Reload
	movq	8(%rcx), %rcx
	cvtsi2sdq	(%rax,%rcx,4), %xmm0
	movb	$1, %al
	callq	_cache_bprintf
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r12)
	movq	%r12, %r13
	leaq	L_.str.2(%rip), %r12
	leaq	-2112(%rbp), %rbx
	jle	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_cache_uri_get_acounter_value
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movb	$1, %al
	callq	_cache_bprintf
	incl	%r15d
	cmpl	(%r13), %r15d
	jl	LBB0_9
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %r12
	movq	-2136(%rbp), %r13               ## 8-byte Reload
	movl	4(%r13), %eax
	testb	$2, %al
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_cache_uri_get_size
	leaq	-2112(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_cache_bprintf
	movl	4(%r13), %eax
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	$96, %al
	movq	-2168(%rbp), %rbx               ## 8-byte Reload
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$-1, -2120(%rbp)
	movl	$-1, -2116(%rbp)
	movq	-2144(%rbp), %r14               ## 8-byte Reload
	movq	%r14, %rdi
	callq	_assert
	movq	%r14, %rdi
	leaq	-2120(%rbp), %rsi
	leaq	-2116(%rbp), %rdx
	callq	_cache_local_copy_get_yellow_light_time
	movl	4(%r13), %eax
	testb	$32, %al
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-2120(%rbp), %edx
	leaq	-2112(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_cache_bprintf
	movl	4(%r13), %eax
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	$64, %al
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-2116(%rbp), %edx
	leaq	-2112(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_cache_bprintf
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	-2112(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_cache_bprintf
	movl	-2112(%rbp), %edx
	cmpl	-2108(%rbp), %edx
	jge	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	leal	(%rdx,%rbx), %eax
	cmpl	-2124(%rbp), %eax               ## 4-byte Folded Reload
	jg	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rbx
	movq	-2152(%rbp), %rax               ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	movl	-2104(%rbp), %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	addl	-2112(%rbp), %ebx
	movq	-2160(%rbp), %rdx               ## 8-byte Reload
	leaq	1(%rdx), %rax
	movslq	(%r13), %rcx
	cmpq	%rcx, %rdx
	movq	%rax, %rcx
	jl	LBB0_3
	jmp	LBB0_22
LBB0_1:
	xorl	%ebx, %ebx
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%ebx, %eax
	addq	$2136, %rsp                     ## imm = 0x858
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\t"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_amortization_counter_types,4,2 ## @amortization_counter_types
L_.str.2:                               ## @.str.2
	.asciz	"\t%.7lg"

L_.str.3:                               ## @.str.3
	.asciz	"\t%lld"

L_.str.4:                               ## @.str.4
	.asciz	"\t%d"

L_.str.5:                               ## @.str.5
	.asciz	"\n"

	.no_dead_strip	_serialize_top_result_as_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serialize_top_result_as_text
_serialize_top_result_as_text:          ; @serialize_top_result_as_text
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #2096
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w19, #0
Lloh3:
	adrp	x24, l_.str.2@PAGE
Lloh4:
	add	x24, x24, l_.str.2@PAGEOFF
	mov	w23, #1
Lloh5:
	adrp	x25, _amortization_counter_types@GOTPAGE
Lloh6:
	ldr	x25, [x25, _amortization_counter_types@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x8, [x22, #24]
	ldr	x8, [x8]
	ldr	x27, [x8, x23, lsl #3]
	add	x0, sp, #16
	add	x1, sp, #32
	mov	w2, #2048
	bl	_cache_bclear
	ldr	w8, [x22, #4]
	tbnz	w8, #31, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x22, #16]
	mov	x0, x27
	bl	_cache_uri_local_copy_find
	mov	x28, x0
	bl	_assert
	ldr	w8, [x28]
	str	x8, [sp]
	add	x0, sp, #16
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_cache_bprintf
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x27
	bl	_cache_get_uri_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	add	x0, sp, #16
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_cache_bprintf
	ldr	w8, [x22, #4]
	tbnz	w8, #2, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	w8, #0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x22, #8]
	lsl	x9, x9, #2
	ldr	d0, [x8, x9]
	scvtf	d0, d0
	str	d0, [sp]
	add	x0, sp, #16
	mov	x1, x24
	bl	_cache_bprintf
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w26, #0
LBB0_10:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x27
	mov	x1, x26
	bl	_cache_uri_get_acounter_value
	scvtf	d0, x0
	str	d0, [sp]
	add	x0, sp, #16
	mov	x1, x24
	bl	_cache_bprintf
	add	w26, w26, #1
	ldr	w8, [x25]
	cmp	w26, w8
	b.lt	LBB0_10
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22, #4]
	tbz	w8, #1, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x27
	bl	_cache_uri_get_size
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	add	x0, sp, #16
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_cache_bprintf
	ldr	w8, [x22, #4]
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	tst	w8, #0x60
	b.eq	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #-1
	stp	w8, w8, [sp, #8]
	mov	x0, x28
	bl	_assert
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x28
	bl	_cache_local_copy_get_yellow_light_time
	ldr	w8, [x22, #4]
	tbz	w8, #5, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]
	str	x8, [sp]
	add	x0, sp, #16
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_cache_bprintf
	ldr	w8, [x22, #4]
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	tbz	w8, #6, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #8]
	str	x8, [sp]
	add	x0, sp, #16
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_cache_bprintf
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #16
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_cache_bprintf
	ldp	w2, w8, [sp, #16]
	cmp	w2, w8
	b.ge	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w2, w19
	cmp	w8, w20
	b.gt	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x21, w19, sxtw
	ldr	w1, [sp, #24]
	bl	_memcpy
	ldr	w8, [sp, #16]
	add	w19, w8, w19
	add	x8, x23, #1
	ldrsw	x9, [x22]
	cmp	x23, x9
	mov	x23, x8
	b.lt	LBB0_2
	b	LBB0_22
LBB0_21:
	mov	w19, #0
LBB0_22:
	ldur	x8, [x29, #-96]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x19
	add	sp, sp, #2096
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\t"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_amortization_counter_types,4,2 ; @amortization_counter_types
l_.str.2:                               ; @.str.2
	.asciz	"\t%.7lg"

l_.str.3:                               ; @.str.3
	.asciz	"\t%lld"

l_.str.4:                               ; @.str.4
	.asciz	"\t%d"

l_.str.5:                               ; @.str.5
	.asciz	"\n"

	.no_dead_strip	_serialize_top_result_as_text
.subsections_via_symbols
