	.file	"extr_if_python3.c_RangeSubscript.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	RangeSubscript, @function
RangeSubscript:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	PyLong_Check@PLT
	mov	rdi, rbp
	test	rax, rax
	jne	.L10
	call	PySlice_Check@PLT
	test	rax, rax
	je	.L4
	mov	rsi, QWORD PTR 8[r12]
	sub	rsi, QWORD PTR [r12]
	lea	r8, 16[rsp]
	lea	rcx, 12[rsp]
	lea	rdx, 8[rsp]
	add	rsi, 1
	lea	r9, 20[rsp]
	mov	rdi, rbp
	call	PySlice_GetIndicesEx@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	jns	.L11
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L12
	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
.L11:
	.cfi_restore_state
	mov	edx, DWORD PTR 12[rsp]
	mov	esi, DWORD PTR 8[rsp]
	mov	rdi, r12
	call	RangeSlice@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	call	PyLong_AsLong@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	RangeItem@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	RAISE_INVALID_INDEX_TYPE@PLT
	xor	eax, eax
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	RangeSubscript, .-RangeSubscript
	.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_python3.c_RangeSubscript.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	RangeSubscript, %function
RangeSubscript:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L13
	sub	sp, sp, #36
	mov	r7, r0
	mov	r0, r1
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	PyLong_Check
	subs	r5, r0, #0
	mov	r0, r4
	bne	.L10
	bl	PySlice_Check
	subs	r6, r0, #0
	beq	.L4
	ldr	r3, [r7]
	ldr	r1, [r7, #4]
	add	r2, sp, #24
	sub	r1, r1, r3
	add	r3, sp, #20
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r0, r4
	add	r1, r1, #1
	add	r3, sp, #16
	add	r2, sp, #12
	bl	PySlice_GetIndicesEx
	cmp	r0, #0
	movlt	r0, r5
	bge	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r0, r7
	ldr	r2, [sp, #16]
	ldr	r1, [sp, #12]
	bl	RangeSlice
	b	.L1
.L10:
	bl	PyLong_AsLong
	mov	r1, r0
	mov	r0, r7
	bl	RangeItem
	b	.L1
.L4:
	mov	r0, r4
	bl	RAISE_INVALID_INDEX_TYPE
	mov	r0, r6
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	RangeSubscript, .-RangeSubscript
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
