	.file	"extr_cfgloopanal.c_global_cost_for_size.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	global_cost_for_size
	.type	global_cost_for_size, @function
global_cost_for_size:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR target_res_regs[rip]
	add	esi, edi
	mov	eax, DWORD PTR target_avail_regs[rip]
	add	ecx, esi
	cmp	ecx, eax
	ja	.L2
	imul	edi, DWORD PTR target_small_cost[rip]
.L1:
	mov	eax, edi
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	imul	edi, DWORD PTR target_pres_cost[rip]
	cmp	eax, esi
	jnb	.L1
	imul	edx, DWORD PTR target_spill_cost[rip]
	mov	ecx, esi
	sub	ecx, eax
	mov	eax, ecx
	imul	eax, edx
	xor	edx, edx
	div	esi
	add	edi, eax
	mov	eax, edi
	ret
	.cfi_endproc
.LFE0:
	.size	global_cost_for_size, .-global_cost_for_size
	.comm	target_spill_cost,4,4
	.comm	target_small_cost,4,4
	.comm	target_res_regs,4,4
	.comm	target_pres_cost,4,4
	.comm	target_avail_regs,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_cfgloopanal.c_global_cost_for_size.c"
	.text
	.global	__aeabi_uidiv
	.align	2
	.global	global_cost_for_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	global_cost_for_size, %function
global_cost_for_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L6
	ldr	ip, .L6+4
	ldr	r3, [r3]
	ldr	ip, [ip]
	add	r1, r1, r0
	add	r3, r1, r3
	cmp	r3, ip
	push	{r4, lr}
	bhi	.L2
	ldr	r3, .L6+8
	ldr	r4, [r3]
	mul	r4, r0, r4
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L2:
	ldr	r3, .L6+12
	cmp	ip, r1
	ldr	r4, [r3]
	mul	r4, r0, r4
	bcs	.L1
	ldr	r3, .L6+16
	sub	r0, r1, ip
	ldr	r3, [r3]
	mul	r2, r3, r2
	mul	r0, r2, r0
	bl	__aeabi_uidiv
	add	r4, r4, r0
	mov	r0, r4
	pop	{r4, pc}
.L7:
	.align	2
.L6:
	.word	target_res_regs
	.word	target_avail_regs
	.word	target_small_cost
	.word	target_pres_cost
	.word	target_spill_cost
	.size	global_cost_for_size, .-global_cost_for_size
	.comm	target_spill_cost,4,4
	.comm	target_small_cost,4,4
	.comm	target_res_regs,4,4
	.comm	target_pres_cost,4,4
	.comm	target_avail_regs,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
