	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_next_alias                 ## -- Begin function get_next_alias
	.p2align	4, 0x90
_get_next_alias:                        ## @get_next_alias
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	_get_next_alias.st(%rip), %ecx
	cmpl	$-1, %ecx
	je	LBB0_2
## %bb.1:
	movq	_engine_n@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_3
LBB0_2:
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_utime
	imull	$1000000, %eax, %ecx            ## imm = 0xF4240
	addl	$1001000000, %ecx               ## imm = 0x3BAA0C40
	movq	_engine_n@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	subl	%edx, %ecx
	movq	_engine_id@GOTPCREL(%rip), %rax
	addl	(%rax), %ecx
LBB0_3:
	addl	%esi, %ecx
	movl	%ecx, _get_next_alias.st(%rip)
	xorl	%edi, %edi
	cmpl	$1000000001, %ecx               ## imm = 0x3B9ACA01
	setge	%dil
	callq	_assert
	movl	_get_next_alias.st(%rip), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @get_next_alias.st
_get_next_alias.st:
	.long	4294967295                      ## 0xffffffff

	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.comm	_engine_n,4,2                   ## @engine_n
	.comm	_engine_id,8,3                  ## @engine_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_next_alias                 ; -- Begin function get_next_alias
	.p2align	2
_get_next_alias:                        ; @get_next_alias
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	adrp	x19, _get_next_alias.st@PAGE
	ldr	w8, [x19, _get_next_alias.st@PAGEOFF]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _engine_n@GOTPAGE
Lloh1:
	ldr	x9, [x9, _engine_n@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _CLOCK_REALTIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_get_utime
	mov	w8, #16960
	movk	w8, #15, lsl #16
	mov	w9, #3136
	movk	w9, #15274, lsl #16
	madd	w8, w0, w8, w9
Lloh6:
	adrp	x9, _engine_n@GOTPAGE
Lloh7:
	ldr	x9, [x9, _engine_n@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
Lloh9:
	adrp	x10, _engine_id@GOTPAGE
Lloh10:
	ldr	x10, [x10, _engine_id@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	madd	w8, w8, w9, w10
LBB0_3:
	mov	w10, #51712
	movk	w10, #15258, lsl #16
	add	w8, w8, w9
	cmp	w8, w10
	str	w8, [x19, _get_next_alias.st@PAGEOFF]
	cset	w0, gt
	bl	_assert
	ldr	w0, [x19, _get_next_alias.st@PAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @get_next_alias.st
_get_next_alias.st:
	.long	4294967295                      ; 0xffffffff

	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.comm	_engine_n,4,2                   ; @engine_n
	.comm	_engine_id,8,3                  ; @engine_id
.subsections_via_symbols
