	.file	"extr_x11_input.c_x_is_pressed.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	x_is_pressed, @function
x_is_pressed:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	sar	r15, 32
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	mov	ecx, r9d
	lea	rax, [rcx+rcx*4]
	lea	r14, [rbx+rax*8]
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rsi, QWORD PTR [r14]
	cmp	rsi, QWORD PTR RETROK_LAST[rip]
	jl	.L2
.L5:
	xor	eax, eax
	test	rbx, rbx
	je	.L1
	cmp	QWORD PTR 32[r14], 0
	je	.L1
	mov	r12, QWORD PTR 8[r14]
	cmp	r12, QWORD PTR NO_BTN[rip]
	jne	.L8
	mov	rax, rcx
	sal	rax, 4
	mov	r12, QWORD PTR [rdx+rax]
.L8:
	mov	rbx, QWORD PTR 16[r14]
	cmp	rbx, QWORD PTR AXIS_NONE[rip]
	jne	.L9
	sal	rcx, 4
	mov	rbx, QWORD PTR 8[rdx+rcx]
.L9:
	mov	edx, DWORD PTR 24[r14]
	mov	esi, r8d
	mov	rdi, r13
	call	x_mouse_button_pressed@PLT
	test	rax, rax
	jne	.L7
	cmp	QWORD PTR NO_BTN[rip], r12
	mov	rax, QWORD PTR 0[r13]
	je	.L10
	mov	rsi, r12
	mov	edi, r15d
	call	[QWORD PTR 8[rax]]
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR 0[r13]
.L10:
	mov	rsi, rbx
	mov	edi, r15d
	call	[QWORD PTR [rax]]
	mov	edi, eax
	call	abs@PLT
	pxor	xmm1, xmm1
	movd	xmm0, ebp
	cvtsi2ss	xmm1, rax
	mulss	xmm1, DWORD PTR .LC0[rip]
	xor	eax, eax
	comiss	xmm1, xmm0
	seta	al
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	DWORD PTR 28[rsp], r8d
	mov	r12, rcx
	mov	QWORD PTR 16[rsp], rdx
	mov	QWORD PTR 8[rsp], rcx
	call	x_keyboard_pressed@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR 16[rsp]
	test	rax, rax
	mov	r8d, DWORD PTR 28[rsp]
	je	.L5
	cmp	DWORD PTR RARCH_GAME_FOCUS_TOGGLE[rip], r12d
	je	.L7
	mov	eax, DWORD PTR input_x[rip]
	test	eax, eax
	jne	.L5
.L7:
	add	rsp, 40
	.cfi_def_cfa_offset 56
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	x_is_pressed, .-x_is_pressed
	.comm	input_x,4,4
	.comm	RETROK_LAST,8,8
	.comm	RARCH_GAME_FOCUS_TOGGLE,4,4
	.comm	NO_BTN,8,8
	.comm	AXIS_NONE,8,8
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	939524096
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_x11_input.c_x_is_pressed.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_fcmpgt
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	x_is_pressed, %function
x_is_pressed:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #20
	ldr	r7, [sp, #64]
	ldr	r4, [sp, #56]
	ldr	ip, .L23
	add	lr, sp, #16
	stmdb	lr, {r1, r2, r3}
	add	r3, r7, r7, lsl #2
	ldr	r1, [r4, r3, lsl #2]
	ldr	r2, [ip]
	mov	r6, r0
	cmp	r1, r2
	ldr	r8, [sp, #8]
	ldr	r9, [sp, #12]
	add	r5, r4, r3, lsl #2
	blt	.L2
.L5:
	cmp	r4, #0
	moveq	r0, r4
	beq	.L1
	ldr	r0, [r5, #16]
	cmp	r0, #0
	beq	.L1
	ldr	fp, .L23+4
	ldr	r4, [r5, #4]
	ldr	r3, [fp]
	ldr	r10, [r5, #8]
	cmp	r4, r3
	ldr	r3, .L23+8
	ldreq	r4, [r9, r7, lsl #3]
	ldr	r3, [r3]
	mov	r0, r6
	cmp	r10, r3
	addeq	r7, r9, r7, lsl #3
	ldr	r2, [r5, #12]
	ldr	r1, [sp, #60]
	ldreq	r10, [r7, #4]
	bl	x_mouse_button_pressed
	cmp	r0, #0
	bne	.L7
	ldr	r2, [fp]
	ldr	r3, [r6]
	cmp	r2, r4
	beq	.L10
	mov	r1, r4
	mov	r0, r8
	ldr	r3, [r3, #4]
	blx	r3
	cmp	r0, #0
	bne	.L7
	ldr	r3, [r6]
.L10:
	ldr	r3, [r3]
	mov	r1, r10
	mov	r0, r8
	blx	r3
	cmp	r0, #0
	rsblt	r0, r0, #0
	bl	__aeabi_i2f
	mov	r1, #939524096
	bl	__aeabi_fmul
	ldr	r1, [sp, #4]	@ float
	bl	__aeabi_fcmpgt
	subs	r0, r0, #0
	movne	r0, #1
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	bl	x_keyboard_pressed
	cmp	r0, #0
	beq	.L5
	ldr	r3, .L23+12
	ldr	r3, [r3]
	cmp	r3, r7
	beq	.L7
	ldr	r3, .L23+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L5
.L7:
	mov	r0, #1
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	.align	2
.L23:
	.word	RETROK_LAST
	.word	NO_BTN
	.word	AXIS_NONE
	.word	RARCH_GAME_FOCUS_TOGGLE
	.word	input_x
	.size	x_is_pressed, .-x_is_pressed
	.comm	input_x,4,4
	.comm	RETROK_LAST,4,4
	.comm	RARCH_GAME_FOCUS_TOGGLE,4,4
	.comm	NO_BTN,4,4
	.comm	AXIS_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
