	.file	"extr_builtins.c_expand_builtin_powi.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	expand_builtin_powi, @function
expand_builtin_powi:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	mov	esi, 1
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	TREE_OPERAND@PLT
	mov	ecx, DWORD PTR VOID_TYPE[rip]
	mov	edx, DWORD PTR INTEGER_TYPE[rip]
	mov	esi, DWORD PTR REAL_TYPE[rip]
	mov	edi, eax
	mov	ebp, eax
	call	validate_arglist@PLT
	test	eax, eax
	jne	.L20
	add	rsp, 8
	.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
.L20:
	.cfi_restore_state
	mov	edi, ebp
	call	TREE_VALUE@PLT
	mov	edi, ebp
	mov	r15d, eax
	call	TREE_CHAIN@PLT
	mov	edi, eax
	call	TREE_VALUE@PLT
	mov	edi, r14d
	mov	ebp, eax
	call	TREE_TYPE@PLT
	mov	edi, eax
	call	TYPE_MODE@PLT
	mov	edi, ebp
	mov	r14d, eax
	call	TREE_CODE@PLT
	cmp	rax, QWORD PTR INTEGER_CST[rip]
	je	.L21
.L3:
	mov	esi, DWORD PTR MODE_INT[rip]
	mov	edi, DWORD PTR INT_TYPE_SIZE[rip]
	xor	edx, edx
	call	mode_for_size@PLT
	cmp	DWORD PTR NULL_RTX[rip], r12d
	mov	ebx, eax
	je	.L22
.L8:
	xor	ecx, ecx
	mov	esi, r13d
	mov	edi, r15d
	mov	edx, r14d
	call	expand_expr@PLT
	mov	edi, eax
	mov	r13d, eax
	call	GET_MODE@PLT
	cmp	r14d, eax
	je	.L9
	mov	esi, r13d
	xor	edx, edx
	mov	edi, r14d
	call	convert_to_mode@PLT
	mov	r13d, eax
.L9:
	mov	edi, ebp
	xor	ecx, ecx
	xor	esi, esi
	mov	edx, ebx
	call	expand_expr@PLT
	mov	edi, eax
	mov	ebp, eax
	call	GET_MODE@PLT
	cmp	ebx, eax
	je	.L10
	mov	esi, ebp
	xor	edx, edx
	mov	edi, ebx
	call	convert_to_mode@PLT
	mov	ebp, eax
.L10:
	mov	rax, QWORD PTR powi_optab[rip]
	movsx	rdx, r14d
	mov	r9d, r13d
	mov	ecx, r14d
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	esi, r12d
	mov	r8d, 2
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax+rdx*4]
	mov	edx, DWORD PTR LCT_CONST_MAKE_BLOCK[rip]
	push	rbx
	.cfi_def_cfa_offset 80
	push	rbp
	.cfi_def_cfa_offset 88
	push	r14
	.cfi_def_cfa_offset 96
	call	emit_library_call_value@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 64
	add	rsp, 8
	.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
.L21:
	.cfi_restore_state
	mov	edi, ebp
	call	TREE_CONSTANT_OVERFLOW@PLT
	test	eax, eax
	jne	.L3
	mov	edi, ebp
	call	TREE_INT_CST_LOW@PLT
	mov	edi, ebp
	mov	ebx, eax
	call	TREE_INT_CST_HIGH@PLT
	test	eax, eax
	jne	.L4
.L7:
	lea	eax, 1[rbx]
	cmp	eax, 3
	jbe	.L5
	mov	eax, DWORD PTR optimize_size[rip]
	test	eax, eax
	jne	.L3
	mov	edi, ebx
	call	powi_cost@PLT
	cmp	rax, QWORD PTR POWI_MAX_MULTS[rip]
	jg	.L3
.L5:
	mov	edx, DWORD PTR VOIDmode[rip]
	mov	esi, r13d
	mov	edi, r15d
	xor	ecx, ecx
	call	expand_expr@PLT
	mov	edi, r14d
	mov	esi, eax
	call	force_reg@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edx, ebx
	mov	esi, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	edi, eax
	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	expand_powi@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	edi, r14d
	call	gen_reg_rtx@PLT
	mov	r12d, eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, ebp
	call	TREE_INT_CST_HIGH@PLT
	cmp	eax, -1
	jne	.L3
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	expand_builtin_powi, .-expand_builtin_powi
	.comm	powi_optab,8,8
	.comm	optimize_size,4,4
	.comm	VOIDmode,4,4
	.comm	VOID_TYPE,4,4
	.comm	REAL_TYPE,4,4
	.comm	POWI_MAX_MULTS,8,8
	.comm	NULL_RTX,4,4
	.comm	MODE_INT,4,4
	.comm	LCT_CONST_MAKE_BLOCK,4,4
	.comm	INT_TYPE_SIZE,4,4
	.comm	INTEGER_TYPE,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_builtins.c_expand_builtin_powi.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	expand_builtin_powi, %function
expand_builtin_powi:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r1
	sub	sp, sp, #28
	mov	r1, #1
	mov	r6, r2
	mov	r7, r0
	bl	TREE_OPERAND
	ldr	r3, .L23
	ldr	r2, .L23+4
	ldr	r1, .L23+8
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	r5, r0
	bl	validate_arglist
	cmp	r0, #0
	bne	.L20
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L20:
	mov	r0, r5
	bl	TREE_VALUE
	mov	r9, r0
	mov	r0, r5
	bl	TREE_CHAIN
	bl	TREE_VALUE
	mov	r8, r0
	mov	r0, r7
	bl	TREE_TYPE
	bl	TYPE_MODE
	mov	r5, r0
	mov	r0, r8
	bl	TREE_CODE
	ldr	r3, .L23+12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L21
.L3:
	ldr	r3, .L23+16
	ldr	r2, .L23+20
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r2, #0
	bl	mode_for_size
	ldr	r3, .L23+24
	mov	r7, r0
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L22
.L8:
	mov	r1, r6
	mov	r3, #0
	mov	r2, r5
	mov	r0, r9
	bl	expand_expr
	mov	r6, r0
	bl	GET_MODE
	cmp	r5, r0
	beq	.L9
	mov	r1, r6
	mov	r2, #0
	mov	r0, r5
	bl	convert_to_mode
	mov	r6, r0
.L9:
	mov	r3, #0
	mov	r0, r8
	mov	r1, r3
	mov	r2, r7
	bl	expand_expr
	mov	r8, r0
	bl	GET_MODE
	cmp	r7, r0
	beq	.L10
	mov	r1, r8
	mov	r2, #0
	mov	r0, r7
	bl	convert_to_mode
	mov	r8, r0
.L10:
	mov	ip, #2
	ldr	r3, .L23+28
	mov	r1, r4
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L23+32
	ldr	r0, [r2, r5, lsl #2]
	ldr	r2, [r3]
	mov	r3, r5
	str	r7, [sp, #16]
	str	r8, [sp, #12]
	str	r5, [sp, #8]
	str	r6, [sp, #4]
	str	ip, [sp]
	bl	emit_library_call_value
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L21:
	mov	r0, r8
	bl	TREE_CONSTANT_OVERFLOW
	cmp	r0, #0
	bne	.L3
	mov	r0, r8
	bl	TREE_INT_CST_LOW
	mov	r7, r0
	mov	r0, r8
	bl	TREE_INT_CST_HIGH
	cmp	r0, #0
	bne	.L4
.L7:
	add	r3, r7, #1
	cmp	r3, #3
	bls	.L5
	ldr	r3, .L23+36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	mov	r0, r7
	bl	powi_cost
	ldr	r3, .L23+40
	ldr	r3, [r3]
	cmp	r0, r3
	bgt	.L3
.L5:
	ldr	r3, .L23+44
	mov	r1, r6
	ldr	r2, [r3]
	mov	r0, r9
	mov	r3, #0
	bl	expand_expr
	mov	r1, r0
	mov	r0, r5
	bl	force_reg
	mov	r2, r7
	mov	r1, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	expand_powi
.L22:
	mov	r0, r5
	bl	gen_reg_rtx
	mov	r4, r0
	b	.L8
.L4:
	mov	r0, r8
	bl	TREE_INT_CST_HIGH
	cmn	r0, #1
	bne	.L3
	b	.L7
.L24:
	.align	2
.L23:
	.word	VOID_TYPE
	.word	INTEGER_TYPE
	.word	REAL_TYPE
	.word	INTEGER_CST
	.word	INT_TYPE_SIZE
	.word	MODE_INT
	.word	NULL_RTX
	.word	powi_optab
	.word	LCT_CONST_MAKE_BLOCK
	.word	optimize_size
	.word	POWI_MAX_MULTS
	.word	VOIDmode
	.size	expand_builtin_powi, .-expand_builtin_powi
	.comm	powi_optab,4,4
	.comm	optimize_size,4,4
	.comm	VOIDmode,4,4
	.comm	VOID_TYPE,4,4
	.comm	REAL_TYPE,4,4
	.comm	POWI_MAX_MULTS,4,4
	.comm	NULL_RTX,4,4
	.comm	MODE_INT,4,4
	.comm	LCT_CONST_MAKE_BLOCK,4,4
	.comm	INT_TYPE_SIZE,4,4
	.comm	INTEGER_TYPE,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
