	.file	"extr_runtime.c_mp_iternext_allow_raise.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"object not an iterator"
.LC1:
	.string	"'%s' object isn't an iterator"
	.text
	.p2align 4
	.globl	mp_iternext_allow_raise
	.type	mp_iternext_allow_raise, @function
mp_iternext_allow_raise:
.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	rbp, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	mp_obj_get_type@PLT
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L2
	mov	rdi, rbp
	call	rax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.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
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR MP_QSTR___next__[rip]
	mov	r12, rsp
	mov	rdi, rbp
	mov	rdx, r12
	call	mp_load_method_maybe@PLT
	mov	rax, QWORD PTR MP_OBJ_NULL[rip]
	cmp	QWORD PTR [rsp], rax
	jne	.L11
	mov	rax, QWORD PTR MICROPY_ERROR_REPORTING_TERSE[rip]
	cmp	QWORD PTR MICROPY_ERROR_REPORTING[rip], rax
	je	.L12
	mov	rdi, rbp
	call	mp_obj_get_type_str@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, mp_type_TypeError[rip]
	mov	edx, eax
	call	mp_obj_new_exception_msg_varg@PLT
	mov	edi, eax
	call	nlr_raise@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdx, r12
	xor	esi, esi
	xor	edi, edi
	call	mp_call_method_n_kw@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, .LC0[rip]
	call	mp_raise_TypeError@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mp_iternext_allow_raise, .-mp_iternext_allow_raise
	.comm	mp_type_TypeError,4,4
	.comm	MP_QSTR___next__,4,4
	.comm	MP_OBJ_NULL,8,8
	.comm	MICROPY_ERROR_REPORTING_TERSE,8,8
	.comm	MICROPY_ERROR_REPORTING,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_runtime.c_mp_iternext_allow_raise.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"object not an iterator\000"
	.align	2
.LC1:
	.ascii	"'%s' object isn't an iterator\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mp_iternext_allow_raise
	.syntax unified
	.arm
	.fpu softvfp
	.type	mp_iternext_allow_raise, %function
mp_iternext_allow_raise:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L13
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r0
	bl	mp_obj_get_type
	ldr	r5, [r0]
	cmp	r5, #0
	beq	.L2
	mov	r0, r4
	blx	r5
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r3, .L13+4
	add	r2, sp, #4
	ldr	r1, [r3]
	mov	r0, r4
	bl	mp_load_method_maybe
	ldr	r3, .L13+8
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L11
	ldr	r2, .L13+12
	ldr	r3, .L13+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L12
	mov	r0, r4
	bl	mp_obj_get_type_str
	ldr	r1, .L13+20
	mov	r2, r0
	ldr	r0, .L13+24
	bl	mp_obj_new_exception_msg_varg
	bl	nlr_raise
	b	.L1
.L11:
	mov	r1, r5
	mov	r0, r5
	add	r2, sp, #4
	bl	mp_call_method_n_kw
	b	.L1
.L12:
	ldr	r0, .L13+28
	bl	mp_raise_TypeError
	b	.L1
.L10:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	MP_QSTR___next__
	.word	MP_OBJ_NULL
	.word	MICROPY_ERROR_REPORTING
	.word	MICROPY_ERROR_REPORTING_TERSE
	.word	.LC1
	.word	mp_type_TypeError
	.word	.LC0
	.size	mp_iternext_allow_raise, .-mp_iternext_allow_raise
	.comm	mp_type_TypeError,4,4
	.comm	MP_QSTR___next__,4,4
	.comm	MP_OBJ_NULL,4,4
	.comm	MICROPY_ERROR_REPORTING_TERSE,4,4
	.comm	MICROPY_ERROR_REPORTING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
