	.file	"extr_tests.c_test_ecmult_multi_batch_size_helper.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	test_ecmult_multi_batch_size_helper
	.type	test_ecmult_multi_batch_size_helper, @function
test_ecmult_multi_batch_size_helper:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	edx, edx
	mov	ecx, 1
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r12, 16[rsp]
	lea	rbp, 8[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	call	secp256k1_ecmult_multi_batch_size_helper@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	CHECK@PLT
	xor	ecx, ecx
	mov	edx, 1
	mov	rsi, r12
	mov	rdi, rbp
	call	secp256k1_ecmult_multi_batch_size_helper@PLT
	xor	edi, edi
	cmp	eax, 1
	sete	dil
	call	CHECK@PLT
	xor	edi, edi
	cmp	QWORD PTR 8[rsp], 0
	sete	dil
	call	CHECK@PLT
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], 0
	sete	dil
	call	CHECK@PLT
	mov	ecx, 5
	mov	rsi, r12
	mov	rdi, rbp
	mov	edx, 2
	call	secp256k1_ecmult_multi_batch_size_helper@PLT
	xor	edi, edi
	cmp	eax, 1
	sete	dil
	call	CHECK@PLT
	xor	edi, edi
	cmp	QWORD PTR 8[rsp], 3
	sete	dil
	call	CHECK@PLT
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], 2
	sete	dil
	call	CHECK@PLT
	mov	rdx, QWORD PTR ECMULT_MAX_POINTS_PER_BATCH[rip]
	mov	rsi, r12
	mov	rdi, rbp
	mov	rcx, rdx
	call	secp256k1_ecmult_multi_batch_size_helper@PLT
	xor	edi, edi
	cmp	eax, 1
	sete	dil
	call	CHECK@PLT
	xor	edi, edi
	cmp	QWORD PTR 8[rsp], 1
	sete	dil
	call	CHECK@PLT
	mov	rax, QWORD PTR ECMULT_MAX_POINTS_PER_BATCH[rip]
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], rax
	sete	dil
	call	CHECK@PLT
	mov	rax, QWORD PTR ECMULT_MAX_POINTS_PER_BATCH[rip]
	mov	rsi, r12
	mov	rdi, rbp
	lea	rdx, 1[rax]
	mov	rcx, rdx
	call	secp256k1_ecmult_multi_batch_size_helper@PLT
	xor	edi, edi
	cmp	eax, 1
	sete	dil
	call	CHECK@PLT
	xor	edi, edi
	cmp	QWORD PTR 8[rsp], 2
	sete	dil
	call	CHECK@PLT
	mov	rax, QWORD PTR ECMULT_MAX_POINTS_PER_BATCH[rip]
	xor	edi, edi
	shr	rax
	add	rax, 1
	cmp	rax, QWORD PTR 16[rsp]
	sete	dil
	call	CHECK@PLT
	mov	edx, 1
	mov	rsi, r12
	mov	rdi, rbp
	mov	rcx, QWORD PTR SIZE_MAX[rip]
	call	secp256k1_ecmult_multi_batch_size_helper@PLT
	xor	edi, edi
	cmp	eax, 1
	sete	dil
	call	CHECK@PLT
	mov	rax, QWORD PTR SIZE_MAX[rip]
	xor	edi, edi
	cmp	QWORD PTR 8[rsp], rax
	sete	dil
	call	CHECK@PLT
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], 1
	sete	dil
	call	CHECK@PLT
	mov	edx, 2
	mov	rsi, r12
	mov	rdi, rbp
	mov	rcx, QWORD PTR SIZE_MAX[rip]
	call	secp256k1_ecmult_multi_batch_size_helper@PLT
	xor	edi, edi
	cmp	eax, 1
	sete	dil
	call	CHECK@PLT
	mov	rax, QWORD PTR SIZE_MAX[rip]
	xor	edi, edi
	shr	rax
	add	rax, 1
	cmp	rax, QWORD PTR 8[rsp]
	sete	dil
	call	CHECK@PLT
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], 2
	sete	dil
	call	CHECK@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	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
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_ecmult_multi_batch_size_helper, .-test_ecmult_multi_batch_size_helper
	.comm	SIZE_MAX,8,8
	.comm	ECMULT_MAX_POINTS_PER_BATCH,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_tests.c_test_ecmult_multi_batch_size_helper.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_ecmult_multi_batch_size_helper
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_ecmult_multi_batch_size_helper, %function
test_ecmult_multi_batch_size_helper:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	ip, .L6
	sub	sp, sp, #20
	mov	r3, #1
	mov	r2, #0
	add	r1, sp, #8
	add	r0, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	secp256k1_ecmult_multi_batch_size_helper
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	mov	r3, #0
	mov	r2, #1
	add	r1, sp, #8
	add	r0, sp, #4
	bl	secp256k1_ecmult_multi_batch_size_helper
	sub	r0, r0, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r0, [sp, #4]
	ldr	r5, .L6+4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r0, [sp, #8]
	ldr	r4, .L6+8
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	mov	r3, #5
	mov	r2, #2
	add	r1, sp, #8
	add	r0, sp, #4
	bl	secp256k1_ecmult_multi_batch_size_helper
	sub	r0, r0, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r0, [sp, #4]
	sub	r0, r0, #3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r0, [sp, #8]
	sub	r0, r0, #2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r3, [r5]
	add	r1, sp, #8
	mov	r2, r3
	add	r0, sp, #4
	bl	secp256k1_ecmult_multi_batch_size_helper
	sub	r0, r0, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r0, [sp, #4]
	sub	r0, r0, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r3, [r5]
	ldr	r0, [sp, #8]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r3, [r5]
	add	r1, sp, #8
	add	r3, r3, #1
	mov	r2, r3
	add	r0, sp, #4
	bl	secp256k1_ecmult_multi_batch_size_helper
	sub	r0, r0, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r0, [sp, #4]
	sub	r0, r0, #2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r3, [r5]
	ldr	r0, [sp, #8]
	lsr	r3, r3, #1
	add	r3, r3, #1
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	mov	r2, #1
	add	r1, sp, #8
	ldr	r3, [r4]
	add	r0, sp, #4
	bl	secp256k1_ecmult_multi_batch_size_helper
	sub	r0, r0, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r3, [r4]
	ldr	r0, [sp, #4]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r0, [sp, #8]
	sub	r0, r0, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	mov	r2, #2
	add	r1, sp, #8
	ldr	r3, [r4]
	add	r0, sp, #4
	bl	secp256k1_ecmult_multi_batch_size_helper
	sub	r0, r0, #1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r3, [r4]
	ldr	r0, [sp, #4]
	lsr	r3, r3, #1
	add	r3, r3, #1
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r0, [sp, #8]
	sub	r0, r0, #2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	CHECK
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	ECMULT_MAX_POINTS_PER_BATCH
	.word	SIZE_MAX
	.size	test_ecmult_multi_batch_size_helper, .-test_ecmult_multi_batch_size_helper
	.comm	SIZE_MAX,4,4
	.comm	ECMULT_MAX_POINTS_PER_BATCH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
