	.file	"extr_if_ruby.c_window_set_cursor.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"array length must be 2"
	.text
	.p2align 4
	.type	window_set_cursor, @function
window_set_cursor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	get_win@PLT
	mov	esi, DWORD PTR T_ARRAY[rip]
	mov	edi, ebp
	mov	rbx, rax
	call	Check_Type@PLT
	mov	edi, ebp
	call	RARRAY_LEN@PLT
	cmp	eax, 2
	je	.L2
	mov	edi, DWORD PTR rb_eArgError[rip]
	lea	rsi, .LC0[rip]
	call	rb_raise@PLT
.L2:
	mov	edi, ebp
	call	RARRAY_PTR@PLT
	mov	edi, ebp
	mov	r12d, DWORD PTR [rax]
	call	RARRAY_PTR@PLT
	mov	edi, r12d
	mov	ebp, DWORD PTR 4[rax]
	call	NUM2LONG@PLT
	mov	DWORD PTR 4[rbx], eax
	mov	edi, ebp
	call	NUM2UINT@PLT
	mov	DWORD PTR [rbx], eax
	xor	eax, eax
	call	check_cursor@PLT
	mov	edi, DWORD PTR NOT_VALID[rip]
	call	update_screen@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR Qnil[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	window_set_cursor, .-window_set_cursor
	.comm	rb_eArgError,4,4
	.comm	T_ARRAY,4,4
	.comm	Qnil,4,4
	.comm	NOT_VALID,4,4
	.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_if_ruby.c_window_set_cursor.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"array length must be 2\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	window_set_cursor, %function
window_set_cursor:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	bl	get_win
	ldr	r3, .L8
	mov	r5, r0
	ldr	r1, [r3]
	mov	r0, r4
	bl	Check_Type
	mov	r0, r4
	bl	RARRAY_LEN
	cmp	r0, #2
	beq	.L2
	ldr	r3, .L8+4
	ldr	r1, .L8+8
	ldr	r0, [r3]
	bl	rb_raise
.L2:
	mov	r0, r4
	bl	RARRAY_PTR
	mov	r3, r0
	mov	r0, r4
	ldr	r4, [r3]
	bl	RARRAY_PTR
	mov	r3, r0
	mov	r0, r4
	ldr	r4, [r3, #4]
	bl	NUM2LONG
	mov	r3, r0
	mov	r0, r4
	str	r3, [r5, #4]
	bl	NUM2UINT
	str	r0, [r5]
	bl	check_cursor
	ldr	r3, .L8+12
	ldr	r0, [r3]
	bl	update_screen
	ldr	r3, .L8+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L9:
	.align	2
.L8:
	.word	T_ARRAY
	.word	rb_eArgError
	.word	.LC0
	.word	NOT_VALID
	.word	Qnil
	.size	window_set_cursor, .-window_set_cursor
	.comm	rb_eArgError,4,4
	.comm	T_ARRAY,4,4
	.comm	Qnil,4,4
	.comm	NOT_VALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
