	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function KeyToAxisAndSign
_KeyToAxisAndSign:                      ## @KeyToAxisAndSign
	.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
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_Key_GetBinding
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	cmpb	$43, (%rax)
	jne	LBB0_1
## %bb.4:
	movl	$0, (%r14)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_Q_stricmp
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	xorl	%eax, %eax
	cmpl	$0, (%r14)
	setne	%al
	jmp	LBB0_28
LBB0_1:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_j_forward_axis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_j_forward@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	xorl	%eax, %eax
	ucomiss	%xmm1, %xmm0
	seta	%al
	jmp	LBB0_27
LBB0_8:
	movq	_j_forward_axis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_j_forward@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_10:
	movq	_j_side_axis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_j_side@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_12:
	movq	_j_side_axis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_j_side@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_14:
	movq	_j_pitch_axis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_j_pitch@GOTPCREL(%rip), %rax
LBB0_26:
	movq	(%rax), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	xorl	%eax, %eax
	ucomiss	%xmm1, %xmm0
	setbe	%al
LBB0_27:
	addl	%eax, %eax
	decl	%eax
	movl	%eax, (%r14)
	movl	$1, %eax
	jmp	LBB0_28
LBB0_16:
	movq	_j_pitch_axis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_j_pitch@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_18:
	movq	_j_yaw_axis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_j_yaw@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_20:
	movq	_j_yaw_axis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_j_yaw@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_22:
	movq	_j_up_axis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_j_up@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_25:
	movq	_j_up_axis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_j_up@GOTPCREL(%rip), %rax
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"+forward"

	.comm	_j_forward_axis,8,3             ## @j_forward_axis
	.comm	_j_forward,8,3                  ## @j_forward
L_.str.1:                               ## @.str.1
	.asciz	"+back"

L_.str.2:                               ## @.str.2
	.asciz	"+moveleft"

	.comm	_j_side_axis,8,3                ## @j_side_axis
	.comm	_j_side,8,3                     ## @j_side
L_.str.3:                               ## @.str.3
	.asciz	"+moveright"

L_.str.4:                               ## @.str.4
	.asciz	"+lookup"

	.comm	_j_pitch_axis,8,3               ## @j_pitch_axis
	.comm	_j_pitch,8,3                    ## @j_pitch
L_.str.5:                               ## @.str.5
	.asciz	"+lookdown"

L_.str.6:                               ## @.str.6
	.asciz	"+left"

	.comm	_j_yaw_axis,8,3                 ## @j_yaw_axis
	.comm	_j_yaw,8,3                      ## @j_yaw
L_.str.7:                               ## @.str.7
	.asciz	"+right"

L_.str.8:                               ## @.str.8
	.asciz	"+moveup"

	.comm	_j_up_axis,8,3                  ## @j_up_axis
	.comm	_j_up,8,3                       ## @j_up
L_.str.9:                               ## @.str.9
	.asciz	"+movedown"

	.no_dead_strip	_KeyToAxisAndSign
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function KeyToAxisAndSign
_KeyToAxisAndSign:                      ; @KeyToAxisAndSign
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	w0, LBB0_14
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	bl	_Key_GetBinding
	cbz	x0, LBB0_14
; %bb.2:
	mov	x21, x0
	ldrb	w8, [x0]
	cmp	w8, #43
	b.ne	LBB0_14
; %bb.3:
	str	wzr, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbz	x0, LBB0_16
; %bb.4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbz	x0, LBB0_18
; %bb.5:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbz	x0, LBB0_19
; %bb.6:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbz	x0, LBB0_20
; %bb.7:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbz	x0, LBB0_21
; %bb.8:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbz	x0, LBB0_24
; %bb.9:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbz	x0, LBB0_25
; %bb.10:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbz	x0, LBB0_26
; %bb.11:
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbz	x0, LBB0_27
; %bb.12:
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_Q_stricmp
	cbz	x0, LBB0_28
; %bb.13:
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, ne
	b	LBB0_15
LBB0_14:
Lloh20:
	adrp	x8, _qfalse@GOTPAGE
Lloh21:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh23:
	adrp	x8, _j_forward_axis@GOTPAGE
Lloh24:
	ldr	x8, [x8, _j_forward_axis@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh26:
	adrp	x8, _j_forward@GOTPAGE
Lloh27:
	ldr	x8, [x8, _j_forward@GOTPAGEOFF]
LBB0_17:
	ldr	x8, [x8]
	ldr	s0, [x8]
	fcmp	s0, #0.0
	mov	w8, #-1
	csinc	w8, w8, wzr, le
	b	LBB0_23
LBB0_18:
Lloh28:
	adrp	x8, _j_forward_axis@GOTPAGE
Lloh29:
	ldr	x8, [x8, _j_forward_axis@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh31:
	adrp	x8, _j_forward@GOTPAGE
Lloh32:
	ldr	x8, [x8, _j_forward@GOTPAGEOFF]
	b	LBB0_22
LBB0_19:
Lloh33:
	adrp	x8, _j_side_axis@GOTPAGE
Lloh34:
	ldr	x8, [x8, _j_side_axis@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh36:
	adrp	x8, _j_side@GOTPAGE
Lloh37:
	ldr	x8, [x8, _j_side@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
Lloh38:
	adrp	x8, _j_side_axis@GOTPAGE
Lloh39:
	ldr	x8, [x8, _j_side_axis@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh41:
	adrp	x8, _j_side@GOTPAGE
Lloh42:
	ldr	x8, [x8, _j_side@GOTPAGEOFF]
	b	LBB0_17
LBB0_21:
Lloh43:
	adrp	x8, _j_pitch_axis@GOTPAGE
Lloh44:
	ldr	x8, [x8, _j_pitch_axis@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh46:
	adrp	x8, _j_pitch@GOTPAGE
Lloh47:
	ldr	x8, [x8, _j_pitch@GOTPAGEOFF]
LBB0_22:
	ldr	x8, [x8]
	ldr	s0, [x8]
	fcmp	s0, #0.0
	mov	w8, #-1
	csinc	w8, w8, wzr, gt
LBB0_23:
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_15
LBB0_24:
Lloh48:
	adrp	x8, _j_pitch_axis@GOTPAGE
Lloh49:
	ldr	x8, [x8, _j_pitch_axis@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh51:
	adrp	x8, _j_pitch@GOTPAGE
Lloh52:
	ldr	x8, [x8, _j_pitch@GOTPAGEOFF]
	b	LBB0_17
LBB0_25:
Lloh53:
	adrp	x8, _j_yaw_axis@GOTPAGE
Lloh54:
	ldr	x8, [x8, _j_yaw_axis@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh56:
	adrp	x8, _j_yaw@GOTPAGE
Lloh57:
	ldr	x8, [x8, _j_yaw@GOTPAGEOFF]
	b	LBB0_17
LBB0_26:
Lloh58:
	adrp	x8, _j_yaw_axis@GOTPAGE
Lloh59:
	ldr	x8, [x8, _j_yaw_axis@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh61:
	adrp	x8, _j_yaw@GOTPAGE
Lloh62:
	ldr	x8, [x8, _j_yaw@GOTPAGEOFF]
	b	LBB0_22
LBB0_27:
Lloh63:
	adrp	x8, _j_up_axis@GOTPAGE
Lloh64:
	ldr	x8, [x8, _j_up_axis@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh66:
	adrp	x8, _j_up@GOTPAGE
Lloh67:
	ldr	x8, [x8, _j_up@GOTPAGEOFF]
	b	LBB0_17
LBB0_28:
Lloh68:
	adrp	x8, _j_up_axis@GOTPAGE
Lloh69:
	ldr	x8, [x8, _j_up_axis@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x20]
Lloh71:
	adrp	x8, _j_up@GOTPAGE
Lloh72:
	ldr	x8, [x8, _j_up@GOTPAGEOFF]
	b	LBB0_22
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"+forward"

	.comm	_j_forward_axis,8,3             ; @j_forward_axis
	.comm	_j_forward,8,3                  ; @j_forward
l_.str.1:                               ; @.str.1
	.asciz	"+back"

l_.str.2:                               ; @.str.2
	.asciz	"+moveleft"

	.comm	_j_side_axis,8,3                ; @j_side_axis
	.comm	_j_side,8,3                     ; @j_side
l_.str.3:                               ; @.str.3
	.asciz	"+moveright"

l_.str.4:                               ; @.str.4
	.asciz	"+lookup"

	.comm	_j_pitch_axis,8,3               ; @j_pitch_axis
	.comm	_j_pitch,8,3                    ; @j_pitch
l_.str.5:                               ; @.str.5
	.asciz	"+lookdown"

l_.str.6:                               ; @.str.6
	.asciz	"+left"

	.comm	_j_yaw_axis,8,3                 ; @j_yaw_axis
	.comm	_j_yaw,8,3                      ; @j_yaw
l_.str.7:                               ; @.str.7
	.asciz	"+right"

l_.str.8:                               ; @.str.8
	.asciz	"+moveup"

	.comm	_j_up_axis,8,3                  ; @j_up_axis
	.comm	_j_up,8,3                       ; @j_up
l_.str.9:                               ; @.str.9
	.asciz	"+movedown"

	.no_dead_strip	_KeyToAxisAndSign
.subsections_via_symbols
