	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function Controls_GetConfig
LCPI0_0:
	.long	0x40000000                      ## float 2
LCPI0_1:
	.long	0x3d4ccccd                      ## float 0.0500000007
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_Controls_GetConfig:                    ## @Controls_GetConfig
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_g_bindings@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpl	$0, 12(%rbx)
	je	LBB0_3
## %bb.1:
	leaq	-32(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %edi
	movq	%r14, %rsi
	callq	_Controls_GetKeyAssignment
	movl	-32(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-28(%rbp), %eax
	movl	%eax, 4(%rbx)
	cmpl	$0, 28(%rbx)
	leaq	16(%rbx), %rbx
	jne	LBB0_2
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_Controls_GetCvarValue
	shrq	$63, %rax
	movq	_s_controls@GOTPCREL(%rip), %rbx
	movl	%eax, 56(%rbx)
	leaq	L_.str.1(%rip), %rdi
	callq	_Controls_GetCvarValue
	xorps	%xmm0, %xmm0
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_UI_ClampCvar
	movq	%rax, 48(%rbx)
	leaq	L_.str.2(%rip), %rdi
	callq	_Controls_GetCvarValue
	xorps	%xmm0, %xmm0
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_UI_ClampCvar
	movq	%rax, 40(%rbx)
	leaq	L_.str.3(%rip), %rdi
	callq	_Controls_GetCvarValue
	xorps	%xmm0, %xmm0
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_UI_ClampCvar
	movq	%rax, 32(%rbx)
	leaq	L_.str.4(%rip), %rdi
	callq	_Controls_GetCvarValue
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$30, %edi
	movq	%rax, %rsi
	callq	_UI_ClampCvar
	movq	%rax, 24(%rbx)
	leaq	L_.str.5(%rip), %rdi
	callq	_Controls_GetCvarValue
	xorps	%xmm0, %xmm0
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_UI_ClampCvar
	movq	%rax, 16(%rbx)
	leaq	L_.str.6(%rip), %rdi
	callq	_Controls_GetCvarValue
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_UI_ClampCvar
	movq	%rax, 8(%rbx)
	leaq	L_.str.7(%rip), %rdi
	callq	_Controls_GetCvarValue
	xorps	%xmm0, %xmm0
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_UI_ClampCvar
	movq	%rax, (%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_g_bindings,8,3                 ## @g_bindings
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m_pitch"

	.comm	_s_controls,64,3                ## @s_controls
L_.str.1:                               ## @.str.1
	.asciz	"m_filter"

L_.str.2:                               ## @.str.2
	.asciz	"cl_run"

L_.str.3:                               ## @.str.3
	.asciz	"cg_autoswitch"

L_.str.4:                               ## @.str.4
	.asciz	"sensitivity"

L_.str.5:                               ## @.str.5
	.asciz	"in_joystick"

L_.str.6:                               ## @.str.6
	.asciz	"joy_threshold"

L_.str.7:                               ## @.str.7
	.asciz	"cl_freelook"

	.no_dead_strip	_Controls_GetConfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Controls_GetConfig
_Controls_GetConfig:                    ; @Controls_GetConfig
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _g_bindings@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_bindings@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x8]
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #8]
	mov	x1, sp
	bl	_Controls_GetKeyAssignment
	ldr	w8, [sp]
	str	w8, [x19]
	ldr	w8, [sp, #4]
	str	w8, [x19, #4]
	ldr	w8, [x19, #28]
	add	x19, x19, #16
	cbnz	w8, LBB0_1
LBB0_2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Controls_GetCvarValue
	lsr	x8, x0, #63
Lloh8:
	adrp	x19, _s_controls@GOTPAGE
Lloh9:
	ldr	x19, [x19, _s_controls@GOTPAGEOFF]
	str	w8, [x19, #56]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Controls_GetCvarValue
	mov	x1, x0
	movi	d0, #0000000000000000
	mov	w0, #1
	bl	_UI_ClampCvar
	str	x0, [x19, #48]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Controls_GetCvarValue
	mov	x1, x0
	movi	d0, #0000000000000000
	mov	w0, #1
	bl	_UI_ClampCvar
	str	x0, [x19, #40]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Controls_GetCvarValue
	mov	x1, x0
	movi	d0, #0000000000000000
	mov	w0, #1
	bl	_UI_ClampCvar
	str	x0, [x19, #32]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Controls_GetCvarValue
	mov	x1, x0
	fmov	s0, #2.00000000
	mov	w0, #30
	bl	_UI_ClampCvar
	str	x0, [x19, #24]
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_Controls_GetCvarValue
	mov	x1, x0
	movi	d0, #0000000000000000
	mov	w0, #1
	bl	_UI_ClampCvar
	str	x0, [x19, #16]
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_Controls_GetCvarValue
	mov	x1, x0
	mov	w8, #52429
	movk	w8, #15692, lsl #16
	fmov	s0, w8
	mov	w0, #0
	bl	_UI_ClampCvar
	str	x0, [x19, #8]
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_Controls_GetCvarValue
	mov	x1, x0
	movi	d0, #0000000000000000
	mov	w0, #1
	bl	_UI_ClampCvar
	str	x0, [x19]
	ldr	x8, [sp, #8]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_g_bindings,8,3                 ; @g_bindings
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m_pitch"

	.comm	_s_controls,64,3                ; @s_controls
l_.str.1:                               ; @.str.1
	.asciz	"m_filter"

l_.str.2:                               ; @.str.2
	.asciz	"cl_run"

l_.str.3:                               ; @.str.3
	.asciz	"cg_autoswitch"

l_.str.4:                               ; @.str.4
	.asciz	"sensitivity"

l_.str.5:                               ; @.str.5
	.asciz	"in_joystick"

l_.str.6:                               ; @.str.6
	.asciz	"joy_threshold"

l_.str.7:                               ; @.str.7
	.asciz	"cl_freelook"

	.no_dead_strip	_Controls_GetConfig
.subsections_via_symbols
