	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Controls_GetConfig             ## -- Begin function Controls_GetConfig
	.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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_g_bindCount@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	movq	_g_bindings@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rax,%rbx), %edi
	movq	%r12, %rsi
	callq	_Controls_GetKeyAssignment
	movl	-56(%rbp), %ecx
	movq	(%r15), %rax
	movl	%ecx, (%rax,%rbx)
	movl	-52(%rbp), %ecx
	movl	%ecx, 4(%rax,%rbx)
	incq	%r13
	movslq	(%r14), %rcx
	addq	$12, %rbx
	cmpq	%rcx, %r13
	jl	LBB0_2
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_g_bindCount,4,2                ## @g_bindCount
	.comm	_g_bindings,8,3                 ## @g_bindings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Controls_GetConfig             ; -- Begin function Controls_GetConfig
	.p2align	2
_Controls_GetConfig:                    ; @Controls_GetConfig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x19, _g_bindCount@GOTPAGE
Lloh4:
	ldr	x19, [x19, _g_bindCount@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x21, #0
Lloh5:
	adrp	x22, _g_bindings@GOTPAGE
Lloh6:
	ldr	x22, [x22, _g_bindings@GOTPAGEOFF]
	ldr	x8, [x22]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x20
	ldr	w0, [x8, #8]
	mov	x1, sp
	bl	_Controls_GetKeyAssignment
	ldr	w9, [sp]
	ldr	x8, [x22]
	add	x10, x8, x20
	str	w9, [x10]
	ldr	w9, [sp, #4]
	str	w9, [x10, #4]
	add	x21, x21, #1
	ldrsw	x9, [x19]
	add	x20, x20, #12
	cmp	x21, x9
	b.lt	LBB0_2
LBB0_3:
	ldr	x8, [sp, #8]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_g_bindCount,4,2                ; @g_bindCount
	.comm	_g_bindings,8,3                 ; @g_bindings
.subsections_via_symbols
