	.file	"extr_valarith.c_value_neg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Argument to negate operation not a number."
	.text
	.p2align 4
	.globl	value_neg
	.type	value_neg, @function
value_neg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	VALUE_TYPE@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	COERCE_REF@PLT
	mov	rdi, rbp
	call	COERCE_ENUM@PLT
	mov	rdi, rbp
	call	VALUE_TYPE@PLT
	mov	rdi, rax
	call	check_typedef@PLT
	mov	rdi, rax
	mov	r12, rax
	call	TYPE_CODE@PLT
	cmp	rax, QWORD PTR TYPE_CODE_FLT[rip]
	je	.L10
	mov	rdi, r12
	call	TYPE_CODE@PLT
	cmp	rax, QWORD PTR TYPE_CODE_INT[rip]
	je	.L6
	mov	rdi, r12
	call	TYPE_CODE@PLT
	cmp	rax, QWORD PTR TYPE_CODE_BOOL[rip]
	jne	.L11
.L6:
	mov	rdi, r12
	call	TYPE_LENGTH@PLT
	mov	rdi, QWORD PTR builtin_type_int[rip]
	mov	r12, rax
	call	TYPE_LENGTH@PLT
	mov	rdi, rbp
	cmp	r12, rax
	cmovl	r13, QWORD PTR builtin_type_int[rip]
	call	value_as_long@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	neg	eax
	mov	rdi, r13
	pop	r13
	.cfi_def_cfa_offset 8
	mov	esi, eax
	jmp	value_from_longest@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	value_as_double@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r13
	pop	r12
	.cfi_def_cfa_offset 16
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 8
	mov	esi, eax
	jmp	value_from_double@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	error@PLT
	pop	rbp
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	value_neg, .-value_neg
	.comm	builtin_type_int,8,8
	.comm	TYPE_CODE_INT,8,8
	.comm	TYPE_CODE_FLT,8,8
	.comm	TYPE_CODE_BOOL,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_valarith.c_value_neg.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Argument to negate operation not a number.\000"
	.text
	.align	2
	.global	value_neg
	.syntax unified
	.arm
	.fpu softvfp
	.type	value_neg, %function
value_neg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	bl	VALUE_TYPE
	mov	r6, r0
	mov	r0, r4
	bl	COERCE_REF
	mov	r0, r4
	bl	COERCE_ENUM
	mov	r0, r4
	bl	VALUE_TYPE
	bl	check_typedef
	mov	r5, r0
	bl	TYPE_CODE
	ldr	r3, .L13
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L11
	mov	r0, r5
	bl	TYPE_CODE
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L6
	mov	r0, r5
	bl	TYPE_CODE
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L12
.L6:
	mov	r0, r5
	bl	TYPE_LENGTH
	ldr	r7, .L13+12
	mov	r5, r0
	ldr	r0, [r7]
	bl	TYPE_LENGTH
	cmp	r5, r0
	ldrlt	r6, [r7]
.L5:
	mov	r0, r4
	bl	value_as_long
	mov	r1, r0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	rsb	r1, r1, #0
	b	value_from_longest
.L11:
	mov	r0, r4
	bl	value_as_double
	mov	r1, r0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	rsb	r1, r1, #0
	b	value_from_double
.L12:
	ldr	r0, .L13+16
	bl	error
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	TYPE_CODE_FLT
	.word	TYPE_CODE_INT
	.word	TYPE_CODE_BOOL
	.word	builtin_type_int
	.word	.LC0
	.size	value_neg, .-value_neg
	.comm	builtin_type_int,4,4
	.comm	TYPE_CODE_INT,4,4
	.comm	TYPE_CODE_FLT,4,4
	.comm	TYPE_CODE_BOOL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
