	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vulkan_init_framebuffers
_vulkan_init_framebuffers:              ## @vulkan_init_framebuffers
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_vulkan_init_render_pass
	movl	(%r13), %r8d
	testl	%r8d, %r8d
	je	LBB0_6
## %bb.1:
	leaq	-112(%rbp), %r15
	movl	$16, %ebx
	xorl	%r14d, %r14d
	xorps	%xmm0, %xmm0
	movq	_VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO@GOTPCREL(%rip), %rax
	movq	_VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO@GOTPCREL(%rip), %r9
	movq	_VK_NULL_HANDLE@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_VK_IMAGE_VIEW_TYPE_2D@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movl	20(%rdx), %eax
	movl	%eax, -96(%rbp)
	movq	%rsi, -152(%rbp)
	movups	%xmm0, (%r15)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -128(%rbp)
	movq	_VK_IMAGE_ASPECT_COLOR_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	_VK_COMPONENT_SWIZZLE_R@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -132(%rbp)
	movq	_VK_COMPONENT_SWIZZLE_G@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)
	movq	_VK_COMPONENT_SWIZZLE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -140(%rbp)
	movq	_VK_COMPONENT_SWIZZLE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -144(%rbp)
	movl	8(%rdx), %edi
	addq	%rbx, %rcx
	leaq	-152(%rbp), %rsi
	xorl	%edx, %edx
	callq	_vkCreateImageView
	movl	24(%r13), %eax
	movl	%eax, -56(%rbp)
	movl	$1, -80(%rbp)
	movq	8(%r13), %rax
	leaq	(%rax,%rbx), %rcx
	movq	%rcx, -64(%rbp)
	movq	16(%r13), %rcx
	movl	16(%rcx), %edx
	movl	%edx, -68(%rbp)
	movl	12(%rcx), %edx
	movl	%edx, -72(%rbp)
	movl	$1, -76(%rbp)
	movl	8(%rcx), %edi
	leaq	(%rax,%rbx), %rcx
	addq	$-8, %rcx
	leaq	-80(%rbp), %rsi
	xorl	%edx, %edx
	callq	_vkCreateFramebuffer
	movq	_VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO@GOTPCREL(%rip), %r9
	movq	_VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO@GOTPCREL(%rip), %rax
	xorps	%xmm0, %xmm0
	movl	(%r13), %r8d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movl	%r8d, %ecx
	addq	$24, %rbx
	cmpq	%rcx, %r14
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, 16(%r15)
	movups	%xmm0, (%r15)
	movups	%xmm0, -16(%r15)
	movups	%xmm0, -32(%r15)
	movslq	(%rax), %rcx
	movq	%rcx, -152(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -64(%rbp)
	movl	(%r9), %ecx
	movl	%ecx, -80(%rbp)
	movq	8(%r13), %rcx
	movq	16(%r13), %rdx
	movq	(%rdx), %rdi
	movq	(%rdi,%r14,8), %rsi
	movq	%rsi, -16(%rcx,%rbx)
	movq	(%rdi,%r14,8), %rdi
	cmpq	(%r12), %rdi
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, (%rcx,%rbx)
	movq	(%r12), %rdx
	movq	%rdx, -8(%rcx,%rbx)
	jmp	LBB0_5
LBB0_6:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,4,2 ## @VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO
	.comm	_VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO,4,2 ## @VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO
	.comm	_VK_NULL_HANDLE,8,3             ## @VK_NULL_HANDLE
	.comm	_VK_IMAGE_VIEW_TYPE_2D,4,2      ## @VK_IMAGE_VIEW_TYPE_2D
	.comm	_VK_IMAGE_ASPECT_COLOR_BIT,4,2  ## @VK_IMAGE_ASPECT_COLOR_BIT
	.comm	_VK_COMPONENT_SWIZZLE_R,4,2     ## @VK_COMPONENT_SWIZZLE_R
	.comm	_VK_COMPONENT_SWIZZLE_G,4,2     ## @VK_COMPONENT_SWIZZLE_G
	.comm	_VK_COMPONENT_SWIZZLE_B,4,2     ## @VK_COMPONENT_SWIZZLE_B
	.comm	_VK_COMPONENT_SWIZZLE_A,4,2     ## @VK_COMPONENT_SWIZZLE_A
	.no_dead_strip	_vulkan_init_framebuffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vulkan_init_framebuffers
_vulkan_init_framebuffers:              ; @vulkan_init_framebuffers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	d9, d8, [sp, #112]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
	bl	_vulkan_init_render_pass
	ldr	w8, [x19]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x20, #0
	mov	x21, #0
	add	x9, sp, #40
	add	x22, x9, #40
	add	x23, x9, #8
Lloh0:
	adrp	x24, _VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO@GOTPAGEOFF]
Lloh2:
	adrp	x25, _VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO@GOTPAGE
Lloh3:
	ldr	x25, [x25, _VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO@GOTPAGEOFF]
Lloh4:
	adrp	x26, _VK_NULL_HANDLE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _VK_NULL_HANDLE@GOTPAGEOFF]
	movi.2d	v0, #0000000000000000
	movi.2s	v8, #1
Lloh6:
	adrp	x27, _VK_COMPONENT_SWIZZLE_B@GOTPAGE
Lloh7:
	ldr	x27, [x27, _VK_COMPONENT_SWIZZLE_B@GOTPAGEOFF]
Lloh8:
	adrp	x28, _VK_COMPONENT_SWIZZLE_A@GOTPAGE
Lloh9:
	ldr	x28, [x28, _VK_COMPONENT_SWIZZLE_A@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x8, _VK_IMAGE_VIEW_TYPE_2D@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VK_IMAGE_VIEW_TYPE_2D@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #100]
	ldr	w8, [x9, #20]
	str	x11, [sp, #40]
	stp	xzr, xzr, [x22]
	str	d8, [sp, #64]
Lloh13:
	adrp	x11, _VK_IMAGE_ASPECT_COLOR_BIT@GOTPAGE
Lloh14:
	ldr	x11, [x11, _VK_IMAGE_ASPECT_COLOR_BIT@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
	str	w8, [sp, #96]
	str	w11, [sp, #72]
Lloh16:
	adrp	x8, _VK_COMPONENT_SWIZZLE_R@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VK_COMPONENT_SWIZZLE_R@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x11, _VK_COMPONENT_SWIZZLE_G@GOTPAGE
Lloh20:
	ldr	x11, [x11, _VK_COMPONENT_SWIZZLE_G@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
	stp	w11, w8, [sp, #56]
	ldr	w8, [x27]
	ldr	w11, [x28]
	stp	w11, w8, [sp, #48]
	ldr	w0, [x9, #8]
	add	x8, x10, x20
	add	x3, x8, #16
	add	x1, sp, #40
	mov	x2, #0
	bl	_vkCreateImageView
	ldr	w8, [x19, #24]
	str	w8, [sp, #24]
	ldp	x8, x9, [x19, #8]
	add	x8, x8, x20
	add	x10, x8, #16
	str	x10, [sp, #16]
	ldur	d0, [x9, #12]
	stp	d8, d0, [sp]
	ldr	w0, [x9, #8]
	add	x3, x8, #8
	mov	x1, sp
	mov	x2, #0
	bl	_vkCreateFramebuffer
	movi.2d	v0, #0000000000000000
	ldr	w8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	add	x20, x20, #24
	cmp	x21, w8, uxtw
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x23, #32]
	stp	q0, q0, [x23]
	ldrsw	x9, [x24]
	str	x9, [sp, #40]
	stp	q0, q0, [sp]
	ldr	w9, [x25]
	str	w9, [sp]
	ldp	x10, x9, [x19, #8]
	ldr	x12, [x9]
	lsl	x13, x21, #3
	ldr	x11, [x12, x13]
	str	x11, [x10, x20]
	ldr	x12, [x12, x13]
	ldr	x13, [x26]
	cmp	x12, x13
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x10, x20
	str	x12, [x9, #16]
	ldr	x10, [x26]
	str	x10, [x9, #8]
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,4,2 ; @VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO
	.comm	_VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO,4,2 ; @VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO
	.comm	_VK_NULL_HANDLE,8,3             ; @VK_NULL_HANDLE
	.comm	_VK_IMAGE_VIEW_TYPE_2D,4,2      ; @VK_IMAGE_VIEW_TYPE_2D
	.comm	_VK_IMAGE_ASPECT_COLOR_BIT,4,2  ; @VK_IMAGE_ASPECT_COLOR_BIT
	.comm	_VK_COMPONENT_SWIZZLE_R,4,2     ; @VK_COMPONENT_SWIZZLE_R
	.comm	_VK_COMPONENT_SWIZZLE_G,4,2     ; @VK_COMPONENT_SWIZZLE_G
	.comm	_VK_COMPONENT_SWIZZLE_B,4,2     ; @VK_COMPONENT_SWIZZLE_B
	.comm	_VK_COMPONENT_SWIZZLE_A,4,2     ; @VK_COMPONENT_SWIZZLE_A
	.no_dead_strip	_vulkan_init_framebuffers
.subsections_via_symbols
