	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Key_SetBinding                 ## -- Begin function Key_SetBinding
	.p2align	4, 0x90
_Key_SetBinding:                        ## @Key_SetBinding
	.cfi_startproc
## %bb.0:
	cmpl	$-1, %edi
	je	LBB0_4
## %bb.1:
	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	%rsi, %r15
	movq	_keys@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%edi, %rbx
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_Z_Free
LBB0_3:
	movq	%r15, %rdi
	callq	_CopyString
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	_CVAR_ARCHIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_cvar_modifiedFlags@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_4:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_keys,8,3                       ## @keys
	.comm	_CVAR_ARCHIVE,4,2               ## @CVAR_ARCHIVE
	.comm	_cvar_modifiedFlags,4,2         ## @cvar_modifiedFlags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Key_SetBinding                 ; -- Begin function Key_SetBinding
	.p2align	2
_Key_SetBinding:                        ; @Key_SetBinding
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	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
	mov	x19, x1
Lloh0:
	adrp	x20, _keys@GOTPAGE
Lloh1:
	ldr	x20, [x20, _keys@GOTPAGEOFF]
	ldr	x8, [x20]
	sxtw	x21, w0
	ldr	x0, [x8, w0, sxtw #3]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_Z_Free
LBB0_3:
	mov	x0, x19
	bl	_CopyString
	ldr	x8, [x20]
	str	x0, [x8, x21, lsl #3]
Lloh2:
	adrp	x8, _CVAR_ARCHIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CVAR_ARCHIVE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _cvar_modifiedFlags@GOTPAGE
Lloh6:
	ldr	x9, [x9, _cvar_modifiedFlags@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	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
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_keys,8,3                       ; @keys
	.comm	_CVAR_ARCHIVE,4,2               ; @CVAR_ARCHIVE
	.comm	_cvar_modifiedFlags,4,2         ; @cvar_modifiedFlags
.subsections_via_symbols
