	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SDL_VoutAndroid_CreateForANativeWindow ## -- Begin function SDL_VoutAndroid_CreateForANativeWindow
	.p2align	4, 0x90
_SDL_VoutAndroid_CreateForANativeWindow: ## @SDL_VoutAndroid_CreateForANativeWindow
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$24, %edi
	callq	_SDL_Vout_CreateInternal
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	32(%rax), %r14
	movq	$0, 16(%r14)
	leaq	8(%r14), %rdi
	movl	$32, %esi
	callq	_ISDL_Array__init
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	leaq	4(%r14), %rdi
	movl	$32, %esi
	callq	_ISDL_Array__init
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	callq	_func_free_l
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	callq	_IJK_EGL_create
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_g_nativewindow_class@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	_func_create_overlay@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_func_free_l@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_func_display_overlay@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_g_nativewindow_class,4,2       ## @g_nativewindow_class
	.comm	_func_create_overlay,4,2        ## @func_create_overlay
	.comm	_func_display_overlay,4,2       ## @func_display_overlay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SDL_VoutAndroid_CreateForANativeWindow ; -- Begin function SDL_VoutAndroid_CreateForANativeWindow
	.p2align	2
_SDL_VoutAndroid_CreateForANativeWindow: ; @SDL_VoutAndroid_CreateForANativeWindow
	.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	w0, #24
	bl	_SDL_Vout_CreateInternal
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x20, [x19, #32]
	str	xzr, [x20, #16]
	add	x0, x20, #8
	mov	w1, #32
	bl	_ISDL_Array__init
	cbnz	x0, LBB0_3
; %bb.2:
	add	x0, x20, #4
	mov	w1, #32
	bl	_ISDL_Array__init
	cbz	x0, LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_func_free_l
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_IJK_EGL_create
	str	w0, [x20]
	cbz	w0, LBB0_3
; %bb.6:
Lloh0:
	adrp	x8, _g_nativewindow_class@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_nativewindow_class@GOTPAGEOFF]
	str	x8, [x19, #24]
Lloh2:
	adrp	x8, _func_create_overlay@GOTPAGE
Lloh3:
	ldr	x8, [x8, _func_create_overlay@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _func_free_l@GOTPAGE
Lloh6:
	ldr	x9, [x9, _func_free_l@GOTPAGEOFF]
	str	w8, [x19, #16]
	str	x9, [x19, #8]
Lloh7:
	adrp	x8, _func_display_overlay@GOTPAGE
Lloh8:
	ldr	x8, [x8, _func_display_overlay@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_g_nativewindow_class,4,2       ; @g_nativewindow_class
	.comm	_func_create_overlay,4,2        ; @func_create_overlay
	.comm	_func_display_overlay,4,2       ; @func_display_overlay
.subsections_via_symbols
