	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vulkan_alive
_vulkan_alive:                          ## @vulkan_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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	movq	_RARCH_CTL_IS_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_rarch_ctl
	movl	(%rbx), %ecx
	movl	%ecx, -24(%rbp)
	movl	4(%rbx), %ecx
	movl	%ecx, -20(%rbp)
	movq	24(%rbx), %r10
	movl	16(%rbx), %edi
	leaq	-32(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	leaq	-20(%rbp), %r8
	movl	%eax, %r9d
	callq	*(%r10)
	cmpl	$0, -32(%rbp)
	je	LBB0_2
## %bb.1:
	movl	$1, 8(%rbx)
	jmp	LBB0_4
LBB0_2:
	cmpl	$0, -28(%rbp)
	je	LBB0_4
## %bb.3:
	movl	$1, 12(%rbx)
LBB0_4:
	movl	8(%rbx), %r14d
	cmpl	$0, -24(%rbp)
	je	LBB0_7
## %bb.5:
	cmpl	$0, -20(%rbp)
	je	LBB0_7
## %bb.6:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_video_driver_set_size
	movl	-24(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-20(%rbp), %eax
	movl	%eax, 4(%rbx)
LBB0_7:
	xorl	%eax, %eax
	testl	%r14d, %r14d
	sete	%al
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_CTL_IS_SHUTDOWN,4,2      ## @RARCH_CTL_IS_SHUTDOWN
	.no_dead_strip	_vulkan_alive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vulkan_alive
_vulkan_alive:                          ; @vulkan_alive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _RARCH_CTL_IS_SHUTDOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RARCH_CTL_IS_SHUTDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_rarch_ctl
	mov	x5, x0
	ldp	w8, w9, [x19]
	stp	w9, w8, [sp]
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	w0, [x19, #16]
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, sp
	blr	x8
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_4
LBB0_2:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_4:
	ldr	w20, [x19, #8]
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_7
; %bb.5:
	ldr	w8, [sp]
	cbz	w8, LBB0_7
; %bb.6:
	add	x0, sp, #4
	mov	x1, sp
	bl	_video_driver_set_size
	ldp	w9, w8, [sp]
	stp	w8, w9, [x19]
LBB0_7:
	cmp	w20, #0
	cset	w0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_CTL_IS_SHUTDOWN,4,2      ; @RARCH_CTL_IS_SHUTDOWN
	.no_dead_strip	_vulkan_alive
.subsections_via_symbols
