	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vulkan_get_context
_vulkan_get_context:                    ## @vulkan_get_context
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	$0, -16(%rbp)
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	_GFX_CTX_VULKAN_API@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%rax), %esi
	leaq	-16(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_video_context_driver_init_first
	movq	-16(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	%rcx, (%rbx)
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFX_CTX_VULKAN_API,4,2         ## @GFX_CTX_VULKAN_API
	.no_dead_strip	_vulkan_get_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vulkan_get_context
_vulkan_get_context:                    ; @vulkan_get_context
	.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]
	bl	_config_get_ptr
Lloh0:
	adrp	x8, _GFX_CTX_VULKAN_API@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFX_CTX_VULKAN_API@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	w1, [x0]
	add	x6, sp, #8
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	bl	_video_context_driver_init_first
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.1:
	str	x8, [x19]
LBB0_2:
	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	_GFX_CTX_VULKAN_API,4,2         ; @GFX_CTX_VULKAN_API
	.no_dead_strip	_vulkan_get_context
.subsections_via_symbols
