	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmlab_act_discrete
_dmlab_act_discrete:                    ## @dmlab_act_discrete
	.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	$0, (%rdi)
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, %rbx
	movq	8(%rdi), %r14
	movq	_kActions_StrafeLeftRight@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rsi,%rax,4), %eax
	movl	%eax, %edx
	shll	$7, %edx
	subl	%eax, %edx
	movq	_kActions_MoveBackForward@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rsi,%rax,4), %eax
	movl	%eax, %esi
	shll	$7, %esi
	subl	%eax, %esi
	movq	_kActions_LookLeftRight@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_kPixelsPerFrameToDegreesPerMilliseconds@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rbx,%rax,4), %eax
	imull	%ecx, %eax
	negl	%eax
	cvtsi2ss	%eax, %xmm1
	movq	_kActions_LookDownUp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	imull	(%rbx,%rax,4), %ecx
	cvtsi2ss	%ecx, %xmm0
	movq	_kActions_Jump@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %eax
	movq	_kActions_Crouch@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subl	(%rbx,%rcx,4), %eax
	movl	%eax, %ecx
	shll	$7, %ecx
	subl	%eax, %ecx
	movq	_kActions_Fire@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %r8d
	movl	(%r14), %edi
	callq	*16(%r14)
	movq	8(%r14), %r15
	movl	(%r14), %r14d
	movq	_kActionNames@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_LEN
	cltq
	leaq	(%rbx,%rax,4), %rsi
	movl	%r14d, %edi
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_kActions_StrafeLeftRight,8,3   ## @kActions_StrafeLeftRight
	.comm	_kActions_MoveBackForward,8,3   ## @kActions_MoveBackForward
	.comm	_kActions_LookLeftRight,8,3     ## @kActions_LookLeftRight
	.comm	_kPixelsPerFrameToDegreesPerMilliseconds,4,2 ## @kPixelsPerFrameToDegreesPerMilliseconds
	.comm	_kActions_LookDownUp,8,3        ## @kActions_LookDownUp
	.comm	_kActions_Jump,8,3              ## @kActions_Jump
	.comm	_kActions_Crouch,8,3            ## @kActions_Crouch
	.comm	_kActions_Fire,8,3              ## @kActions_Fire
	.comm	_kActionNames,4,2               ## @kActionNames
	.no_dead_strip	_dmlab_act_discrete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmlab_act_discrete
_dmlab_act_discrete:                    ; @dmlab_act_discrete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	wzr, [x0]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	mov	x19, x1
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _kActions_StrafeLeftRight@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kActions_StrafeLeftRight@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x1, x8, lsl #2]
	lsl	w9, w8, #7
Lloh3:
	adrp	x10, _kActions_MoveBackForward@GOTPAGE
Lloh4:
	ldr	x10, [x10, _kActions_MoveBackForward@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	w10, [x1, x10, lsl #2]
	sub	w2, w9, w8
Lloh6:
	adrp	x8, _kActions_LookLeftRight@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kActions_LookLeftRight@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w8, [x1, x8, lsl #2]
Lloh9:
	adrp	x9, _kPixelsPerFrameToDegreesPerMilliseconds@GOTPAGE
Lloh10:
	ldr	x9, [x9, _kPixelsPerFrameToDegreesPerMilliseconds@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	mneg	w8, w8, w9
	scvtf	s1, w8
	lsl	w8, w10, #7
Lloh12:
	adrp	x11, _kActions_LookDownUp@GOTPAGE
Lloh13:
	ldr	x11, [x11, _kActions_LookDownUp@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	ldr	w11, [x1, x11, lsl #2]
	sub	w1, w8, w10
	mul	w8, w11, w9
	scvtf	s0, w8
Lloh15:
	adrp	x8, _kActions_Jump@GOTPAGE
Lloh16:
	ldr	x8, [x8, _kActions_Jump@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	w8, [x19, x8, lsl #2]
Lloh18:
	adrp	x9, _kActions_Crouch@GOTPAGE
Lloh19:
	ldr	x9, [x9, _kActions_Crouch@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	w9, [x19, x9, lsl #2]
	sub	w8, w8, w9
	lsl	w9, w8, #7
Lloh21:
	adrp	x10, _kActions_Fire@GOTPAGE
Lloh22:
	ldr	x10, [x10, _kActions_Fire@GOTPAGEOFF]
	sub	w3, w9, w8
Lloh23:
	ldr	x8, [x10]
	ldr	w4, [x19, x8, lsl #2]
	ldr	x8, [x20, #16]
	ldr	w0, [x20]
	blr	x8
	ldr	x0, [x20, #8]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w20, [x20]
Lloh24:
	adrp	x8, _kActionNames@GOTPAGE
Lloh25:
	ldr	x8, [x8, _kActionNames@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_ARRAY_LEN
	add	x1, x19, w0, sxtw #2
	mov	x0, x20
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	br	x2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_kActions_StrafeLeftRight,8,3   ; @kActions_StrafeLeftRight
	.comm	_kActions_MoveBackForward,8,3   ; @kActions_MoveBackForward
	.comm	_kActions_LookLeftRight,8,3     ; @kActions_LookLeftRight
	.comm	_kPixelsPerFrameToDegreesPerMilliseconds,4,2 ; @kPixelsPerFrameToDegreesPerMilliseconds
	.comm	_kActions_LookDownUp,8,3        ; @kActions_LookDownUp
	.comm	_kActions_Jump,8,3              ; @kActions_Jump
	.comm	_kActions_Crouch,8,3            ; @kActions_Crouch
	.comm	_kActions_Fire,8,3              ; @kActions_Fire
	.comm	_kActionNames,4,2               ; @kActionNames
	.no_dead_strip	_dmlab_act_discrete
.subsections_via_symbols
