	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function android_input_poll_user
_android_input_poll_user:               ## @android_input_poll_user
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_g_android@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	(%r15), %r14d
	movl	$1, %edi
	callq	_UINT64_C
	movq	_RETRO_SENSOR_ACCELEROMETER_ENABLE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	testl	%r14d, %eax
	je	LBB0_5
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_5
## %bb.2:
	movl	4(%r15), %edi
	leaq	-40(%rbp), %rsi
	movl	$1, %edx
	callq	_ASensorEventQueue_getEvents
	testq	%rax, %rax
	jle	LBB0_5
## %bb.3:
	leaq	-40(%rbp), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-32(%rbp), %eax
	movl	%eax, 8(%rbx)
	movl	-36(%rbp), %eax
	movl	%eax, 4(%rbx)
	movl	-40(%rbp), %eax
	movl	%eax, (%rbx)
	movl	4(%r15), %edi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_ASensorEventQueue_getEvents
	testq	%rax, %rax
	jg	LBB0_4
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_android,8,3                  ## @g_android
	.comm	_RETRO_SENSOR_ACCELEROMETER_ENABLE,4,2 ## @RETRO_SENSOR_ACCELEROMETER_ENABLE
	.no_dead_strip	_android_input_poll_user
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function android_input_poll_user
_android_input_poll_user:               ; @android_input_poll_user
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _g_android@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_android@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	ldr	w21, [x20]
	mov	w0, #1
	bl	_UINT64_C
Lloh3:
	adrp	x8, _RETRO_SENSOR_ACCELEROMETER_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RETRO_SENSOR_ACCELEROMETER_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w8, w0, w8
	tst	w8, w21
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x20, #4]
	mov	x1, sp
	mov	w2, #1
	bl	_ASensorEventQueue_getEvents
	cmp	x0, #1
	b.lt	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #8]
	str	w8, [x19, #8]
	ldr	d0, [sp]
	str	d0, [x19]
	ldr	w0, [x20, #4]
	mov	x1, sp
	mov	w2, #1
	bl	_ASensorEventQueue_getEvents
	cmp	x0, #0
	b.gt	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_g_android,8,3                  ; @g_android
	.comm	_RETRO_SENSOR_ACCELEROMETER_ENABLE,4,2 ; @RETRO_SENSOR_ACCELEROMETER_ENABLE
	.no_dead_strip	_android_input_poll_user
.subsections_via_symbols
