	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_too_expensive
_is_too_expensive:                      ## @is_too_expensive
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_n_edges@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_n_basic_blocks@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	leal	20000(,%rbx,4), %ecx
	cmpl	%ecx, %eax
	jle	LBB0_2
## %bb.1:
	movq	_OPT_Wdisabled_optimization@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cltd
	idivl	%ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	jmp	LBB0_4
LBB0_2:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_max_reg_num
	movl	%eax, %edi
	callq	_SBITMAP_SET_SIZE
	imull	%ebx, %eax
	cltq
	shlq	$2, %rax
	movq	_MAX_GCSE_MEMORY@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_5
## %bb.3:
	movq	_OPT_Wdisabled_optimization@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %r15d
	xorl	%eax, %eax
	callq	_max_reg_num
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movl	%r15d, %ecx
LBB0_4:
	movl	%eax, %r8d
	callq	_warning
	movl	$1, %r15d
LBB0_5:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_n_edges,4,2                    ## @n_edges
	.comm	_n_basic_blocks,4,2             ## @n_basic_blocks
	.comm	_OPT_Wdisabled_optimization,4,2 ## @OPT_Wdisabled_optimization
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %d basic blocks and %d edges/basic block"

	.comm	_MAX_GCSE_MEMORY,4,2            ## @MAX_GCSE_MEMORY
L_.str.1:                               ## @.str.1
	.asciz	"%s: %d basic blocks and %d registers"

	.no_dead_strip	_is_too_expensive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_too_expensive
_is_too_expensive:                      ; @is_too_expensive
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
Lloh0:
	adrp	x8, _n_edges@GOTPAGE
Lloh1:
	ldr	x8, [x8, _n_edges@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _n_basic_blocks@GOTPAGE
Lloh4:
	ldr	x21, [x21, _n_basic_blocks@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	w9, #20000
	add	w9, w9, w20, lsl #2
	cmp	w8, w9
	b.le	LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, _OPT_Wdisabled_optimization@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OPT_Wdisabled_optimization@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	sdiv	w4, w8, w20
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	b	LBB0_4
LBB0_2:
	bl	_max_reg_num
	bl	_SBITMAP_SET_SIZE
	mul	w8, w0, w20
Lloh10:
	adrp	x9, _MAX_GCSE_MEMORY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MAX_GCSE_MEMORY@GOTPAGEOFF]
Lloh12:
	ldrsw	x9, [x9]
	cmp	x9, w8, sxtw #2
	b.hs	LBB0_5
; %bb.3:
Lloh13:
	adrp	x8, _OPT_Wdisabled_optimization@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OPT_Wdisabled_optimization@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
	ldr	w21, [x21]
	bl	_max_reg_num
	mov	x4, x0
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x21
LBB0_4:
	bl	_warning
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_n_edges,4,2                    ; @n_edges
	.comm	_n_basic_blocks,4,2             ; @n_basic_blocks
	.comm	_OPT_Wdisabled_optimization,4,2 ; @OPT_Wdisabled_optimization
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %d basic blocks and %d edges/basic block"

	.comm	_MAX_GCSE_MEMORY,4,2            ; @MAX_GCSE_MEMORY
l_.str.1:                               ; @.str.1
	.asciz	"%s: %d basic blocks and %d registers"

	.no_dead_strip	_is_too_expensive
.subsections_via_symbols
