	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SDL_Android_GetApiLevel        ## -- Begin function SDL_Android_GetApiLevel
	.p2align	4, 0x90
_SDL_Android_GetApiLevel:               ## @SDL_Android_GetApiLevel
	.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
	movl	_SDL_Android_GetApiLevel.SDK_INT(%rip), %eax
	testl	%eax, %eax
	jg	LBB0_4
## %bb.1:
	movq	$0, -16(%rbp)
	movq	_JNI_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	-16(%rbp), %rdi
	callq	_SDL_JNI_SetupThreadEnv
	cmpq	%rax, %rbx
	jne	LBB0_2
## %bb.3:
	movq	-16(%rbp), %rdi
	callq	_J4AC_android_os_Build__VERSION__SDK_INT__get__catchAll
	movl	%eax, _SDL_Android_GetApiLevel.SDK_INT(%rip)
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_ALOGI
	movl	_SDL_Android_GetApiLevel.SDK_INT(%rip), %eax
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_ALOGE
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_SDL_Android_GetApiLevel.SDK_INT,4,2 ## @SDL_Android_GetApiLevel.SDK_INT
	.comm	_JNI_OK,8,3                     ## @JNI_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SDL_Android_GetApiLevel: SetupThreadEnv failed"

L_.str.1:                               ## @.str.1
	.asciz	"API-Level: %d\n"

	.comm	_PROP_VALUE_MAX,4,2             ## @PROP_VALUE_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SDL_Android_GetApiLevel        ; -- Begin function SDL_Android_GetApiLevel
	.p2align	2
_SDL_Android_GetApiLevel:               ; @SDL_Android_GetApiLevel
	.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
	adrp	x19, _SDL_Android_GetApiLevel.SDK_INT@PAGE
	ldr	w0, [x19, _SDL_Android_GetApiLevel.SDK_INT@PAGEOFF]
	cmp	w0, #0
	b.gt	LBB0_4
; %bb.1:
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _JNI_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JNI_OK@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	add	x0, sp, #8
	bl	_SDL_JNI_SetupThreadEnv
	cmp	x20, x0
	b.ne	LBB0_3
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_J4AC_android_os_Build__VERSION__SDK_INT__get__catchAll
	mov	x1, x0
	str	w0, [x19, _SDL_Android_GetApiLevel.SDK_INT@PAGEOFF]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ALOGI
	ldr	w0, [x19, _SDL_Android_GetApiLevel.SDK_INT@PAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ALOGE
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_SDL_Android_GetApiLevel.SDK_INT,4,2 ; @SDL_Android_GetApiLevel.SDK_INT
	.comm	_JNI_OK,8,3                     ; @JNI_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SDL_Android_GetApiLevel: SetupThreadEnv failed"

l_.str.1:                               ; @.str.1
	.asciz	"API-Level: %d\n"

	.comm	_PROP_VALUE_MAX,4,2             ; @PROP_VALUE_MAX
.subsections_via_symbols
