	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Con_ToggleConsole_f            ## -- Begin function Con_ToggleConsole_f
	.p2align	4, 0x90
_Con_ToggleConsole_f:                   ## @Con_ToggleConsole_f
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_clc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CA_DISCONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_CONSOLE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.5:
	popq	%rbp
	retq
LBB0_2:
	movq	_con_autoclear@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_g_consoleField@GOTPCREL(%rip), %rdi
	callq	_Field_Clear
LBB0_4:
	movq	_g_console_field_width@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_g_consoleField@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_Con_ClearNotify
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_CONSOLE@GOTPCREL(%rip), %rcx
	xorl	(%rcx), %eax
	movl	%eax, %edi
	popq	%rbp
	jmp	_Key_SetCatcher                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,8,3                        ## @clc
	.comm	_CA_DISCONNECTED,8,3            ## @CA_DISCONNECTED
	.comm	_KEYCATCH_CONSOLE,4,2           ## @KEYCATCH_CONSOLE
	.comm	_con_autoclear,8,3              ## @con_autoclear
	.comm	_g_consoleField,4,2             ## @g_consoleField
	.comm	_g_console_field_width,4,2      ## @g_console_field_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Con_ToggleConsole_f            ; -- Begin function Con_ToggleConsole_f
	.p2align	2
_Con_ToggleConsole_f:                   ; @Con_ToggleConsole_f
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _clc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CA_DISCONNECTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CA_DISCONNECTED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x19, _KEYCATCH_CONSOLE@GOTPAGE
Lloh7:
	ldr	x19, [x19, _KEYCATCH_CONSOLE@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	bl	_Key_GetCatcher
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh8:
	adrp	x8, _con_autoclear@GOTPAGE
Lloh9:
	ldr	x8, [x8, _con_autoclear@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh11:
	adrp	x20, _g_consoleField@GOTPAGE
Lloh12:
	ldr	x20, [x20, _g_consoleField@GOTPAGEOFF]
	cbz	x8, LBB0_5
; %bb.4:
Lloh13:
	adrp	x0, _g_consoleField@GOTPAGE
Lloh14:
	ldr	x0, [x0, _g_consoleField@GOTPAGEOFF]
	bl	_Field_Clear
LBB0_5:
Lloh15:
	adrp	x8, _g_console_field_width@GOTPAGE
Lloh16:
	ldr	x8, [x8, _g_console_field_width@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20]
	bl	_Con_ClearNotify
	bl	_Key_GetCatcher
	ldr	w8, [x19]
	eor	w0, w8, w0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Key_SetCatcher
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,8,3                        ; @clc
	.comm	_CA_DISCONNECTED,8,3            ; @CA_DISCONNECTED
	.comm	_KEYCATCH_CONSOLE,4,2           ; @KEYCATCH_CONSOLE
	.comm	_con_autoclear,8,3              ; @con_autoclear
	.comm	_g_consoleField,4,2             ; @g_consoleField
	.comm	_g_console_field_width,4,2      ; @g_console_field_width
.subsections_via_symbols
