	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_con_enable_fullscreen          ## -- Begin function con_enable_fullscreen
	.p2align	4, 0x90
_con_enable_fullscreen:                 ## @con_enable_fullscreen
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_CT_WORKSPACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.12:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DLOG                           ## TAILCALL
LBB0_1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_CF_GLOBAL@GOTPCREL(%rip), %r12
	cmpl	%esi, (%r12)
	sete	%al
	movq	_CF_OUTPUT@GOTPCREL(%rip), %r13
	cmpl	%esi, (%r13)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	cmpl	%r14d, (%r12)
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdi
	cmoveq	%rax, %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_DLOG
	cmpl	%r14d, 12(%rbx)
	jne	LBB0_2
## %bb.13:
	movl	8(%rbx), %edx
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DLOG                           ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_con_get_workspace
	movq	%rax, %r15
	movq	_croot@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%r12), %esi
	callq	_con_get_fullscreen_con
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_con_get_fullscreen_con
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movq	%rax, %rdi
	callq	_con_disable_fullscreen
LBB0_5:
	movq	_focused@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_con_get_workspace
	movq	%rax, %r13
	movq	(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_CF_GLOBAL@GOTPCREL(%rip), %r12
	cmpl	%r14d, (%r12)
	jne	LBB0_8
## %bb.6:
	cmpq	%r15, %r13
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_workspace_show
LBB0_8:
	movq	%rbx, %rdi
	callq	_con_activate
	cmpl	%r14d, (%r12)
	je	LBB0_11
## %bb.9:
	cmpq	%r15, %r13
	je	LBB0_11
## %bb.10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_con_activate
LBB0_11:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_con_set_fullscreen_mode        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CT_WORKSPACE,8,3               ## @CT_WORKSPACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"You cannot make a workspace fullscreen.\n"

	.comm	_CF_GLOBAL,4,2                  ## @CF_GLOBAL
	.comm	_CF_OUTPUT,4,2                  ## @CF_OUTPUT
L_.str.1:                               ## @.str.1
	.asciz	"enabling global fullscreen for %p / %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"enabling fullscreen for %p / %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"fullscreen already enabled for %p / %s\n"

	.comm	_croot,8,3                      ## @croot
	.comm	_focused,8,3                    ## @focused
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_con_enable_fullscreen          ; -- Begin function con_enable_fullscreen
	.p2align	2
_con_enable_fullscreen:                 ; @con_enable_fullscreen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CT_WORKSPACE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CT_WORKSPACE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_DLOG
LBB0_2:
	mov	x20, x1
	mov	x19, x0
Lloh5:
	adrp	x24, _CF_GLOBAL@GOTPAGE
Lloh6:
	ldr	x24, [x24, _CF_GLOBAL@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w1
Lloh7:
	adrp	x22, _CF_OUTPUT@GOTPAGE
Lloh8:
	ldr	x22, [x22, _CF_OUTPUT@GOTPAGEOFF]
	ldr	w8, [x22]
	ccmp	w8, w1, #4, ne
	cset	w0, eq
	bl	_assert
Lloh9:
	adrp	x8, l_.str.2@PAGE
Lloh10:
	add	x8, x8, l_.str.2@PAGEOFF
	ldr	w9, [x24]
Lloh11:
	adrp	x10, l_.str.1@PAGE
Lloh12:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w9, w20
	csel	x0, x10, x8, eq
	ldr	w8, [x19, #8]
	stp	x19, x8, [sp]
	bl	_DLOG
	ldr	w8, [x19, #12]
	cmp	w8, w20
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x19, #8]
	stp	x19, x8, [sp]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DLOG
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	mov	x0, x19
	bl	_con_get_workspace
	mov	x21, x0
Lloh15:
	adrp	x8, _croot@GOTPAGE
Lloh16:
	ldr	x8, [x8, _croot@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
	ldr	w1, [x24]
	bl	_con_get_fullscreen_con
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_con_get_fullscreen_con
	cbz	x0, LBB0_7
LBB0_6:
	bl	_con_disable_fullscreen
LBB0_7:
Lloh18:
	adrp	x22, _focused@GOTPAGE
Lloh19:
	ldr	x22, [x22, _focused@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_con_get_workspace
	mov	x23, x0
	ldr	x22, [x22]
	ldr	w8, [x24]
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.8:
	cmp	x23, x21
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x21
	bl	_workspace_show
LBB0_10:
	mov	x0, x19
	bl	_con_activate
	ldr	w8, [x24]
	cmp	w8, w20
	b.eq	LBB0_13
; %bb.11:
	cmp	x23, x21
	b.eq	LBB0_13
; %bb.12:
	mov	x0, x22
	bl	_con_activate
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_con_set_fullscreen_mode
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_CT_WORKSPACE,8,3               ; @CT_WORKSPACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"You cannot make a workspace fullscreen.\n"

	.comm	_CF_GLOBAL,4,2                  ; @CF_GLOBAL
	.comm	_CF_OUTPUT,4,2                  ; @CF_OUTPUT
l_.str.1:                               ; @.str.1
	.asciz	"enabling global fullscreen for %p / %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"enabling fullscreen for %p / %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"fullscreen already enabled for %p / %s\n"

	.comm	_croot,8,3                      ; @croot
	.comm	_focused,8,3                    ; @focused
.subsections_via_symbols
