	.file	"extr_ufunc_type_resolution.c_find_userloop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	find_userloop, @function
find_userloop:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rbx, QWORD PTR [rdi]
	mov	QWORD PTR 16[rsp], rdx
	mov	QWORD PTR 24[rsp], rcx
	add	rbx, QWORD PTR 8[rdi]
	je	.L2
	mov	rbp, rdi
	mov	r14, rsi
	mov	r12d, -1
	xor	r15d, r15d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L27:
	cmp	DWORD PTR NPY_VOID[rip], r13d
	je	.L4
.L3:
	add	r15, 1
	cmp	rbx, r15
	je	.L2
.L11:
	mov	rax, QWORD PTR [r14+r15*8]
	test	rax, rax
	je	.L2
	mov	r13d, DWORD PTR [rax]
	cmp	r13d, r12d
	je	.L3
	mov	edi, r13d
	call	PyTypeNum_ISUSERDEF@PLT
	test	rax, rax
	je	.L27
.L4:
	mov	edi, r13d
	call	PyInt_FromLong@PLT
	mov	r12, rax
	test	rax, rax
	je	.L12
	mov	edi, DWORD PTR 16[rbp]
	mov	rsi, rax
	call	PyDict_GetItem@PLT
	mov	rdi, r12
	mov	r12d, r13d
	mov	QWORD PTR 8[rsp], rax
	call	Py_DECREF@PLT
	mov	r10, QWORD PTR 8[rsp]
	test	r10, r10
	je	.L3
	mov	rdi, r10
	call	NpyCapsule_AsVoidPtr@PLT
	test	rax, rax
	je	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rsi, QWORD PTR [rax]
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rcx, QWORD PTR [r14+rdx*8]
	mov	edi, DWORD PTR [rcx]
	cmp	DWORD PTR [rsi+rdx*4], edi
	jne	.L6
	add	rdx, 1
	cmp	rbx, rdx
	jne	.L7
.L8:
	mov	edx, DWORD PTR 16[rax]
	mov	rsi, QWORD PTR 16[rsp]
	mov	rax, QWORD PTR 8[rax]
	mov	rbx, QWORD PTR 24[rsp]
	mov	DWORD PTR [rsi], edx
	mov	QWORD PTR [rbx], rax
	mov	eax, 1
.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
.L6:
	.cfi_restore_state
	cmp	rbx, rdx
	je	.L8
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L10
	add	r15, 1
	mov	r12d, r13d
	cmp	rbx, r15
	jne	.L11
.L2:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L12:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	find_userloop, .-find_userloop
	.comm	NPY_VOID,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_ufunc_type_resolution.c_find_userloop.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_userloop, %function
find_userloop:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r0
	ldm	r0, {r0, r4}
	sub	sp, sp, #20
	adds	r4, r4, r0
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	beq	.L2
	mov	r5, r1
	mvn	r9, #0
	mov	r10, #0
	ldr	r8, .L28
	sub	r6, r1, #4
	str	r7, [sp, #4]
	b	.L11
.L26:
	ldr	r3, [r8]
	cmp	r3, fp
	beq	.L4
.L3:
	add	r10, r10, #1
	cmp	r4, r10
	beq	.L2
.L11:
	ldr	r3, [r5, r10, lsl #2]
	cmp	r3, #0
	beq	.L2
	ldr	fp, [r3]
	cmp	fp, r9
	beq	.L3
	mov	r0, fp
	bl	PyTypeNum_ISUSERDEF
	cmp	r0, #0
	beq	.L26
.L4:
	mov	r0, fp
	bl	PyInt_FromLong
	subs	r9, r0, #0
	beq	.L12
	ldr	r3, [sp, #4]
	mov	r1, r9
	ldr	r0, [r3, #8]
	bl	PyDict_GetItem
	mov	r7, r0
	mov	r0, r9
	bl	Py_DECREF
	cmp	r7, #0
	bne	.L27
.L14:
	add	r10, r10, #1
	cmp	r4, r10
	mov	r9, fp
	bne	.L11
.L2:
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L27:
	mov	r0, r7
	bl	NpyCapsule_AsVoidPtr
	subs	lr, r0, #0
	beq	.L14
.L10:
	mov	r1, r6
	mov	r3, #0
	ldr	r2, [lr]
	sub	r2, r2, #4
.L7:
	ldr	r0, [r1, #4]!
	ldr	ip, [r2, #4]!
	ldr	r0, [r0]
	cmp	ip, r0
	bne	.L6
	add	r3, r3, #1
	cmp	r4, r3
	bne	.L7
.L8:
	mov	r0, #1
	ldr	r2, [lr, #8]
	ldr	r1, [sp, #8]
	ldr	r3, [lr, #4]
	str	r2, [r1]
	ldr	r2, [sp, #12]
	str	r3, [r2]
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	cmp	r4, r3
	beq	.L8
	ldr	lr, [lr, #12]
	cmp	lr, #0
	bne	.L10
	b	.L14
.L12:
	mvn	r0, #0
	b	.L1
.L29:
	.align	2
.L28:
	.word	NPY_VOID
	.size	find_userloop, .-find_userloop
	.comm	NPY_VOID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
