	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Controls_SetConfig
_Controls_SetConfig:                    ## @Controls_SetConfig
	.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
	movq	_g_bindings@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpl	$0, 12(%rbx)
	je	LBB0_6
## %bb.1:
	addq	$8, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 20(%rbx)
	leaq	16(%rbx), %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-8(%rbx), %edi
	cmpl	$-1, %edi
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %esi
	callq	_trap_Key_SetBinding
	movl	-4(%rbx), %edi
	cmpl	$-1, %edi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %esi
	callq	_trap_Key_SetBinding
	jmp	LBB0_5
LBB0_6:
	movq	_s_controls@GOTPCREL(%rip), %r15
	movq	32(%r15), %rbx
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_trap_Cvar_VariableValue
	movl	%eax, %edi
	callq	_fabs
	movl	%eax, %esi
	negl	%esi
	testq	%rbx, %rbx
	cmovel	%eax, %esi
	movq	%r14, %rdi
	callq	_trap_Cvar_SetValue
	movl	24(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_trap_Cvar_SetValue
	movl	20(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_trap_Cvar_SetValue
	movl	16(%r15), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_trap_Cvar_SetValue
	movl	12(%r15), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_trap_Cvar_SetValue
	movl	8(%r15), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_trap_Cvar_SetValue
	movl	4(%r15), %esi
	leaq	L_.str.6(%rip), %rdi
	callq	_trap_Cvar_SetValue
	movl	(%r15), %esi
	leaq	L_.str.7(%rip), %rdi
	callq	_trap_Cvar_SetValue
	movq	_EXEC_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_Cmd_ExecuteText           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_g_bindings,8,3                 ## @g_bindings
	.comm	_s_controls,40,3                ## @s_controls
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"m_pitch"

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"

	.comm	_EXEC_APPEND,4,2                ## @EXEC_APPEND
L_.str.8:                               ## @.str.8
	.asciz	"in_restart\n"

	.no_dead_strip	_Controls_SetConfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Controls_SetConfig
_Controls_SetConfig:                    ; @Controls_SetConfig
	.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
Lloh0:
	adrp	x8, _g_bindings@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_bindings@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_6
; %bb.1:
	add	x19, x8, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #20]
	add	x19, x19, #16
	cbz	w8, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x19, #-8]
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x19]
	bl	_trap_Key_SetBinding
	ldur	w0, [x19, #-4]
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x19]
	bl	_trap_Key_SetBinding
	b	LBB0_2
LBB0_6:
Lloh3:
	adrp	x20, _s_controls@GOTPAGE
Lloh4:
	ldr	x20, [x20, _s_controls@GOTPAGEOFF]
	ldr	x21, [x20, #32]
Lloh5:
	adrp	x19, l_.str@PAGE
Lloh6:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_trap_Cvar_VariableValue
	bl	_fabs
	cmp	x21, #0
	cneg	w1, w0, ne
	mov	x0, x19
	bl	_trap_Cvar_SetValue
	ldr	w1, [x20, #24]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_trap_Cvar_SetValue
	ldr	w1, [x20, #20]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_trap_Cvar_SetValue
	ldr	w1, [x20, #16]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_trap_Cvar_SetValue
	ldr	w1, [x20, #12]
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_trap_Cvar_SetValue
	ldr	w1, [x20, #8]
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_trap_Cvar_SetValue
	ldr	w1, [x20, #4]
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_trap_Cvar_SetValue
	ldr	w1, [x20]
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_trap_Cvar_SetValue
Lloh21:
	adrp	x8, _EXEC_APPEND@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EXEC_APPEND@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	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
	b	_trap_Cmd_ExecuteText
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_g_bindings,8,3                 ; @g_bindings
	.comm	_s_controls,40,3                ; @s_controls
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"m_pitch"

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"

	.comm	_EXEC_APPEND,4,2                ; @EXEC_APPEND
l_.str.8:                               ; @.str.8
	.asciz	"in_restart\n"

	.no_dead_strip	_Controls_SetConfig
.subsections_via_symbols
