	.file	"extr_emu.c_draw_pico_ptr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	draw_pico_ptr, @function
draw_pico_ptr:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR pico_inp_mode[rip], 0
	je	.L1
	cmp	QWORD PTR blit_16bit_mode[rip], 0
	jne	.L1
	mov	eax, DWORD PTR PICO_PEN_ADJUST_Y[rip]
	add	eax, DWORD PTR pico_pen_y[rip]
	mov	ecx, -3856
	mov	esi, -3872
	sal	eax, 9
	mov	rdx, QWORD PTR PICO_PEN_ADJUST_X[rip]
	add	rdx, QWORD PTR pico_pen_x[rip]
	cdqe
	add	rax, QWORD PTR VRAM_STUFF[rip]
	lea	rax, 16[rax+rdx]
	mov	edx, -7952
	mov	BYTE PTR -1[rax], -32
	mov	WORD PTR [rax], dx
	mov	WORD PTR 511[rax], cx
	mov	BYTE PTR 513[rax], -16
	mov	WORD PTR 1023[rax], si
	mov	BYTE PTR 1025[rax], -32
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	draw_pico_ptr, .-draw_pico_ptr
	.comm	pico_pen_y,4,4
	.comm	pico_pen_x,8,8
	.comm	pico_inp_mode,8,8
	.comm	blit_16bit_mode,8,8
	.comm	VRAM_STUFF,8,8
	.comm	PICO_PEN_ADJUST_Y,4,4
	.comm	PICO_PEN_ADJUST_X,8,8
	.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_emu.c_draw_pico_ptr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_pico_ptr, %function
draw_pico_ptr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, #0
	bxeq	lr
	ldr	r3, .L11+4
	ldr	r3, [r3]
	cmp	r3, #0
	bxne	lr
	mvn	r1, #15
	mvn	r0, #31
	push	{r4, lr}
	ldr	ip, .L11+8
	ldr	lr, .L11+12
	ldr	r3, .L11+16
	ldr	r2, .L11+20
	ldr	r4, [lr]
	ldr	lr, [ip]
	ldr	ip, .L11+24
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	ip, [ip]
	add	r3, r3, r4
	add	r2, r2, lr
	add	r2, r2, r3, lsl #9
	add	ip, ip, #16
	add	r3, ip, r2
	strb	r0, [r3, #-1]
	strb	r1, [ip, r2]
	strb	r0, [r3, #1]
	strb	r1, [r3, #511]
	strb	r1, [r3, #512]
	strb	r1, [r3, #513]
	strb	r0, [r3, #1023]
	strb	r1, [r3, #1024]
	strb	r0, [r3, #1025]
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	pico_inp_mode
	.word	blit_16bit_mode
	.word	PICO_PEN_ADJUST_X
	.word	PICO_PEN_ADJUST_Y
	.word	pico_pen_y
	.word	pico_pen_x
	.word	VRAM_STUFF
	.size	draw_pico_ptr, .-draw_pico_ptr
	.comm	pico_pen_y,4,4
	.comm	pico_pen_x,4,4
	.comm	pico_inp_mode,4,4
	.comm	blit_16bit_mode,4,4
	.comm	VRAM_STUFF,4,4
	.comm	PICO_PEN_ADJUST_Y,4,4
	.comm	PICO_PEN_ADJUST_X,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
