	.file	"extr_nditer_pywrap.c_npyiter_iterindex_set.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Cannot delete nditer iterindex"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Iterator is invalid"
	.text
	.p2align 4
	.type	npyiter_iterindex_set, @function
npyiter_iterindex_set:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rsi, rsi
	je	.L9
	cmp	QWORD PTR 16[rdi], 0
	mov	rbp, rdi
	je	.L10
	mov	rdi, rsi
	call	PyInt_AsLong@PLT
	mov	edi, eax
	mov	r12d, eax
	call	error_converting@PLT
	test	rax, rax
	jne	.L6
	mov	rdi, QWORD PTR 16[rbp]
	mov	esi, r12d
	call	NpyIter_GotoIterIndex@PLT
	cmp	rax, QWORD PTR NPY_SUCCEED[rip]
	jne	.L6
	mov	QWORD PTR 8[rbp], 0
	mov	rdi, rbp
	mov	QWORD PTR 0[rbp], 0
	call	npyiter_resetbasepointers@PLT
	cmp	QWORD PTR NPY_SUCCEED[rip], rax
	setne	al
	movzx	eax, al
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
.L10:
	mov	edi, DWORD PTR PyExc_ValueError[rip]
	lea	rsi, .LC1[rip]
	call	PyErr_SetString@PLT
	mov	eax, -1
	jmp	.L1
.L9:
	mov	edi, DWORD PTR PyExc_AttributeError[rip]
	lea	rsi, .LC0[rip]
	call	PyErr_SetString@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	npyiter_iterindex_set, .-npyiter_iterindex_set
	.comm	PyExc_ValueError,4,4
	.comm	PyExc_AttributeError,4,4
	.comm	NPY_SUCCEED,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_nditer_pywrap.c_npyiter_iterindex_set.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot delete nditer iterindex\000"
	.align	2
.LC1:
	.ascii	"Iterator is invalid\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	npyiter_iterindex_set, %function
npyiter_iterindex_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	subs	r0, r1, #0
	beq	.L9
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L10
	bl	PyInt_AsLong
	mov	r6, r0
	bl	error_converting
	subs	r5, r0, #0
	bne	.L6
	mov	r1, r6
	ldr	r0, [r4, #8]
	bl	NpyIter_GotoIterIndex
	ldr	r6, .L11
	ldr	r3, [r6]
	cmp	r0, r3
	bne	.L6
	mov	r0, r4
	str	r5, [r4, #4]
	str	r5, [r4]
	bl	npyiter_resetbasepointers
	ldr	r3, [r6]
	subs	r0, r3, r0
	mvnne	r0, #0
	pop	{r4, r5, r6, pc}
.L6:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r3, .L11+4
	ldr	r1, .L11+8
	ldr	r0, [r3]
	bl	PyErr_SetString
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L11+12
	ldr	r1, .L11+16
	ldr	r0, [r3]
	bl	PyErr_SetString
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	NPY_SUCCEED
	.word	PyExc_ValueError
	.word	.LC1
	.word	PyExc_AttributeError
	.word	.LC0
	.size	npyiter_iterindex_set, .-npyiter_iterindex_set
	.comm	PyExc_ValueError,4,4
	.comm	PyExc_AttributeError,4,4
	.comm	NPY_SUCCEED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
