	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_cost
_copy_cost:                             ## @copy_cost
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %r14d
	movl	%edi, %r13d
	callq	_GET_CODE
	movq	_SCRATCH@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.1:
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_PREFERRED_RELOAD_CLASS
	movl	%eax, %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -48(%rbp)
	movl	$0, -56(%rbp)
	movq	_targetm@GOTPCREL(%rip), %rax
	leaq	-56(%rbp), %r8
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	*(%rax)
	movq	_NO_REGS@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_2
## %bb.3:
	movl	%r13d, %edi
	callq	_MEM_P
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	cmpl	(%rbx), %r15d
	je	LBB0_5
## %bb.7:
	movl	%r13d, %edi
	callq	_REG_P
	movl	-56(%rbp), %ebx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_move_cost@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %r14
	movl	%r13d, %edi
	callq	_REGNO
	movl	%eax, %edi
	callq	_REGNO_REG_CLASS
	cltq
	movq	(%r14,%rax,8), %rax
	movslq	%r15d, %rcx
	addl	(%rax,%rcx,4), %ebx
	jmp	LBB0_10
LBB0_2:
	movq	_move_cost@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r14d, %edx
	movq	(%rcx,%rdx,8), %rcx
	movslq	%eax, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movslq	%r15d, %rdx
	movl	-56(%rbp), %r15d
	addl	(%rcx,%rdx,4), %r15d
	leaq	-56(%rbp), %r8
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	%r12d, %ecx
	callq	_copy_cost
	jmp	LBB0_6
LBB0_5:
	movl	%r15d, %esi
	movl	-56(%rbp), %r15d
	movl	%r14d, %edi
	movl	%r12d, %edx
	callq	_MEMORY_MOVE_COST
LBB0_6:
	movl	%eax, %ebx
	addl	%r15d, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	$1, %edi
	callq	_COSTS_N_INSNS
	addl	%eax, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_REGS,4,2                    ## @NO_REGS
	.comm	_SCRATCH,8,3                    ## @SCRATCH
	.comm	_targetm,8,3                    ## @targetm
	.comm	_move_cost,8,3                  ## @move_cost
	.no_dead_strip	_copy_cost
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_cost
_copy_cost:                             ; @copy_cost
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_GET_CODE
Lloh0:
	adrp	x8, _SCRATCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCRATCH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_10
LBB0_2:
	mov	x0, x20
	mov	x1, x22
	bl	_PREFERRED_RELOAD_CLASS
	mov	x22, x0
	str	x23, [sp, #8]
	str	wzr, [sp]
Lloh3:
	adrp	x8, _targetm@GOTPAGE
Lloh4:
	ldr	x8, [x8, _targetm@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	x4, sp
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x19
	blr	x8
Lloh6:
	adrp	x23, _NO_REGS@GOTPAGE
Lloh7:
	ldr	x23, [x23, _NO_REGS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_MEM_P
	cbnz	x0, LBB0_8
; %bb.4:
	ldr	w8, [x23]
	cmp	w22, w8
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_REG_P
	ldr	w21, [sp]
	cbz	x0, LBB0_9
; %bb.6:
Lloh8:
	adrp	x8, _move_cost@GOTPAGE
Lloh9:
	ldr	x8, [x8, _move_cost@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x19, [x8, w19, uxtw #3]
	mov	x0, x20
	bl	_REGNO
	bl	_REGNO_REG_CLASS
	sbfiz	x8, x0, #3, #32
	ldr	x8, [x19, x8]
	ldr	w8, [x8, w22, sxtw #2]
	add	w0, w8, w21
	b	LBB0_10
LBB0_7:
	mov	x2, x0
Lloh11:
	adrp	x8, _move_cost@GOTPAGE
Lloh12:
	ldr	x8, [x8, _move_cost@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x8, [x8, w19, uxtw #3]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	w8, [x8, w22, sxtw #2]
	ldr	w9, [sp]
	add	w22, w9, w8
	mov	x4, sp
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	bl	_copy_cost
	add	w0, w22, w0
	b	LBB0_10
LBB0_8:
	ldr	w20, [sp]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_MEMORY_MOVE_COST
	add	w0, w0, w20
	b	LBB0_10
LBB0_9:
	mov	w0, #1
	bl	_COSTS_N_INSNS
	add	w0, w0, w21
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_REGS,4,2                    ; @NO_REGS
	.comm	_SCRATCH,8,3                    ; @SCRATCH
	.comm	_targetm,8,3                    ; @targetm
	.comm	_move_cost,8,3                  ; @move_cost
	.no_dead_strip	_copy_cost
.subsections_via_symbols
