	.file	"extr_opcodes-ecma-arithmetics.c_do_number_arithmetic.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	do_number_arithmetic
	.type	do_number_arithmetic, @function
do_number_arithmetic:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, DWORD PTR ECMA_VALUE_EMPTY[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edi
	mov	edi, DWORD PTR num_left[rip]
	mov	edx, r13d
	call	ECMA_OP_TO_NUMBER_TRY_CATCH@PLT
	mov	edi, DWORD PTR num_right[rip]
	mov	edx, r13d
	mov	esi, r12d
	call	ECMA_OP_TO_NUMBER_TRY_CATCH@PLT
	cmp	ebx, 130
	je	.L2
	jg	.L3
	cmp	ebx, 128
	je	.L4
	cmp	ebx, 129
	jne	.L6
	mov	edi, DWORD PTR num_left[rip]
	mov	esi, DWORD PTR num_right[rip]
	call	ecma_op_number_remainder@PLT
	mov	edi, eax
.L8:
	call	ecma_make_number_value@PLT
	mov	edi, DWORD PTR num_right[rip]
	mov	r12d, eax
	call	ECMA_OP_TO_NUMBER_FINALIZE@PLT
	mov	edi, DWORD PTR num_left[rip]
	call	ECMA_OP_TO_NUMBER_FINALIZE@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	ebx, 131
	jne	.L6
	mov	eax, DWORD PTR num_left[rip]
	cdq
	idiv	DWORD PTR num_right[rip]
	mov	edi, eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR ECMA_NUMBER_ZERO[rip]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR num_left[rip]
	imul	edi, DWORD PTR num_right[rip]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR num_left[rip]
	sub	edi, DWORD PTR num_right[rip]
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	do_number_arithmetic, .-do_number_arithmetic
	.comm	num_right,4,4
	.comm	num_left,4,4
	.comm	ECMA_VALUE_EMPTY,4,4
	.comm	ECMA_NUMBER_ZERO,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_opcodes-ecma-arithmetics.c_do_number_arithmetic.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	do_number_arithmetic
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_number_arithmetic, %function
do_number_arithmetic:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	mov	r4, r0
	ldr	r3, .L11
	ldr	r6, .L11+4
	ldr	r8, [r3]
	ldr	r7, .L11+8
	mov	r2, r8
	ldr	r0, [r6]
	bl	ECMA_OP_TO_NUMBER_TRY_CATCH
	mov	r2, r8
	mov	r1, r5
	ldr	r0, [r7]
	bl	ECMA_OP_TO_NUMBER_TRY_CATCH
	sub	r0, r4, #128
	cmp	r0, #3
	ldrls	pc, [pc, r0, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r1, [r7]
	ldr	r0, [r6]
	bl	__aeabi_idiv
.L8:
	bl	ecma_make_number_value
	mov	r4, r0
	ldr	r0, [r7]
	bl	ECMA_OP_TO_NUMBER_FINALIZE
	ldr	r0, [r6]
	bl	ECMA_OP_TO_NUMBER_FINALIZE
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r0, [r6]
	ldr	r3, [r7]
	sub	r0, r0, r3
	b	.L8
.L6:
	ldr	r1, [r7]
	ldr	r0, [r6]
	bl	ecma_op_number_remainder
	b	.L8
.L5:
	ldr	r0, [r6]
	ldr	r3, [r7]
	mul	r0, r3, r0
	b	.L8
.L2:
	ldr	r3, .L11+12
	ldr	r0, [r3]
	b	.L8
.L12:
	.align	2
.L11:
	.word	ECMA_VALUE_EMPTY
	.word	num_left
	.word	num_right
	.word	ECMA_NUMBER_ZERO
	.size	do_number_arithmetic, .-do_number_arithmetic
	.comm	num_right,4,4
	.comm	num_left,4,4
	.comm	ECMA_VALUE_EMPTY,4,4
	.comm	ECMA_NUMBER_ZERO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
