	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gain_for_invariant
_gain_for_invariant:                    ## @gain_for_invariant
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_get_inv_cost
	movq	_actual_stamp@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	(%rbx), %edi
	addl	%r12d, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_global_cost_for_size
	movl	%eax, %ebx
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_global_cost_for_size
	subl	%ebx, %eax
	addl	-36(%rbp), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_actual_stamp,4,2               ## @actual_stamp
	.no_dead_strip	_gain_for_invariant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gain_for_invariant
_gain_for_invariant:                    ; @gain_for_invariant
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	add	x1, sp, #12
	mov	x2, x22
	bl	_get_inv_cost
Lloh0:
	adrp	x8, _actual_stamp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _actual_stamp@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w8, [x22]
	add	w0, w8, w21
	mov	x1, x20
	mov	x2, x19
	bl	_global_cost_for_size
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_global_cost_for_size
	ldr	w8, [sp, #12]
	sub	w9, w0, w22
	add	w0, w9, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_actual_stamp,4,2               ; @actual_stamp
	.no_dead_strip	_gain_for_invariant
.subsections_via_symbols
