	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_GetUserCmd                  ## -- Begin function CL_GetUserCmd
	.p2align	4, 0x90
_CL_GetUserCmd:                         ## @CL_GetUserCmd
	.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	%rsi, %r14
	movl	%edi, %ebx
	movq	_cl@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	cmpl	%edi, %ecx
	jge	LBB0_2
## %bb.1:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_Com_Error
	movl	(%r15), %ecx
LBB0_2:
	movq	_CMD_BACKUP@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	cmpl	%ebx, %ecx
	jge	LBB0_3
## %bb.4:
	movq	8(%r15), %rax
	movq	_CMD_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%r14)
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cl,16,3                        ## @cl
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CL_GetUserCmd: %i >= %i"

	.comm	_CMD_BACKUP,4,2                 ## @CMD_BACKUP
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_CMD_MASK,4,2                   ## @CMD_MASK
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_GetUserCmd                  ; -- Begin function CL_GetUserCmd
	.p2align	2
_CL_GetUserCmd:                         ; @CL_GetUserCmd
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _cl@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cl@GOTPAGEOFF]
	ldr	w3, [x21]
	cmp	w3, w0
	b.ge	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_Com_Error
	ldr	w3, [x21]
LBB0_2:
Lloh7:
	adrp	x8, _CMD_BACKUP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CMD_BACKUP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	sub	w8, w3, w8
	cmp	w8, w20
	b.ge	LBB0_4
; %bb.3:
	ldr	x8, [x21, #8]
Lloh10:
	adrp	x9, _CMD_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CMD_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w9, w9, w20
	ldr	w8, [x8, w9, sxtw #2]
	str	w8, [x19]
Lloh13:
	adrp	x8, _qtrue@GOTPAGE
Lloh14:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _qfalse@GOTPAGE
Lloh16:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_5:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_cl,16,3                        ; @cl
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CL_GetUserCmd: %i >= %i"

	.comm	_CMD_BACKUP,4,2                 ; @CMD_BACKUP
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_CMD_MASK,4,2                   ; @CMD_MASK
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
