	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vulkan_init_hw_render
_vulkan_init_hw_render:                 ## @vulkan_init_hw_render
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_video_driver_get_hw_context
	movq	(%rax), %rax
	movq	_RETRO_HW_CONTEXT_VULKAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$1, 8(%rbx)
	movq	_RETRO_HW_RENDER_INTERFACE_VULKAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	_RETRO_HW_RENDER_INTERFACE_VULKAN_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rbx)
	movq	(%rbx), %rax
	movl	16(%rax), %ecx
	movl	%ecx, 80(%rbx)
	movups	(%rax), %xmm0
	movups	%xmm0, 64(%rbx)
	movq	%rbx, 56(%rbx)
	movq	_vulkan_set_image@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_vulkan_get_sync_index@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_vulkan_get_sync_index_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_vulkan_wait_sync_index@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_vulkan_set_command_buffers@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_vulkan_lock_queue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_vulkan_unlock_queue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_vulkan_set_signal_semaphore@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_vkGetDeviceProcAddr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	xorl	%eax, %eax
	callq	_vulkan_symbol_wrapper_instance_proc_addr
	movl	%eax, 16(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RETRO_HW_CONTEXT_VULKAN,8,3    ## @RETRO_HW_CONTEXT_VULKAN
	.comm	_RETRO_HW_RENDER_INTERFACE_VULKAN,4,2 ## @RETRO_HW_RENDER_INTERFACE_VULKAN
	.comm	_RETRO_HW_RENDER_INTERFACE_VULKAN_VERSION,4,2 ## @RETRO_HW_RENDER_INTERFACE_VULKAN_VERSION
	.comm	_vulkan_set_image,4,2           ## @vulkan_set_image
	.comm	_vulkan_get_sync_index,4,2      ## @vulkan_get_sync_index
	.comm	_vulkan_get_sync_index_mask,4,2 ## @vulkan_get_sync_index_mask
	.comm	_vulkan_wait_sync_index,4,2     ## @vulkan_wait_sync_index
	.comm	_vulkan_set_command_buffers,4,2 ## @vulkan_set_command_buffers
	.comm	_vulkan_lock_queue,4,2          ## @vulkan_lock_queue
	.comm	_vulkan_unlock_queue,4,2        ## @vulkan_unlock_queue
	.comm	_vulkan_set_signal_semaphore,4,2 ## @vulkan_set_signal_semaphore
	.comm	_vkGetDeviceProcAddr,4,2        ## @vkGetDeviceProcAddr
	.no_dead_strip	_vulkan_init_hw_render
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vulkan_init_hw_render
_vulkan_init_hw_render:                 ; @vulkan_init_hw_render
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_video_driver_get_hw_context
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RETRO_HW_CONTEXT_VULKAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RETRO_HW_CONTEXT_VULKAN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19, #8]
Lloh3:
	adrp	x8, _RETRO_HW_RENDER_INTERFACE_VULKAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RETRO_HW_RENDER_INTERFACE_VULKAN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #88]
Lloh6:
	adrp	x8, _RETRO_HW_RENDER_INTERFACE_VULKAN_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RETRO_HW_RENDER_INTERFACE_VULKAN_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9, #16]
	stp	w10, w8, [x19, #80]
	ldr	q0, [x9]
	str	q0, [x19, #64]
	str	x19, [x19, #56]
Lloh9:
	adrp	x8, _vulkan_set_image@GOTPAGE
Lloh10:
	ldr	x8, [x8, _vulkan_set_image@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #52]
Lloh12:
	adrp	x8, _vulkan_get_sync_index@GOTPAGE
Lloh13:
	ldr	x8, [x8, _vulkan_get_sync_index@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _vulkan_get_sync_index_mask@GOTPAGE
Lloh16:
	ldr	x9, [x9, _vulkan_get_sync_index_mask@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #44]
Lloh18:
	adrp	x8, _vulkan_wait_sync_index@GOTPAGE
Lloh19:
	ldr	x8, [x8, _vulkan_wait_sync_index@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _vulkan_set_command_buffers@GOTPAGE
Lloh22:
	ldr	x9, [x9, _vulkan_set_command_buffers@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #36]
Lloh24:
	adrp	x8, _vulkan_lock_queue@GOTPAGE
Lloh25:
	ldr	x8, [x8, _vulkan_lock_queue@GOTPAGEOFF]
Lloh26:
	adrp	x9, _vulkan_unlock_queue@GOTPAGE
Lloh27:
	ldr	x9, [x9, _vulkan_unlock_queue@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
Lloh30:
	adrp	x8, _vulkan_set_signal_semaphore@GOTPAGE
Lloh31:
	ldr	x8, [x8, _vulkan_set_signal_semaphore@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _vkGetDeviceProcAddr@GOTPAGE
Lloh34:
	ldr	x9, [x9, _vkGetDeviceProcAddr@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #20]
	bl	_vulkan_symbol_wrapper_instance_proc_addr
	str	w0, [x19, #16]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RETRO_HW_CONTEXT_VULKAN,8,3    ; @RETRO_HW_CONTEXT_VULKAN
	.comm	_RETRO_HW_RENDER_INTERFACE_VULKAN,4,2 ; @RETRO_HW_RENDER_INTERFACE_VULKAN
	.comm	_RETRO_HW_RENDER_INTERFACE_VULKAN_VERSION,4,2 ; @RETRO_HW_RENDER_INTERFACE_VULKAN_VERSION
	.comm	_vulkan_set_image,4,2           ; @vulkan_set_image
	.comm	_vulkan_get_sync_index,4,2      ; @vulkan_get_sync_index
	.comm	_vulkan_get_sync_index_mask,4,2 ; @vulkan_get_sync_index_mask
	.comm	_vulkan_wait_sync_index,4,2     ; @vulkan_wait_sync_index
	.comm	_vulkan_set_command_buffers,4,2 ; @vulkan_set_command_buffers
	.comm	_vulkan_lock_queue,4,2          ; @vulkan_lock_queue
	.comm	_vulkan_unlock_queue,4,2        ; @vulkan_unlock_queue
	.comm	_vulkan_set_signal_semaphore,4,2 ; @vulkan_set_signal_semaphore
	.comm	_vkGetDeviceProcAddr,4,2        ; @vkGetDeviceProcAddr
	.no_dead_strip	_vulkan_init_hw_render
.subsections_via_symbols
