	.file	"extr_i31_moddiv.c_cond_negate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cond_negate, @function
cond_negate:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, edx
	neg	ecx
	sar	ecx
	test	rsi, rsi
	je	.L1
	lea	rsi, [rdi+rsi*4]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR [rdi]
	add	rdi, 4
	xor	eax, ecx
	add	edx, eax
	mov	eax, edx
	sar	edx, 31
	and	eax, 2147483647
	mov	DWORD PTR -4[rdi], eax
	cmp	rsi, rdi
	jne	.L3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	cond_negate, .-cond_negate
	.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_i31_moddiv.c_cond_negate.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cond_negate, %function
cond_negate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	rsb	ip, r2, #0
	cmp	r1, #0
	asr	ip, ip, #1
	bxeq	lr
	sub	r0, r0, #4
	add	r1, r0, r1, lsl #2
.L3:
	ldr	r3, [r0, #4]!
	eor	r3, r3, ip
	add	r2, r3, r2
	bic	r3, r2, #-2147483648
	cmp	r0, r1
	str	r3, [r0]
	asr	r2, r2, #31
	bne	.L3
	bx	lr
	.size	cond_negate, .-cond_negate
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
