	.file	"extr_x11_input.c_x_lightgun_aiming_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	x_lightgun_aiming_state, @function
x_lightgun_aiming_state:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 88
	.cfi_def_cfa_offset 96
	mov	esi, DWORD PTR 4[rdi]
	mov	edx, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	lea	r10, 16[rsp]
	mov	rcx, rsp
	mov	DWORD PTR [rsp], 0
	mov	DWORD PTR 4[rsp], 0
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	mov	rdi, r10
	mov	DWORD PTR 16[rsp], 0
	mov	DWORD PTR 20[rsp], 0
	mov	QWORD PTR 64[rsp], 0
	mov	QWORD PTR 56[rsp], 0
	mov	QWORD PTR 48[rsp], 0
	mov	QWORD PTR 40[rsp], 0
	mov	QWORD PTR 32[rsp], 0
	mov	QWORD PTR 24[rsp], 0
	lea	rax, 20[rsp]
	push	rax
	.cfi_def_cfa_offset 112
	lea	r9, 24[rsp]
	lea	r8, 20[rsp]
	call	video_driver_translate_coord_viewport_wrap@PLT
	pop	rax
	.cfi_def_cfa_offset 104
	pop	rdx
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	xor	eax, eax
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	x_lightgun_aiming_state, .-x_lightgun_aiming_state
	.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_lightgun_aiming_state.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	x_lightgun_aiming_state, %function
x_lightgun_aiming_state:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, #0
	sub	sp, sp, #64
	add	lr, sp, #32
	add	ip, sp, #28
	add	r3, sp, #24
	ldr	r2, [r0]
	ldr	r1, [r0, #4]
	stm	sp, {r3, ip, lr}
	ldr	ip, .L6
	add	r3, sp, #20
	add	r0, sp, #36
	ldr	ip, [ip]
	str	ip, [sp, #60]
	mov	ip,#0
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	str	r4, [sp, #28]
	str	r4, [sp, #32]
	str	r4, [sp, #56]
	str	r4, [sp, #52]
	str	r4, [sp, #48]
	str	r4, [sp, #44]
	str	r4, [sp, #40]
	str	r4, [sp, #36]
	bl	video_driver_translate_coord_viewport_wrap
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	mov	r0, r4
	add	sp, sp, #64
	@ sp needed
	pop	{r4, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	x_lightgun_aiming_state, .-x_lightgun_aiming_state
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
