	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vulkan_init_static_resources
_vulkan_init_static_resources:          ## @vulkan_init_static_resources
	.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	$104, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	$0, -96(%rbp)
	movq	_VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	_VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rax), %edi
	leaq	16(%rbx), %rcx
	leaq	-88(%rbp), %rsi
	xorl	%edx, %edx
	callq	_vkCreatePipelineCache
	movq	8(%rbx), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -104(%rbp)
	movl	(%rax), %edi
	leaq	4(%rbx), %rcx
	leaq	-104(%rbp), %rsi
	xorl	%edx, %edx
	callq	_vkCreateCommandPool
	pcmpeqd	%xmm0, %xmm0
	movdqa	%xmm0, -80(%rbp)
	movdqa	%xmm0, -64(%rbp)
	movdqa	%xmm0, -48(%rbp)
	movdqa	%xmm0, -32(%rbp)
	movq	_VK_FORMAT_B8G8R8A8_UNORM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_VULKAN_TEXTURE_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-80(%rbp), %r9
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	movl	$4, %ecx
	pushq	%rax
	pushq	$0
	callq	_vulkan_create_texture
	addq	$16, %rsp
	movl	%eax, (%rbx)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$104, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO,4,2 ## @VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO
	.comm	_VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO,4,2 ## @VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO
	.comm	_VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT,4,2 ## @VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT
	.comm	_VK_FORMAT_B8G8R8A8_UNORM,4,2   ## @VK_FORMAT_B8G8R8A8_UNORM
	.comm	_VULKAN_TEXTURE_STATIC,4,2      ## @VULKAN_TEXTURE_STATIC
	.no_dead_strip	_vulkan_init_static_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vulkan_init_static_resources
_vulkan_init_static_resources:          ; @vulkan_init_static_resources
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh6:
	adrp	x8, _VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #20]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w0, [x8]
	add	x3, x19, #16
	add	x1, sp, #8
	mov	x2, #0
	bl	_vkCreatePipelineCache
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #4]
	str	w9, [sp, #16]
	ldr	w0, [x8]
	add	x3, x19, #4
	add	x1, sp, #16
	mov	x2, #0
	bl	_vkCreateCommandPool
	movi.2d	v0, #0xffffffffffffffff
	stp	q0, q0, [sp, #32]
	stp	q0, q0, [sp, #64]
Lloh9:
	adrp	x8, _VK_FORMAT_B8G8R8A8_UNORM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VK_FORMAT_B8G8R8A8_UNORM@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x8, _VULKAN_TEXTURE_STATIC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VULKAN_TEXTURE_STATIC@GOTPAGEOFF]
Lloh14:
	ldr	w7, [x8]
	add	x5, sp, #32
	mov	x0, x19
	mov	x1, #0
	mov	w2, #4
	mov	w3, #4
	mov	x6, #0
	bl	_vulkan_create_texture
	str	w0, [x19]
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO,4,2 ; @VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO
	.comm	_VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO,4,2 ; @VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO
	.comm	_VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT,4,2 ; @VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT
	.comm	_VK_FORMAT_B8G8R8A8_UNORM,4,2   ; @VK_FORMAT_B8G8R8A8_UNORM
	.comm	_VULKAN_TEXTURE_STATIC,4,2      ; @VULKAN_TEXTURE_STATIC
	.no_dead_strip	_vulkan_init_static_resources
.subsections_via_symbols
