	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_fg                          ## -- Begin function ex_fg
	.p2align	4, 0x90
_ex_fg:                                 ## @ex_fg
	.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, %rbx
	movq	%rdi, %r14
	movq	_E_NEWSCREEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_ISSET
	movl	%eax, %r15d
	cmpq	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	jmp	LBB0_3
LBB0_1:
	xorl	%edx, %edx
LBB0_3:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	movl	%r15d, %ecx
	callq	_vs_fg
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	movq	-32(%rbp), %rax
	movq	%rax, (%r14)
	movq	_SC_SSWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_SET
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_NEWSCREEN,4,2                ## @E_NEWSCREEN
	.comm	_SC_SSWITCH,4,2                 ## @SC_SSWITCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_fg                          ; -- Begin function ex_fg
	.p2align	2
_ex_fg:                                 ; @ex_fg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _E_NEWSCREEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_NEWSCREEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_F_ISSET
	mov	x20, x0
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x2, [x8]
	b	LBB0_3
LBB0_2:
	mov	x2, #0
LBB0_3:
	add	x1, sp, #8
	mov	x0, x19
	mov	x3, x20
	bl	_vs_fg
	cbz	x0, LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_8
LBB0_5:
	cbz	w20, LBB0_7
; %bb.6:
	ldr	x8, [sp, #8]
	str	x8, [x19]
Lloh3:
	adrp	x8, _SC_SSWITCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SC_SSWITCH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_E_NEWSCREEN,4,2                ; @E_NEWSCREEN
	.comm	_SC_SSWITCH,4,2                 ; @SC_SSWITCH
.subsections_via_symbols
