	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vulkan_raster_font_flush
_vulkan_raster_font_flush:              ## @vulkan_raster_font_flush
	.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	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movl	24(%rdi), %eax
	movl	%eax, -88(%rbp)
	leaq	20(%rbx), %r15
	movq	%r15, -96(%rbp)
	movl	20(%rdi), %eax
	movl	%eax, -104(%rbp)
	leaq	16(%rdi), %rax
	movq	%rax, -112(%rbp)
	movl	$4, -128(%rbp)
	leaq	28(%rbx), %rax
	movq	%rax, -120(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -124(%rbp)
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movl	$0, -44(%rbp)
	movl	$0, -36(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -48(%rbp)
	movq	_VK_COMMAND_BUFFER_LEVEL_PRIMARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	$1, -56(%rbp)
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rsi
	leaq	-28(%rbp), %r14
	movq	%r14, %rdx
	callq	_vkAllocateCommandBuffers
	movq	_VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	-28(%rbp), %edi
	leaq	-40(%rbp), %rsi
	callq	_vkBeginCommandBuffer
	movq	8(%rbx), %rdi
	movl	-28(%rbp), %esi
	leaq	16(%rbx), %rcx
	movq	%r15, %rdx
	callq	_vulkan_copy_staging_to_dynamic
	movl	-28(%rbp), %edi
	callq	_vkEndCommandBuffer
	movl	$1, -80(%rbp)
	movq	%r14, -72(%rbp)
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edi
	movq	_VK_NULL_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-80(%rbp), %rdx
	movl	$1, %esi
	callq	_vkQueueSubmit
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edi
	callq	_vkQueueWaitIdle
	movq	8(%rbx), %rax
	movq	8(%rax), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_vkFreeCommandBuffers
	movl	$0, (%rbx)
	movq	8(%rbx), %rdi
LBB0_2:
	leaq	-128(%rbp), %rsi
	callq	_vulkan_draw_triangles
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VK_STRUCTURE_TYPE_SUBMIT_INFO,4,2 ## @VK_STRUCTURE_TYPE_SUBMIT_INFO
	.comm	_VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO,4,2 ## @VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO
	.comm	_VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO,4,2 ## @VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO
	.comm	_VK_COMMAND_BUFFER_LEVEL_PRIMARY,4,2 ## @VK_COMMAND_BUFFER_LEVEL_PRIMARY
	.comm	_VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT,4,2 ## @VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT
	.comm	_VK_NULL_HANDLE,4,2             ## @VK_NULL_HANDLE
	.no_dead_strip	_vulkan_raster_font_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vulkan_raster_font_flush
_vulkan_raster_font_flush:              ; @vulkan_raster_font_flush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	w8, [x0, #24]
	str	w8, [sp, #104]
	add	x20, x19, #20
	str	x20, [sp, #96]
	ldr	w8, [x0, #20]
	str	w8, [sp, #88]
	add	x8, x0, #16
	mov	w9, #4
	add	x10, x19, #28
	stp	x10, x8, [sp, #72]
	ldr	w8, [x19, #24]
	stp	w9, w8, [sp, #64]
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	stp	xzr, xzr, [sp, #32]
	str	xzr, [sp, #48]
	str	wzr, [sp, #28]
	str	wzr, [sp, #12]
	ldr	w8, [x0]
	str	w8, [sp, #24]
Lloh0:
	adrp	x8, _VK_COMMAND_BUFFER_LEVEL_PRIMARY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VK_COMMAND_BUFFER_LEVEL_PRIMARY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w21, #1
	stp	w21, w8, [sp, #16]
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	add	x22, sp, #60
	add	x1, sp, #16
	add	x2, sp, #60
	bl	_vkAllocateCommandBuffers
Lloh3:
	adrp	x8, _VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	w0, [sp, #60]
	add	x1, sp, #8
	bl	_vkBeginCommandBuffer
	ldr	x0, [x19, #8]
	ldr	w1, [sp, #60]
	add	x3, x19, #16
	mov	x2, x20
	bl	_vulkan_copy_staging_to_dynamic
	ldr	w0, [sp, #60]
	bl	_vkEndCommandBuffer
	str	w21, [sp, #32]
	str	x22, [sp, #40]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #8]
Lloh6:
	adrp	x8, _VK_NULL_HANDLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VK_NULL_HANDLE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x2, sp, #32
	mov	w1, #1
	bl	_vkQueueSubmit
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #8]
	bl	_vkQueueWaitIdle
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	ldr	w0, [x9]
	ldr	w1, [x8]
	add	x3, sp, #60
	mov	w2, #1
	bl	_vkFreeCommandBuffers
	str	wzr, [x19]
	ldr	x0, [x19, #8]
LBB0_2:
	add	x1, sp, #64
	bl	_vulkan_draw_triangles
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VK_STRUCTURE_TYPE_SUBMIT_INFO,4,2 ; @VK_STRUCTURE_TYPE_SUBMIT_INFO
	.comm	_VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO,4,2 ; @VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO
	.comm	_VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO,4,2 ; @VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO
	.comm	_VK_COMMAND_BUFFER_LEVEL_PRIMARY,4,2 ; @VK_COMMAND_BUFFER_LEVEL_PRIMARY
	.comm	_VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT,4,2 ; @VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT
	.comm	_VK_NULL_HANDLE,4,2             ; @VK_NULL_HANDLE
	.no_dead_strip	_vulkan_raster_font_flush
.subsections_via_symbols
