	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpga_gfx_alive
_fpga_gfx_alive:                        ## @fpga_gfx_alive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	leaq	-24(%rbp), %rbx
	leaq	-20(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_video_driver_get_size
	leaq	-32(%rbp), %rax
	movq	%rax, -64(%rbp)
	leaq	-28(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	%rbx, -48(%rbp)
	movq	%r14, -40(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_video_context_driver_check_window
	cmpl	$0, -24(%rbp)
	je	LBB0_3
## %bb.1:
	cmpl	$0, -20(%rbp)
	je	LBB0_3
## %bb.2:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_video_driver_set_size
LBB0_3:
	movl	$1, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fpga_gfx_alive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fpga_gfx_alive
_fpga_gfx_alive:                        ; @fpga_gfx_alive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	stp	xzr, xzr, [sp]
	add	x19, sp, #12
	add	x20, sp, #8
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_video_driver_get_size
	add	x8, sp, #4
	mov	x9, sp
	stp	x8, x9, [sp, #16]
	stp	x19, x20, [sp, #32]
	add	x0, sp, #16
	bl	_video_context_driver_check_window
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_3
; %bb.2:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_video_driver_set_size
LBB0_3:
	mov	w0, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fpga_gfx_alive
.subsections_via_symbols
