	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cvar_Toggle_f                  ## -- Begin function Cvar_Toggle_f
	.p2align	4, 0x90
_Cvar_Toggle_f:                         ## @Cvar_Toggle_f
	.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
	xorl	%eax, %eax
	callq	_Cmd_Argc
	cmpl	$1, %eax
	jg	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movl	%eax, %r15d
	cmpl	$3, %eax
	je	LBB0_6
## %bb.4:
	movl	$1, %edi
	cmpl	$2, %r15d
	jne	LBB0_7
## %bb.5:
	callq	_Cmd_Argv
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_Cmd_Argv
	movl	%eax, %edi
	callq	_Cvar_VariableValue
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	leaq	L_.str.1(%rip), %rdi
	callq	_va
	jmp	LBB0_12
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_7:
	callq	_Cmd_Argv
	movl	%eax, %edi
	callq	_Cvar_VariableString
	movq	%rax, %r14
	negl	%r15d
	movl	$2, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%rdi), %eax
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leal	1(%rdi), %ebx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Cmd_Argv
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_strcmp
	movl	%ebx, %edi
	testq	%rax, %rax
	jne	LBB0_8
## %bb.10:
	movl	$1, %edi
	callq	_Cmd_Argv
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_Cmd_Argv
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r14d, %edi
	jmp	LBB0_13
LBB0_11:
	movl	$1, %edi
	callq	_Cmd_Argv
	movl	%eax, %ebx
	movl	$2, %edi
	callq	_Cmd_Argv
LBB0_12:
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
LBB0_13:
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Cvar_Set2                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: toggle <variable> [value1, value2, ...]\n"

L_.str.1:                               ## @.str.1
	.asciz	"%d"

	.comm	_qfalse,4,2                     ## @qfalse
L_.str.2:                               ## @.str.2
	.asciz	"toggle: nothing to toggle to\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cvar_Toggle_f                  ; -- Begin function Cvar_Toggle_f
	.p2align	2
_Cvar_Toggle_f:                         ; @Cvar_Toggle_f
	.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
	bl	_Cmd_Argc
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	mov	x19, x0
	cmp	w0, #3
	b.eq	LBB0_5
; %bb.3:
	mov	w0, #1
	cmp	w19, #2
	b.ne	LBB0_7
; %bb.4:
	bl	_Cmd_Argv
	mov	x19, x0
	mov	w0, #1
	bl	_Cmd_Argv
	bl	_Cvar_VariableValue
	cmp	w0, #0
	cset	w1, eq
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_va
	b	LBB0_13
LBB0_5:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	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	_Com_Printf
LBB0_7:
	bl	_Cmd_Argv
	bl	_Cvar_VariableString
	mov	x20, x0
	mov	w21, #3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, w21
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	w0, w21, #1
	bl	_Cmd_Argv
	mov	x1, x0
	mov	x0, x20
	bl	_strcmp
	add	w21, w21, #1
	cbnz	x0, LBB0_8
; %bb.10:
	mov	w0, #1
	bl	_Cmd_Argv
	mov	x19, x0
	sub	w0, w21, #1
	b	LBB0_12
LBB0_11:
	mov	w0, #1
	bl	_Cmd_Argv
	mov	x19, x0
	mov	w0, #2
LBB0_12:
	bl	_Cmd_Argv
LBB0_13:
	mov	x1, x0
Lloh6:
	adrp	x8, _qfalse@GOTPAGE
Lloh7:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	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	_Cvar_Set2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: toggle <variable> [value1, value2, ...]\n"

l_.str.1:                               ; @.str.1
	.asciz	"%d"

	.comm	_qfalse,4,2                     ; @qfalse
l_.str.2:                               ; @.str.2
	.asciz	"toggle: nothing to toggle to\n"

.subsections_via_symbols
