	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_Handicap_HandleKey
_UI_Handicap_HandleKey:                 ## @UI_Handicap_HandleKey
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %edi
	callq	_UI_SelectForKey
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_trap_Cvar_VariableValue
	movl	$5, %r12d
	movl	$100, %ebx
	movl	$5, %edi
	movl	$100, %esi
	movl	%eax, %edx
	callq	_Com_Clamp
	leal	(%r15,%r15,4), %ecx
	addl	%eax, %ecx
	cmpl	$5, %ecx
	cmovgel	%ecx, %ebx
	cmpl	$101, %ecx
	cmovgel	%r12d, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_trap_Cvar_SetValue
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"handicap"

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
	.no_dead_strip	_UI_Handicap_HandleKey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_Handicap_HandleKey
_UI_Handicap_HandleKey:                 ; @UI_Handicap_HandleKey
	.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
	mov	x0, x2
	bl	_UI_SelectForKey
	cbz	w0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w21, #5
	mov	w22, #100
	mov	w0, #5
	mov	w1, #100
	bl	_Com_Clamp
	add	w8, w19, w19, lsl #2
	add	w8, w0, w8
	cmp	w8, #5
	csel	w9, w22, w8, lt
	cmp	w8, #100
	csel	w1, w21, w9, gt
	mov	x0, x20
	bl	_trap_Cvar_SetValue
Lloh2:
	adrp	x8, _qtrue@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, _qfalse@GOTPAGE
Lloh5:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"handicap"

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
	.no_dead_strip	_UI_Handicap_HandleKey
.subsections_via_symbols
