	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_user_visit                  ## -- Begin function do_user_visit
	.p2align	4, 0x90
_do_user_visit:                         ## @do_user_visit
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	callq	_get_user
	movq	%rax, %rbx
	movq	_verbosity@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.4:
	cmpl	$2, %eax
	jl	LBB0_6
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_6:
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	(%rbx), %eax
	movq	_MAX_ONLINE_DELAY@GOTPCREL(%rip), %rcx
	movl	$1, %r14d
	cmpl	(%rcx), %eax
	jl	LBB0_8
## %bb.7:
	movq	_LEV_TARG_ONLINE_LITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$8, %esi
	movl	%r15d, %edx
	callq	_alloc_log_event
	movq	%rax, %rdi
	callq	_process_user_online_lite
	jmp	LBB0_8
LBB0_1:
	testl	%eax, %eax
	jle	LBB0_2
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_8
LBB0_2:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error: unknown user %d, visit neglected\n"

L_.str.1:                               ## @.str.1
	.asciz	"setting last_visited for user %d to %d\n"

	.comm	_now,4,2                        ## @now
	.comm	_MAX_ONLINE_DELAY,4,2           ## @MAX_ONLINE_DELAY
	.comm	_LEV_TARG_ONLINE_LITE,4,2       ## @LEV_TARG_ONLINE_LITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_user_visit                  ; -- Begin function do_user_visit
	.p2align	2
_do_user_visit:                         ; @do_user_visit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_get_user
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x21, _now@GOTPAGE
Lloh4:
	ldr	x21, [x21, _now@GOTPAGEOFF]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_3:
	ldr	w8, [x21]
	ldr	w9, [x20]
Lloh10:
	adrp	x10, _MAX_ONLINE_DELAY@GOTPAGE
Lloh11:
	ldr	x10, [x10, _MAX_ONLINE_DELAY@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	sub	w8, w8, w9
	cmp	w8, w10
	b.lt	LBB0_5
; %bb.4:
Lloh13:
	adrp	x8, _LEV_TARG_ONLINE_LITE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LEV_TARG_ONLINE_LITE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	w1, #8
	mov	x2, x19
	bl	_alloc_log_event
	bl	_process_user_online_lite
LBB0_5:
	mov	w0, #1
	b	LBB0_9
LBB0_6:
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.7:
Lloh16:
	adrp	x8, _stderr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error: unknown user %d, visit neglected\n"

l_.str.1:                               ; @.str.1
	.asciz	"setting last_visited for user %d to %d\n"

	.comm	_now,4,2                        ; @now
	.comm	_MAX_ONLINE_DELAY,4,2           ; @MAX_ONLINE_DELAY
	.comm	_LEV_TARG_ONLINE_LITE,4,2       ; @LEV_TARG_ONLINE_LITE
.subsections_via_symbols
