	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_estimate_move_cost             ## -- Begin function estimate_move_cost
	.p2align	4, 0x90
_estimate_move_cost:                    ## @estimate_move_cost
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_int_size_in_bytes
	movl	%eax, %ecx
	movl	$4, %eax
	testl	%ecx, %ecx
	js	LBB0_3
## %bb.1:
	movq	_MOVE_MAX_PIECES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_MOVE_RATIO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	%esi, %edx
	cmpl	%edx, %ecx
	jg	LBB0_3
## %bb.2:
	leal	(%rcx,%rsi), %eax
	decl	%eax
	cltd
	idivl	%esi
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MOVE_MAX_PIECES,4,2            ## @MOVE_MAX_PIECES
	.comm	_MOVE_RATIO,4,2                 ## @MOVE_RATIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_estimate_move_cost             ; -- Begin function estimate_move_cost
	.p2align	2
_estimate_move_cost:                    ; @estimate_move_cost
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_int_size_in_bytes
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MOVE_MAX_PIECES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MOVE_MAX_PIECES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MOVE_RATIO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MOVE_RATIO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w9, w9, w8
	cmp	w0, w9
	b.le	LBB0_3
LBB0_2:
	mov	w0, #4
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	add	w9, w0, w8
	sub	w9, w9, #1
	sdiv	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MOVE_MAX_PIECES,4,2            ; @MOVE_MAX_PIECES
	.comm	_MOVE_RATIO,4,2                 ; @MOVE_RATIO
.subsections_via_symbols
