	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_global_cost_for_size           ## -- Begin function global_cost_for_size
	.p2align	4, 0x90
_global_cost_for_size:                  ## @global_cost_for_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	%edi, %esi
	movq	_target_res_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%esi, %eax
	movq	_target_avail_regs@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jbe	LBB0_1
## %bb.2:
	movq	_target_pres_cost@GOTPCREL(%rip), %rax
	imull	(%rax), %edi
	movl	%esi, %eax
	subl	%ecx, %eax
	jbe	LBB0_4
## %bb.3:
	movq	_target_spill_cost@GOTPCREL(%rip), %rcx
	imull	%edx, %eax
	imull	(%rcx), %eax
	xorl	%edx, %edx
	divl	%esi
	addl	%eax, %edi
	jmp	LBB0_4
LBB0_1:
	movq	_target_small_cost@GOTPCREL(%rip), %rax
	imull	(%rax), %edi
LBB0_4:
	movl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_target_res_regs,4,2            ## @target_res_regs
	.comm	_target_avail_regs,4,2          ## @target_avail_regs
	.comm	_target_small_cost,4,2          ## @target_small_cost
	.comm	_target_pres_cost,4,2           ## @target_pres_cost
	.comm	_target_spill_cost,4,2          ## @target_spill_cost
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_global_cost_for_size           ; -- Begin function global_cost_for_size
	.p2align	2
_global_cost_for_size:                  ; @global_cost_for_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _target_res_regs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _target_res_regs@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	add	w8, w1, w0
	add	w10, w9, w8
Lloh3:
	adrp	x9, _target_avail_regs@GOTPAGE
Lloh4:
	ldr	x9, [x9, _target_avail_regs@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w10, w9
	b.ls	LBB0_4
; %bb.1:
Lloh6:
	adrp	x10, _target_pres_cost@GOTPAGE
Lloh7:
	ldr	x10, [x10, _target_pres_cost@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	mul	w0, w10, w0
	subs	w9, w8, w9
	b.ls	LBB0_3
; %bb.2:
Lloh9:
	adrp	x10, _target_spill_cost@GOTPAGE
Lloh10:
	ldr	x10, [x10, _target_spill_cost@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	mul	w9, w9, w2
	mul	w9, w9, w10
	udiv	w8, w9, w8
	add	w0, w8, w0
LBB0_3:
	ret
LBB0_4:
Lloh12:
	adrp	x8, _target_small_cost@GOTPAGE
Lloh13:
	ldr	x8, [x8, _target_small_cost@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	mul	w0, w8, w0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_target_res_regs,4,2            ; @target_res_regs
	.comm	_target_avail_regs,4,2          ; @target_avail_regs
	.comm	_target_small_cost,4,2          ; @target_small_cost
	.comm	_target_pres_cost,4,2           ; @target_pres_cost
	.comm	_target_spill_cost,4,2          ; @target_spill_cost
.subsections_via_symbols
