	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function func_display_overlay_l
_func_display_overlay_l:                ## @func_display_overlay_l
	.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
	movq	8(%rdi), %rax
	movq	8(%rax), %r14
	testq	%r14, %r14
	je	LBB0_1
## %bb.3:
	movq	%rsi, %rbx
	movl	$1, (%rax)
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	testq	%rsi, %rsi
	jle	LBB0_7
## %bb.6:
	testq	%rdx, %rdx
	jle	LBB0_7
## %bb.9:
	movl	16(%rbx), %ecx
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_15
## %bb.10:
	movl	$22, %edx
	btl	%ecx, %edx
	jb	LBB0_14
## %bb.11:
	movl	$104, %edx
	btl	%ecx, %edx
	jb	LBB0_12
## %bb.16:
	movl	4(%rax), %edi
	callq	_IJK_EGL_terminate
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SDL_VoutOverlayAMediaCodec_releaseFrame_l ## TAILCALL
LBB0_1:
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.2:
	movl	$1, (%rax)
	leaq	L_.str(%rip), %rdi
	callq	_ALOGW
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_ALOGE
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_ALOGE
LBB0_8:
	movl	$-1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_14:
	movl	(%rdi), %ecx
	movq	_SDL_FCC__GLES2@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_15
LBB0_12:
	movl	4(%rax), %edi
	testl	%edi, %edi
	je	LBB0_15
## %bb.13:
	movq	%r14, %rsi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_IJK_EGL_display                ## TAILCALL
LBB0_15:
	movl	4(%rax), %edi
	callq	_IJK_EGL_terminate
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SDL_Android_NativeWindow_display_l ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"func_display_overlay_l: NULL native_window"

L_.str.1:                               ## @.str.1
	.asciz	"func_display_overlay_l: NULL overlay"

L_.str.2:                               ## @.str.2
	.asciz	"func_display_overlay_l: invalid overlay dimensions(%d, %d)"

	.comm	_SDL_FCC__GLES2,4,2             ## @SDL_FCC__GLES2
	.no_dead_strip	_func_display_overlay_l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function func_display_overlay_l
_func_display_overlay_l:                ; @func_display_overlay_l
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	ldr	x20, [x8, #8]
	cbz	x20, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	w9, #1
	str	w9, [x8]
	cbz	x1, LBB0_6
; %bb.2:
	ldp	x9, x10, [x19]
	cmp	x9, #1
	ccmp	x10, #0, #4, ge
	b.gt	LBB0_9
; %bb.3:
	stp	x9, x10, [sp]
Lloh0:
	adrp	x0, l_.str.2@PAGE
Lloh1:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_4:
	ldr	w9, [x8]
	cbnz	w9, LBB0_8
; %bb.5:
	mov	w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ALOGW
	b	LBB0_8
LBB0_6:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	bl	_ALOGE
LBB0_8:
	mov	w0, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
	ldr	w9, [x19, #16]
	sub	w9, w9, #128
	cmp	w9, #6
	b.hi	LBB0_16
; %bb.10:
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #22
	tst	w9, w10
	b.ne	LBB0_13
; %bb.11:
	mov	w10, #104
	tst	w9, w10
	b.ne	LBB0_14
; %bb.12:
	ldr	w0, [x8, #4]
	bl	_IJK_EGL_terminate
	mov	x0, x19
	mov	x1, #0
	mov	w2, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_SDL_VoutOverlayAMediaCodec_releaseFrame_l
LBB0_13:
	ldr	w9, [x0]
Lloh6:
	adrp	x10, _SDL_FCC__GLES2@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SDL_FCC__GLES2@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_16
LBB0_14:
	ldr	w0, [x8, #4]
	cbz	w0, LBB0_16
; %bb.15:
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_IJK_EGL_display
LBB0_16:
	ldr	w0, [x8, #4]
	bl	_IJK_EGL_terminate
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_SDL_Android_NativeWindow_display_l
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"func_display_overlay_l: NULL native_window"

l_.str.1:                               ; @.str.1
	.asciz	"func_display_overlay_l: NULL overlay"

l_.str.2:                               ; @.str.2
	.asciz	"func_display_overlay_l: invalid overlay dimensions(%d, %d)"

	.comm	_SDL_FCC__GLES2,4,2             ; @SDL_FCC__GLES2
	.no_dead_strip	_func_display_overlay_l
.subsections_via_symbols
