	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_ps2_video
_init_ps2_video:                        ## @init_ps2_video
	.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	_init_GSGlobal
	movl	%eax, 32(%rbx)
	xorl	%eax, %eax
	callq	_prepare_new_texture
	movq	%rax, 24(%rbx)
	xorl	%eax, %eax
	callq	_prepare_new_texture
	movq	%rax, (%rbx)
	movq	_RETRO_HW_RENDER_INTERFACE_GSKIT_PS2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rbx)
	movq	_RETRO_HW_RENDER_INTERFACE_GSKIT_PS2_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RETRO_HW_RENDER_INTERFACE_GSKIT_PS2,4,2 ## @RETRO_HW_RENDER_INTERFACE_GSKIT_PS2
	.comm	_RETRO_HW_RENDER_INTERFACE_GSKIT_PS2_VERSION,4,2 ## @RETRO_HW_RENDER_INTERFACE_GSKIT_PS2_VERSION
	.no_dead_strip	_init_ps2_video
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_ps2_video
_init_ps2_video:                        ; @init_ps2_video
	.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	_init_GSGlobal
	str	w0, [x19, #32]
	bl	_prepare_new_texture
	str	x0, [x19, #24]
	bl	_prepare_new_texture
Lloh0:
	adrp	x8, _RETRO_HW_RENDER_INTERFACE_GSKIT_PS2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RETRO_HW_RENDER_INTERFACE_GSKIT_PS2@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RETRO_HW_RENDER_INTERFACE_GSKIT_PS2_VERSION@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RETRO_HW_RENDER_INTERFACE_GSKIT_PS2_VERSION@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	stp	x0, x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RETRO_HW_RENDER_INTERFACE_GSKIT_PS2,4,2 ; @RETRO_HW_RENDER_INTERFACE_GSKIT_PS2
	.comm	_RETRO_HW_RENDER_INTERFACE_GSKIT_PS2_VERSION,4,2 ; @RETRO_HW_RENDER_INTERFACE_GSKIT_PS2_VERSION
	.no_dead_strip	_init_ps2_video
.subsections_via_symbols
