	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function android_app_entry
_android_app_entry:                     ## @android_app_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_AConfiguration_new
	movl	%eax, 88(%rbx)
	movq	80(%rbx), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_AConfiguration_fromAssetManager
	movq	%rbx, %rdi
	callq	_print_cur_config
	movq	_LOOPER_ID_MAIN@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	leaq	24(%rbx), %r14
	movl	%eax, 40(%rbx)
	movq	%rbx, 32(%rbx)
	movq	_process_cmd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_LOOPER_ID_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	%rbx, 64(%rbx)
	movq	_process_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_ALOOPER_PREPARE_ALLOW_NON_CALLBACKS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ALooper_prepare
	movq	%rax, %r15
	movl	48(%rbx), %esi
	movl	(%r12), %edx
	movq	_ALOOPER_EVENT_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	_ALooper_addFd
	movq	%r15, 16(%rbx)
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	movl	$1, (%rbx)
	leaq	8(%rbx), %rdi
	callq	_pthread_cond_broadcast
	movq	%r14, %rdi
	callq	_pthread_mutex_unlock
	movq	%rbx, %rdi
	callq	_android_main
	movq	%rbx, %rdi
	callq	_android_app_destroy
	xorl	%edi, %edi
	callq	_pthread_exit
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOOPER_ID_MAIN,4,2             ## @LOOPER_ID_MAIN
	.comm	_process_cmd,4,2                ## @process_cmd
	.comm	_LOOPER_ID_INPUT,4,2            ## @LOOPER_ID_INPUT
	.comm	_process_input,4,2              ## @process_input
	.comm	_ALOOPER_PREPARE_ALLOW_NON_CALLBACKS,4,2 ## @ALOOPER_PREPARE_ALLOW_NON_CALLBACKS
	.comm	_ALOOPER_EVENT_INPUT,4,2        ## @ALOOPER_EVENT_INPUT
	.no_dead_strip	_android_app_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function android_app_entry
_android_app_entry:                     ; @android_app_entry
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_AConfiguration_new
	str	w0, [x19, #88]
	ldr	x8, [x19, #80]
	ldr	w1, [x8]
	bl	_AConfiguration_fromAssetManager
	mov	x0, x19
	bl	_print_cur_config
Lloh0:
	adrp	x22, _LOOPER_ID_MAIN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LOOPER_ID_MAIN@GOTPAGEOFF]
	ldr	w8, [x22]
	str	w8, [x19, #40]
	str	x19, [x19, #32]
Lloh2:
	adrp	x8, _process_cmd@GOTPAGE
Lloh3:
	ldr	x8, [x8, _process_cmd@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	x20, x19
	str	w8, [x20, #24]!
Lloh5:
	adrp	x8, _LOOPER_ID_INPUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOOPER_ID_INPUT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #72]
Lloh8:
	adrp	x8, _process_input@GOTPAGE
Lloh9:
	ldr	x8, [x8, _process_input@GOTPAGEOFF]
	str	x19, [x19, #64]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh11:
	adrp	x8, _ALOOPER_PREPARE_ALLOW_NON_CALLBACKS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ALOOPER_PREPARE_ALLOW_NON_CALLBACKS@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_ALooper_prepare
	mov	x21, x0
	ldr	w1, [x19, #48]
	ldr	w2, [x22]
Lloh14:
	adrp	x8, _ALOOPER_EVENT_INPUT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ALOOPER_EVENT_INPUT@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x4, #0
	mov	x5, x20
	bl	_ALooper_addFd
	str	x21, [x19, #16]
	add	x20, x19, #4
	mov	x0, x20
	bl	_pthread_mutex_lock
	mov	w8, #1
	str	w8, [x19]
	add	x0, x19, #8
	bl	_pthread_cond_broadcast
	mov	x0, x20
	bl	_pthread_mutex_unlock
	mov	x0, x19
	bl	_android_main
	mov	x0, x19
	bl	_android_app_destroy
	mov	x0, #0
	bl	_pthread_exit
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LOOPER_ID_MAIN,4,2             ; @LOOPER_ID_MAIN
	.comm	_process_cmd,4,2                ; @process_cmd
	.comm	_LOOPER_ID_INPUT,4,2            ; @LOOPER_ID_INPUT
	.comm	_process_input,4,2              ; @process_input
	.comm	_ALOOPER_PREPARE_ALLOW_NON_CALLBACKS,4,2 ; @ALOOPER_PREPARE_ALLOW_NON_CALLBACKS
	.comm	_ALOOPER_EVENT_INPUT,4,2        ; @ALOOPER_EVENT_INPUT
	.no_dead_strip	_android_app_entry
.subsections_via_symbols
