	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function vulkan_inject_black_frame
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_vulkan_inject_black_frame:             ## @vulkan_inject_black_frame
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, -44(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movups	L___const.vulkan_inject_black_frame.clear_color(%rip), %xmm0
	movaps	%xmm0, -144(%rbp)
	movq	_VK_IMAGE_ASPECT_COLOR_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,0,1]
	movups	%xmm0, -116(%rbp)
	movq	(%rdi), %rax
	movq	24(%rdi), %r13
	movl	(%rax), %r15d
	leaq	(%r13,%r15,8), %rax
	movq	%rax, 16(%rdi)
	movl	4(%r13,%r15,8), %edi
	leaq	8(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, 8(%rbx)
	movq	_VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	xorl	%esi, %esi
	callq	_vkResetCommandBuffer
	movl	8(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_vkBeginCommandBuffer
	movl	8(%rbx), %esi
	movl	(%r13,%r15,8), %edx
	movq	_VK_IMAGE_LAYOUT_UNDEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	movq	_VK_ACCESS_TRANSFER_WRITE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r11d
	movq	_VK_PIPELINE_STAGE_TRANSFER_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_vulkan_image_layout_transition
	addq	$32, %rsp
	movl	8(%rbx), %edi
	movl	(%r13,%r15,8), %esi
	movl	(%r12), %edx
	leaq	-144(%rbp), %rcx
	leaq	-120(%rbp), %r9
	movl	$1, %r8d
	callq	_vkCmdClearColorImage
	movl	8(%rbx), %esi
	movl	(%r13,%r15,8), %edx
	movl	(%r12), %ecx
	movq	_VK_IMAGE_LAYOUT_PRESENT_SRC_KHR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_VK_ACCESS_TRANSFER_WRITE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_VK_ACCESS_MEMORY_READ_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_VK_PIPELINE_STAGE_TRANSFER_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	subq	$8, %rsp
	movq	%rbx, %rdi
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_vulkan_image_layout_transition
	addq	$32, %rsp
	movl	8(%rbx), %edi
	callq	_vkEndCommandBuffer
	movl	$1, -96(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -80(%rbp)
	movq	(%rbx), %rax
	movq	8(%rax), %rcx
	movq	(%rcx,%r15,8), %rdx
	movq	_VK_NULL_HANDLE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_2
## %bb.1:
	leaq	(%rcx,%r15,8), %rcx
	movl	$1, -92(%rbp)
	movq	%rcx, -88(%rbp)
LBB0_2:
	movl	40(%rax), %edi
	movq	32(%rax), %rax
	movl	(%rax,%r15,4), %ecx
	leaq	-96(%rbp), %rdx
	movl	$1, %esi
	callq	_vkQueueSubmit
	movq	(%rbx), %rax
	movq	16(%rax), %rax
	movl	$1, (%rax,%r15,4)
	movl	(%r14), %edi
	movq	%r14, %rsi
	callq	*8(%r14)
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO,4,2 ## @VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO
	.comm	_VK_STRUCTURE_TYPE_SUBMIT_INFO,4,2 ## @VK_STRUCTURE_TYPE_SUBMIT_INFO
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @__const.vulkan_inject_black_frame.clear_color
L___const.vulkan_inject_black_frame.clear_color:
	.long	0x00000000                      ## float 0
	.long	0x00000000                      ## float 0
	.long	0x00000000                      ## float 0
	.long	0x3f800000                      ## float 1

	.comm	_VK_IMAGE_ASPECT_COLOR_BIT,4,2  ## @VK_IMAGE_ASPECT_COLOR_BIT
	.comm	_VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT,4,2 ## @VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT
	.comm	_VK_IMAGE_LAYOUT_UNDEFINED,4,2  ## @VK_IMAGE_LAYOUT_UNDEFINED
	.comm	_VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,4,2 ## @VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL
	.comm	_VK_ACCESS_TRANSFER_WRITE_BIT,4,2 ## @VK_ACCESS_TRANSFER_WRITE_BIT
	.comm	_VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,4,2 ## @VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT
	.comm	_VK_PIPELINE_STAGE_TRANSFER_BIT,4,2 ## @VK_PIPELINE_STAGE_TRANSFER_BIT
	.comm	_VK_IMAGE_LAYOUT_PRESENT_SRC_KHR,4,2 ## @VK_IMAGE_LAYOUT_PRESENT_SRC_KHR
	.comm	_VK_ACCESS_MEMORY_READ_BIT,4,2  ## @VK_ACCESS_MEMORY_READ_BIT
	.comm	_VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,4,2 ## @VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT
	.comm	_VK_NULL_HANDLE,8,3             ## @VK_NULL_HANDLE
	.no_dead_strip	_vulkan_inject_black_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function vulkan_inject_black_frame
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_vulkan_inject_black_frame:             ; @vulkan_inject_black_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #92]
	movi.2d	v0, #0000000000000000
	adrp	x8, l___const.vulkan_inject_black_frame.clear_color@PAGE
	add	x8, x8, l___const.vulkan_inject_black_frame.clear_color@PAGEOFF
	stp	q0, q0, [sp, #48]
	ldr	q0, [x8]
	str	q0, [sp, #32]
Lloh0:
	adrp	x8, _VK_IMAGE_ASPECT_COLOR_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VK_IMAGE_ASPECT_COLOR_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [sp, #12]
	ldr	x8, [x0]
	ldr	w21, [x8]
	ldr	x8, [x0, #24]
	lsl	x22, x21, #3
	add	x25, x8, x22
	str	x25, [x0, #16]
	ldr	w0, [x25, #4]
	mov	x23, x20
	str	w0, [x23, #8]!
Lloh5:
	adrp	x8, _VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #88]
	mov	w1, #0
	bl	_vkResetCommandBuffer
	ldr	w0, [x23]
	add	x1, sp, #88
	bl	_vkBeginCommandBuffer
	ldr	w1, [x23]
	ldr	w2, [x25]
Lloh8:
	adrp	x8, _VK_IMAGE_LAYOUT_UNDEFINED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VK_IMAGE_LAYOUT_UNDEFINED@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x26, _VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL@GOTPAGE
Lloh12:
	ldr	x26, [x26, _VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL@GOTPAGEOFF]
	ldr	w4, [x26]
Lloh13:
	adrp	x27, _VK_ACCESS_TRANSFER_WRITE_BIT@GOTPAGE
Lloh14:
	ldr	x27, [x27, _VK_ACCESS_TRANSFER_WRITE_BIT@GOTPAGEOFF]
	ldr	w6, [x27]
Lloh15:
	adrp	x8, _VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT@GOTPAGEOFF]
Lloh17:
	ldr	w7, [x8]
Lloh18:
	adrp	x28, _VK_PIPELINE_STAGE_TRANSFER_BIT@GOTPAGE
Lloh19:
	ldr	x28, [x28, _VK_PIPELINE_STAGE_TRANSFER_BIT@GOTPAGEOFF]
	ldr	w8, [x28]
	str	w8, [sp]
	mov	x0, x20
	mov	w5, #0
	bl	_vulkan_image_layout_transition
	ldr	w0, [x23]
	ldr	w1, [x25]
	ldr	w2, [x26]
	mov	w24, #1
	add	x3, sp, #32
	add	x5, sp, #8
	mov	w4, #1
	bl	_vkCmdClearColorImage
	ldr	w1, [x23]
	ldr	w2, [x25]
	ldr	w3, [x26]
Lloh20:
	adrp	x8, _VK_IMAGE_LAYOUT_PRESENT_SRC_KHR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VK_IMAGE_LAYOUT_PRESENT_SRC_KHR@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
Lloh23:
	adrp	x8, _VK_ACCESS_MEMORY_READ_BIT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VK_ACCESS_MEMORY_READ_BIT@GOTPAGEOFF]
	ldr	w5, [x27]
Lloh25:
	ldr	w6, [x8]
	ldr	w7, [x28]
Lloh26:
	adrp	x8, _VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x20
	bl	_vulkan_image_layout_transition
	ldr	w0, [x23]
	bl	_vkEndCommandBuffer
	str	w24, [sp, #48]
	str	x23, [sp, #64]
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	add	x9, x9, x22
	ldr	x10, [x9]
Lloh29:
	adrp	x11, _VK_NULL_HANDLE@GOTPAGE
Lloh30:
	ldr	x11, [x11, _VK_NULL_HANDLE@GOTPAGEOFF]
Lloh31:
	ldr	x11, [x11]
	cmp	x10, x11
	b.eq	LBB0_2
; %bb.1:
	str	w24, [sp, #52]
	str	x9, [sp, #56]
LBB0_2:
	ldr	w0, [x8, #40]
	ldr	x8, [x8, #32]
	lsl	x21, x21, #2
	ldr	w3, [x8, x21]
	add	x2, sp, #48
	mov	w1, #1
	bl	_vkQueueSubmit
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	str	w24, [x8, x21]
	ldr	x8, [x19, #8]
	ldr	w0, [x19]
	mov	x1, x19
	blr	x8
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO,4,2 ; @VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO
	.comm	_VK_STRUCTURE_TYPE_SUBMIT_INFO,4,2 ; @VK_STRUCTURE_TYPE_SUBMIT_INFO
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.vulkan_inject_black_frame.clear_color
l___const.vulkan_inject_black_frame.clear_color:
	.long	0x00000000                      ; float 0
	.long	0x00000000                      ; float 0
	.long	0x00000000                      ; float 0
	.long	0x3f800000                      ; float 1

	.comm	_VK_IMAGE_ASPECT_COLOR_BIT,4,2  ; @VK_IMAGE_ASPECT_COLOR_BIT
	.comm	_VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT,4,2 ; @VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT
	.comm	_VK_IMAGE_LAYOUT_UNDEFINED,4,2  ; @VK_IMAGE_LAYOUT_UNDEFINED
	.comm	_VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,4,2 ; @VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL
	.comm	_VK_ACCESS_TRANSFER_WRITE_BIT,4,2 ; @VK_ACCESS_TRANSFER_WRITE_BIT
	.comm	_VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,4,2 ; @VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT
	.comm	_VK_PIPELINE_STAGE_TRANSFER_BIT,4,2 ; @VK_PIPELINE_STAGE_TRANSFER_BIT
	.comm	_VK_IMAGE_LAYOUT_PRESENT_SRC_KHR,4,2 ; @VK_IMAGE_LAYOUT_PRESENT_SRC_KHR
	.comm	_VK_ACCESS_MEMORY_READ_BIT,4,2  ; @VK_ACCESS_MEMORY_READ_BIT
	.comm	_VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,4,2 ; @VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT
	.comm	_VK_NULL_HANDLE,8,3             ; @VK_NULL_HANDLE
	.no_dead_strip	_vulkan_inject_black_frame
.subsections_via_symbols
