	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function cache_output_heap
LCPI0_0:
	.quad	0x3eb0c6f7a0b5ed8d              ## double 9.9999999999999995E-7
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cache_output_heap:                     ## @cache_output_heap
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, 40(%rdi)
	movl	%ecx, (%rdi)
	movl	%r8d, 4(%rdi)
	cvtsi2sd	%r8d, %xmm0
	cmpl	$1000000, %r8d                  ## imm = 0xF4240
	jl	LBB0_2
## %bb.1:
	mulsd	LCPI0_0(%rip), %xmm0
LBB0_2:
	cvttsd2si	%xmm0, %r9d
	movl	%r9d, 8(%rdi)
	xorl	%r14d, %r14d
	testl	%ecx, %ecx
	jns	LBB0_3
## %bb.4:
	movq	_disk_filter@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movq	%rax, 32(%rdi)
	movq	_heap_acounter_off@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	%r10, 16(%rdi)
	testl	%edx, %edx
	jle	LBB0_12
## %bb.6:
	movq	_uri_off@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	incl	%edx
	xorl	%r14d, %r14d
	movl	$1, %ecx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movslq	%r14d, %rbx
	incl	%r14d
	movq	%rax, 8(%r15,%rbx,8)
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %r15
	movq	(%r15,%rcx,8), %rax
	movq	(%rax), %rbx
	cmpl	$0, (%rbx,%r11,4)
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	testl	%r8d, %r8d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r9d, (%rbx,%r10,4)
	jg	LBB0_10
	jmp	LBB0_11
LBB0_12:
	movl	%r14d, 24(%rdi)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_disk_filter,4,2                ## @disk_filter
	.comm	_heap_acounter_off,8,3          ## @heap_acounter_off
	.comm	_uri_off,8,3                    ## @uri_off
	.no_dead_strip	_cache_output_heap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cache_output_heap
_cache_output_heap:                     ; @cache_output_heap
	.cfi_startproc
; %bb.0:
	stp	w3, w4, [x0]
	scvtf	d0, w4
	mov	x8, #60813
	movk	x8, #41141, lsl #16
	movk	x8, #50935, lsl #32
	movk	x8, #16048, lsl #48
	fmov	d1, x8
	fmul	d1, d0, d1
	mov	w8, #16959
	movk	w8, #15, lsl #16
	cmp	w4, w8
	fcsel	d0, d1, d0, gt
	fcvtzs	w8, d0
	str	w8, [x0, #8]
Lloh0:
	adrp	x9, _disk_filter@GOTPAGE
Lloh1:
	ldr	x9, [x9, _disk_filter@GOTPAGEOFF]
	cmp	w3, #0
	csel	x9, xzr, x9, ge
	stp	x9, x1, [x0, #32]
Lloh2:
	adrp	x9, _heap_acounter_off@GOTPAGE
Lloh3:
	ldr	x9, [x9, _heap_acounter_off@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	str	x9, [x0, #16]
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w10, #0
Lloh5:
	adrp	x11, _uri_off@GOTPAGE
Lloh6:
	ldr	x11, [x11, _uri_off@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	add	w12, w2, #1
	lsl	x12, x12, #3
	mov	w13, #8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w10, w10, #1
	str	x15, [x14, w10, sxtw #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x13, x13, #8
	cmp	x12, x13
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x1]
	ldr	x15, [x14, x13]
	ldr	x16, [x15]
	ldr	w17, [x16, x11, lsl #2]
	cbz	w17, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w4, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w16, [x16, x9, lsl #2]
	cmp	w16, w8
	b.gt	LBB0_2
	b	LBB0_3
LBB0_7:
	mov	w10, #0
LBB0_8:
	str	w10, [x0, #24]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_disk_filter,4,2                ; @disk_filter
	.comm	_heap_acounter_off,8,3          ; @heap_acounter_off
	.comm	_uri_off,8,3                    ; @uri_off
	.no_dead_strip	_cache_output_heap
.subsections_via_symbols
