	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function compute_max_uid
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_3:
	.quad	0x400199999999999a              ## double 2.2000000000000002
LCPI0_4:
	.quad	0x4030000000000000              ## double 16
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_2:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_compute_max_uid
	.p2align	4, 0x90
_compute_max_uid:                       ## @compute_max_uid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %eax
	movq	_msgs_bytes@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	movq	_total_packed_bytes@GOTPCREL(%rip), %rdx
	cvtsi2sdq	(%rdx), %xmm1
	cvtsi2sd	%ecx, %xmm2
	divsd	%xmm2, %xmm1
	jmp	LBB0_3
LBB0_1:
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
LBB0_3:
	movq	_max_uid@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r8
	cmpl	%eax, %r8d
	jl	LBB0_9
## %bb.4:
	xorpd	%xmm2, %xmm2
	ucomisd	%xmm2, %xmm0
	jb	LBB0_9
## %bb.5:
	movq	_UserSearchWords@GOTPCREL(%rip), %rcx
	movq	_extra_ints_num@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	leaq	4(,%rdx,4), %rdx
	movq	%rdx, %xmm4
	punpckldq	LCPI0_1(%rip), %xmm4    ## xmm4 = xmm4[0],mem[0],xmm4[1],mem[1]
	movq	_UserMsgCnt@GOTPCREL(%rip), %rdx
	subpd	LCPI0_2(%rip), %xmm4
	movapd	%xmm4, %xmm3
	unpckhpd	%xmm4, %xmm3                    ## xmm3 = xmm3[1],xmm4[1]
	addsd	%xmm4, %xmm3
	addsd	LCPI0_3(%rip), %xmm3
	movq	_UserMsgBytes@GOTPCREL(%rip), %rsi
	movq	_UserMsgDel@GOTPCREL(%rip), %rdi
	movq	_UserMsgExtras@GOTPCREL(%rip), %rbx
	movslq	%eax, %r9
	leaq	(,%r9,8), %r11
	movq	(%rcx), %r10
	addq	%r11, %r10
	leaq	(,%r9,4), %rcx
	movq	(%rdx), %r14
	addq	%rcx, %r14
	addq	(%rsi), %r11
	movq	(%rdi), %rdi
	addq	%rcx, %rdi
	addq	(%rbx), %rcx
	xorl	%esi, %esi
	movsd	LCPI0_4(%rip), %xmm8            ## xmm8 = mem[0],zero
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [1127219200,1160773632,0,0]
	movapd	LCPI0_2(%rip), %xmm10           ## xmm10 = [4.503599627370496E+15,1.9342813113834067E+25]
	xorpd	%xmm4, %xmm4
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r9,%rsi), %rdx
	movsd	(%r10,%rsi,8), %xmm7            ## xmm7 = mem[0],zero
	mulsd	%xmm8, %xmm7
	movslq	(%rdi,%rsi,4), %rbx
	shlq	$2, %rbx
	movq	%rbx, %xmm5
	punpckldq	%xmm9, %xmm5            ## xmm5 = xmm5[0],xmm9[0],xmm5[1],xmm9[1]
	subpd	%xmm10, %xmm5
	leaq	1(%rsi), %rbx
	cmpq	%r8, %rdx
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	maxsd	%xmm4, %xmm7
	xorps	%xmm4, %xmm4
	cvtsi2sdl	(%r14,%rsi,4), %xmm4
	mulsd	%xmm3, %xmm4
	movsd	(%r11,%rsi,8), %xmm6            ## xmm6 = mem[0],zero
	mulsd	%xmm1, %xmm6
	addsd	%xmm4, %xmm6
	movapd	%xmm5, %xmm4
	unpckhpd	%xmm5, %xmm4                    ## xmm4 = xmm4[1],xmm5[1]
	addsd	%xmm5, %xmm4
	addsd	%xmm6, %xmm4
	movl	(%rcx,%rsi,4), %edx
	shll	$2, %edx
	xorps	%xmm5, %xmm5
	cvtsi2sd	%edx, %xmm5
	addsd	%xmm4, %xmm5
	addsd	%xmm5, %xmm2
	movapd	%xmm7, %xmm4
	addsd	%xmm2, %xmm4
	ucomisd	%xmm4, %xmm0
	movq	%rbx, %rsi
	movapd	%xmm7, %xmm4
	jae	LBB0_6
LBB0_8:
	addl	%ebx, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_msgs_bytes,4,2                 ## @msgs_bytes
	.comm	_total_packed_bytes,8,3         ## @total_packed_bytes
	.comm	_max_uid,4,2                    ## @max_uid
	.comm	_UserSearchWords,8,3            ## @UserSearchWords
	.comm	_UserMsgCnt,8,3                 ## @UserMsgCnt
	.comm	_extra_ints_num,4,2             ## @extra_ints_num
	.comm	_UserMsgBytes,8,3               ## @UserMsgBytes
	.comm	_UserMsgDel,8,3                 ## @UserMsgDel
	.comm	_UserMsgExtras,8,3              ## @UserMsgExtras
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_max_uid                ; -- Begin function compute_max_uid
	.p2align	2
_compute_max_uid:                       ; @compute_max_uid
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _msgs_bytes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _msgs_bytes@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _total_packed_bytes@GOTPAGE
Lloh4:
	ldr	x9, [x9, _total_packed_bytes@GOTPAGEOFF]
Lloh5:
	ldr	d1, [x9]
	scvtf	d1, d1
	scvtf	d2, w8
	fdiv	d1, d1, d2
	b	LBB0_3
LBB0_2:
	fmov	d1, #1.00000000
LBB0_3:
Lloh6:
	adrp	x8, _max_uid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _max_uid@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	cmp	w8, w0
	b.lt	LBB0_8
; %bb.4:
	fcmp	d0, #0.0
	b.lt	LBB0_8
; %bb.5:
Lloh9:
	adrp	x9, _UserSearchWords@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UserSearchWords@GOTPAGEOFF]
Lloh11:
	adrp	x10, _UserMsgCnt@GOTPAGE
Lloh12:
	ldr	x10, [x10, _UserMsgCnt@GOTPAGEOFF]
Lloh13:
	adrp	x11, _extra_ints_num@GOTPAGE
Lloh14:
	ldr	x11, [x11, _extra_ints_num@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
Lloh16:
	ldrsw	x11, [x11]
	lsl	x11, x11, #2
	add	x11, x11, #4
	ucvtf	d2, x11
Lloh17:
	ldr	x10, [x10]
	mov	x11, #-7378697629483820647
	movk	x11, #39322
	movk	x11, #16385, lsl #48
	fmov	d3, x11
	fadd	d2, d2, d3
Lloh18:
	adrp	x11, _UserMsgBytes@GOTPAGE
Lloh19:
	ldr	x11, [x11, _UserMsgBytes@GOTPAGEOFF]
Lloh20:
	ldr	x11, [x11]
Lloh21:
	adrp	x12, _UserMsgDel@GOTPAGE
Lloh22:
	ldr	x12, [x12, _UserMsgDel@GOTPAGEOFF]
Lloh23:
	ldr	x12, [x12]
Lloh24:
	adrp	x13, _UserMsgExtras@GOTPAGE
Lloh25:
	ldr	x13, [x13, _UserMsgExtras@GOTPAGEOFF]
Lloh26:
	ldr	x13, [x13]
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sxtw	x14, w0
	movi	d3, #0000000000000000
	fmov	d4, #16.00000000
	movi	d5, #0000000000000000
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x15, x14, #3
	ldr	d6, [x9, x15]
	fmul	d6, d6, d4
	fcmp	d5, d6
	fcsel	d5, d6, d5, mi
	add	x0, x14, #1
	cmp	x14, x8
	b.ge	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	lsl	x14, x14, #2
	ldr	s6, [x10, x14]
	sshll.2d	v6, v6, #0
	scvtf	d6, d6
	ldr	d7, [x11, x15]
	fmul	d7, d1, d7
	ldrsw	x15, [x12, x14]
	lsl	x15, x15, #2
	ucvtf	d16, x15
	fmadd	d6, d6, d2, d7
	ldr	w14, [x13, x14]
	lsl	w14, w14, #2
	scvtf	d7, w14
	fadd	d6, d6, d16
	fadd	d6, d6, d7
	fadd	d3, d3, d6
	fadd	d6, d5, d3
	fcmp	d6, d0
	mov	x14, x0
	b.ls	LBB0_6
LBB0_8:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh17
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_msgs_bytes,4,2                 ; @msgs_bytes
	.comm	_total_packed_bytes,8,3         ; @total_packed_bytes
	.comm	_max_uid,4,2                    ; @max_uid
	.comm	_UserSearchWords,8,3            ; @UserSearchWords
	.comm	_UserMsgCnt,8,3                 ; @UserMsgCnt
	.comm	_extra_ints_num,4,2             ; @extra_ints_num
	.comm	_UserMsgBytes,8,3               ; @UserMsgBytes
	.comm	_UserMsgDel,8,3                 ; @UserMsgDel
	.comm	_UserMsgExtras,8,3              ; @UserMsgExtras
.subsections_via_symbols
