	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ClientInactivityTimer          ## -- Begin function ClientInactivityTimer
	.p2align	4, 0x90
_ClientInactivityTimer:                 ## @ClientInactivityTimer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_g_inactivity@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	cmpq	$0, 48(%rdi)
	jne	LBB0_7
## %bb.4:
	cmpq	$0, 40(%rdi)
	jne	LBB0_7
## %bb.5:
	cmpq	$0, 32(%rdi)
	jne	LBB0_7
## %bb.6:
	movq	_BUTTON_ATTACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 24(%rdi)
	je	LBB0_8
LBB0_7:
	movq	_level@GOTPCREL(%rip), %rcx
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	addl	(%rcx), %eax
	movl	%eax, (%rdi)
	jmp	LBB0_2
LBB0_1:
	movq	_level@GOTPCREL(%rip), %rax
	movl	$60000, %ecx                    ## imm = 0xEA60
	addl	(%rax), %ecx
	movl	%ecx, (%rdi)
LBB0_2:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rdi)
	movq	_qtrue@GOTPCREL(%rip), %rbx
LBB0_14:
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	movq	_qtrue@GOTPCREL(%rip), %rbx
	cmpl	$0, 16(%rdi)
	jne	LBB0_14
## %bb.9:
	movq	_level@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rdi), %edx
	cmpl	%edx, %ecx
	jle	LBB0_11
## %bb.10:
	movslq	4(%rax), %rax
	negq	%rax
	imulq	$56, %rax, %rax
	addq	%rax, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_trap_DropClient
	movq	_qfalse@GOTPCREL(%rip), %rbx
	jmp	LBB0_14
LBB0_11:
	addl	$-10000, %edx                   ## imm = 0xD8F0
	cmpl	%edx, %ecx
	jle	LBB0_14
## %bb.12:
	cmpq	$0, 8(%rdi)
	jne	LBB0_14
## %bb.13:
	movq	_qtrue@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	%rcx, 8(%rdi)
	movslq	4(%rax), %rax
	negq	%rax
	imulq	$56, %rax, %rax
	addq	%rdi, %rax
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_trap_SendServerCommand
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_g_inactivity,4,2               ## @g_inactivity
	.comm	_level,8,2                      ## @level
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_BUTTON_ATTACK,4,2              ## @BUTTON_ATTACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dropped due to inactivity"

	.comm	_qtrue,8,3                      ## @qtrue
L_.str.1:                               ## @.str.1
	.asciz	"cp \"Ten seconds until inactivity drop!\n\""

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ClientInactivityTimer          ; -- Begin function ClientInactivityTimer
	.p2align	2
_ClientInactivityTimer:                 ; @ClientInactivityTimer
	.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
Lloh0:
	adrp	x8, _g_inactivity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_inactivity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	x9, [x0, #48]
	cbnz	x9, LBB0_5
; %bb.2:
	ldr	x9, [x0, #40]
	cbnz	x9, LBB0_5
; %bb.3:
	ldr	x9, [x0, #32]
	cbnz	x9, LBB0_5
; %bb.4:
	ldr	w9, [x0, #24]
Lloh3:
	adrp	x10, _BUTTON_ATTACK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BUTTON_ATTACK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
LBB0_5:
Lloh6:
	adrp	x9, _level@GOTPAGE
Lloh7:
	ldr	x9, [x9, _level@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mov	w10, #1000
	madd	w8, w8, w10, w9
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x8, _level@GOTPAGE
Lloh10:
	ldr	x8, [x8, _level@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	w9, #60000
	add	w8, w8, w9
LBB0_7:
	str	w8, [x0]
Lloh12:
	adrp	x8, _qfalse@GOTPAGE
Lloh13:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x0, #8]
LBB0_8:
Lloh15:
	adrp	x19, _qtrue@GOTPAGE
Lloh16:
	ldr	x19, [x19, _qtrue@GOTPAGEOFF]
LBB0_9:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w8, [x0, #16]
	cbnz	w8, LBB0_8
; %bb.11:
Lloh17:
	adrp	x8, _level@GOTPAGE
Lloh18:
	ldr	x8, [x8, _level@GOTPAGEOFF]
	ldr	w9, [x8]
	ldr	w10, [x0]
	cmp	w9, w10
	b.le	LBB0_13
; %bb.12:
	ldrsw	x8, [x8, #4]
	mov	w9, #56
	mneg	x8, x8, x9
	add	x0, x0, x8
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trap_DropClient
Lloh21:
	adrp	x19, _qfalse@GOTPAGE
Lloh22:
	ldr	x19, [x19, _qfalse@GOTPAGEOFF]
	b	LBB0_9
LBB0_13:
	mov	w11, #-10000
	add	w10, w10, w11
	cmp	w9, w10
	b.le	LBB0_8
; %bb.14:
	ldr	x9, [x0, #8]
Lloh23:
	adrp	x19, _qtrue@GOTPAGE
Lloh24:
	ldr	x19, [x19, _qtrue@GOTPAGEOFF]
	cbnz	x9, LBB0_9
; %bb.15:
	ldr	x9, [x19]
	str	x9, [x0, #8]
	ldrsw	x8, [x8, #4]
	mov	w9, #56
	mneg	x8, x8, x9
	add	x0, x0, x8
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_trap_SendServerCommand
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_g_inactivity,4,2               ; @g_inactivity
	.comm	_level,8,2                      ; @level
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_BUTTON_ATTACK,4,2              ; @BUTTON_ATTACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dropped due to inactivity"

	.comm	_qtrue,8,3                      ; @qtrue
l_.str.1:                               ; @.str.1
	.asciz	"cp \"Ten seconds until inactivity drop!\n\""

.subsections_via_symbols
