	.file	"extr_fold-const.c_optimize_minmax_comparison.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	optimize_minmax_comparison, @function
optimize_minmax_comparison:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edi
	mov	edi, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	STRIP_SIGN_NOPS@PLT
	mov	edi, r12d
	call	TREE_CODE@PLT
	mov	esi, 1
	mov	edi, r12d
	mov	rbx, rax
	call	TREE_OPERAND@PLT
	mov	esi, r13d
	mov	ebp, eax
	mov	edi, eax
	call	tree_int_cst_equal@PLT
	mov	esi, r13d
	mov	edi, ebp
	mov	DWORD PTR 8[rsp], eax
	call	tree_int_cst_lt@PLT
	xor	esi, esi
	mov	edi, r12d
	mov	DWORD PTR 12[rsp], eax
	call	TREE_OPERAND@PLT
	cmp	DWORD PTR MIN_EXPR[rip], ebx
	mov	DWORD PTR 4[rsp], eax
	je	.L2
	cmp	DWORD PTR MAX_EXPR[rip], ebx
	je	.L2
.L9:
	mov	eax, DWORD PTR NULL_TREE[rip]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, r13d
	call	TREE_CODE@PLT
	cmp	rax, QWORD PTR INTEGER_CST[rip]
	jne	.L9
	mov	edi, r13d
	call	TREE_CONSTANT_OVERFLOW@PLT
	test	rax, rax
	jne	.L9
	mov	edi, ebp
	call	TREE_CODE@PLT
	cmp	rax, QWORD PTR INTEGER_CST[rip]
	jne	.L9
	mov	edi, ebp
	call	TREE_CONSTANT_OVERFLOW@PLT
	test	rax, rax
	jne	.L9
	cmp	r14d, 132
	je	.L5
	ja	.L6
	cmp	r14d, 131
	jne	.L29
	cmp	DWORD PTR MAX_EXPR[rip], ebx
	je	.L30
	cmp	DWORD PTR MIN_EXPR[rip], ebx
	jne	.L19
	mov	eax, DWORD PTR 8[rsp]
	or	eax, DWORD PTR 12[rsp]
	jne	.L27
.L19:
	mov	edx, DWORD PTR 4[rsp]
	mov	ecx, r13d
	mov	esi, r15d
	mov	edi, 131
.L25:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	fold_build2@PLT
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore_state
	cmp	r14d, 127
	jbe	.L9
	xor	esi, esi
	mov	edi, r14d
	call	invert_tree_comparison@PLT
	mov	ecx, r13d
	mov	edx, r12d
	mov	esi, r15d
	mov	edi, eax
	call	optimize_minmax_comparison
	mov	edi, eax
	mov	eax, DWORD PTR NULL_TREE[rip]
	test	edi, edi
	je	.L1
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	invert_truthvalue@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmp	r14d, 133
	jne	.L9
	cmp	DWORD PTR MAX_EXPR[rip], ebx
	je	.L31
	mov	edx, DWORD PTR 8[rsp]
	test	edx, edx
	jne	.L32
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L27
.L16:
	mov	edx, DWORD PTR 4[rsp]
	mov	ecx, r13d
	mov	esi, r15d
	mov	edi, 133
	jmp	.L25
.L5:
	mov	ecx, r13d
	mov	edx, r12d
	mov	esi, r15d
	mov	edi, 131
	call	optimize_minmax_comparison
	mov	ecx, r13d
	mov	edx, r12d
	mov	esi, r15d
	mov	edi, 133
	mov	r14d, eax
	call	optimize_minmax_comparison
	mov	edi, DWORD PTR TRUTH_ORIF_EXPR[rip]
	mov	ecx, r14d
	mov	esi, r15d
	mov	edx, eax
	jmp	.L25
.L31:
	mov	esi, DWORD PTR 8[rsp]
	test	esi, esi
	jne	.L33
	mov	ecx, DWORD PTR 12[rsp]
	test	ecx, ecx
	jne	.L16
.L27:
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, DWORD PTR integer_zero_node[rip]
.L26:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edi, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	omit_one_operand@PLT
.L30:
	.cfi_restore_state
	mov	eax, DWORD PTR 8[rsp]
	or	eax, DWORD PTR 12[rsp]
	jne	.L19
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, DWORD PTR integer_one_node[rip]
	jmp	.L26
.L32:
	mov	edx, DWORD PTR 4[rsp]
	mov	ecx, r13d
	mov	esi, r15d
	mov	edi, 132
	jmp	.L25
.L33:
	mov	edx, DWORD PTR 4[rsp]
	mov	ecx, r13d
	mov	esi, r15d
	mov	edi, 130
	jmp	.L25
	.cfi_endproc
.LFE0:
	.size	optimize_minmax_comparison, .-optimize_minmax_comparison
	.comm	integer_zero_node,4,4
	.comm	integer_one_node,4,4
	.comm	TRUTH_ORIF_EXPR,4,4
	.comm	NULL_TREE,4,4
	.comm	MIN_EXPR,4,4
	.comm	MAX_EXPR,4,4
	.comm	INTEGER_CST,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_fold-const.c_optimize_minmax_comparison.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	optimize_minmax_comparison, %function
optimize_minmax_comparison:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	sub	sp, sp, #12
	mov	r8, r0
	mov	r0, r2
	mov	r5, r3
	mov	r9, r1
	bl	STRIP_SIGN_NOPS
	mov	r0, r4
	bl	TREE_CODE
	mov	r1, #1
	mov	r6, r0
	mov	r0, r4
	bl	TREE_OPERAND
	mov	r1, r5
	mov	r7, r0
	bl	tree_int_cst_equal
	mov	r1, r5
	mov	fp, r0
	mov	r0, r7
	bl	tree_int_cst_lt
	mov	r3, r0
	mov	r1, #0
	mov	r0, r4
	str	r3, [sp, #4]
	bl	TREE_OPERAND
	ldr	r10, .L32
	str	r0, [sp]
	ldr	r3, [r10]
	cmp	r6, r3
	beq	.L2
	ldr	r3, .L32+4
	ldr	r3, [r3]
	cmp	r6, r3
	beq	.L2
.L5:
	ldr	r3, .L32+8
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, r5
	bl	TREE_CODE
	ldr	r3, .L32+12
	ldr	r1, [r3]
	cmp	r0, r1
	bne	.L5
	mov	r0, r5
	bl	TREE_CONSTANT_OVERFLOW
	cmp	r0, #0
	bne	.L5
	mov	r0, r7
	bl	TREE_CODE
	ldr	r3, .L32+12
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L5
	mov	r0, r7
	bl	TREE_CONSTANT_OVERFLOW
	cmp	r0, #0
	bne	.L5
	sub	r3, r8, #128
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L6
.L6:
	ldr	r3, .L32+4
	ldr	r3, [r3]
	cmp	r6, r3
	beq	.L28
	cmp	fp, #0
	bne	.L29
	ldr	r3, [sp, #4]
	cmp	r3, #0
	bne	.L26
.L16:
	mov	r3, r5
	mov	r1, r9
	mov	r0, #133
	ldr	r2, [sp]
.L24:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	fold_build2
.L8:
	ldr	ip, .L32+16
	mov	r3, r5
	mov	r2, r4
	mov	r1, r9
	mov	r0, #133
	ldr	r6, [ip]
	bl	optimize_minmax_comparison
	mov	r3, r5
	mov	r2, r4
	mov	r5, r0
	mov	r1, r9
	mov	r0, #131
	bl	optimize_minmax_comparison
	mov	r2, r5
	mov	r3, r0
	mov	r1, r9
	mov	r0, r6
	b	.L24
.L9:
	ldr	r3, .L32+4
	ldr	r3, [r3]
	cmp	r6, r3
	beq	.L30
	ldr	r3, [r10]
	cmp	r6, r3
	bne	.L19
	ldr	r3, [sp, #4]
	orrs	r3, fp, r3
	bne	.L26
.L19:
	mov	r3, r5
	mov	r1, r9
	mov	r0, #131
	ldr	r2, [sp]
	b	.L24
.L10:
	mov	r1, #0
	mov	r0, r8
	bl	invert_tree_comparison
	mov	r3, r5
	mov	r2, r4
	mov	r1, r9
	bl	optimize_minmax_comparison
	cmp	r0, #0
	beq	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	invert_truthvalue
.L28:
	cmp	fp, #0
	bne	.L31
	ldr	r3, [sp, #4]
	cmp	r3, #0
	bne	.L16
.L26:
	ldr	r3, .L32+20
.L25:
	mov	r0, r9
	ldr	r2, [sp]
	ldr	r1, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	omit_one_operand
.L30:
	ldr	r3, [sp, #4]
	orrs	r3, fp, r3
	ldreq	r3, .L32+24
	beq	.L25
	b	.L19
.L29:
	mov	r3, r5
	mov	r1, r9
	mov	r0, #132
	ldr	r2, [sp]
	b	.L24
.L31:
	mov	r3, r5
	mov	r1, r9
	mov	r0, #130
	ldr	r2, [sp]
	b	.L24
.L33:
	.align	2
.L32:
	.word	MIN_EXPR
	.word	MAX_EXPR
	.word	NULL_TREE
	.word	INTEGER_CST
	.word	TRUTH_ORIF_EXPR
	.word	integer_zero_node
	.word	integer_one_node
	.size	optimize_minmax_comparison, .-optimize_minmax_comparison
	.comm	integer_zero_node,4,4
	.comm	integer_one_node,4,4
	.comm	TRUTH_ORIF_EXPR,4,4
	.comm	NULL_TREE,4,4
	.comm	MIN_EXPR,4,4
	.comm	MAX_EXPR,4,4
	.comm	INTEGER_CST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
