	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function combine_validate_cost
_combine_validate_cost:                 ## @combine_validate_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_INSN_UID
	movq	_last_insn_cost@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	movl	$0, %ebx
	cmpq	(%rcx), %rax
	ja	LBB0_2
## %bb.1:
	movq	_uid_insn_cost@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_INSN_UID
	movl	(%r14,%rax,4), %ebx
LBB0_2:
	movq	%r13, %rdi
	callq	_INSN_UID
	movq	_last_insn_cost@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	ja	LBB0_4
## %bb.3:
	movq	_uid_insn_cost@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r13, %rdi
	callq	_INSN_UID
	movl	(%r14,%rax,4), %r12d
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.5:
	movq	%r13, %r15
	callq	_INSN_UID
	xorl	%r13d, %r13d
	movl	$0, %ecx
	movq	_last_insn_cost@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	ja	LBB0_7
## %bb.6:
	movq	_uid_insn_cost@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_INSN_UID
	movl	(%r14,%rax,4), %ecx
LBB0_7:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leal	(%r12,%rax), %r14d
	addl	%ecx, %r14d
	testl	%r12d, %r12d
	cmovlel	%r13d, %r14d
	testl	%eax, %eax
	cmovlel	%r13d, %r14d
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	cmovlel	%r13d, %r14d
	movq	%r15, %r13
	movq	-112(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_9
LBB0_8:
	leal	(%r12,%rbx), %r14d
	xorl	%eax, %eax
	testl	%r12d, %r12d
	cmovlel	%eax, %r14d
	testl	%ebx, %ebx
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	cmovlel	%eax, %r14d
LBB0_9:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_insn_rtx_cost
	movl	%eax, %ebx
	testq	%r15, %r15
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.11:
	movq	%r15, %rdi
	callq	_insn_rtx_cost
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rbx), %r13d
	xorl	%ecx, %ecx
	testl	%ebx, %ebx
	cmovlel	%ecx, %r13d
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	cmovlel	%ecx, %r13d
	jmp	LBB0_12
LBB0_10:
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r13d
LBB0_12:
	movq	_undobuf@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.13:
	callq	_INSN_UID
	xorl	%ebx, %ebx
	movl	$0, %r15d
	movq	_last_insn_cost@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	ja	LBB0_15
## %bb.14:
	movq	_uid_insn_cost@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	(%r12), %rdi
	callq	_INSN_UID
	movl	(%r15,%rax,4), %r15d
LBB0_15:
	movq	(%r12), %rdi
	callq	_PATTERN
	movq	%rax, %rdi
	callq	_insn_rtx_cost
	testl	%r15d, %r15d
	setg	%cl
	testl	%eax, %eax
	setg	%dl
	addl	%r15d, %r14d
	testb	%dl, %cl
	cmovel	%ebx, %r14d
	cmovnel	%eax, %ebx
	addl	%ebx, %r13d
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:
	testl	%r14d, %r14d
	jle	LBB0_26
## %bb.17:
	cmpl	%r14d, %r13d
	jle	LBB0_26
## %bb.18:
	movq	_dump_file@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	testq	%r12, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_19
## %bb.20:
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_INSN_UID
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_INSN_UID
	movq	%rax, %rbx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_INSN_UID
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rbx, %rcx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movq	_dump_file@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	%r14d, %r9d
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_23
LBB0_26:
	movq	_uid_insn_cost@GOTPCREL(%rip), %r14
	movq	%rbx, %r15
	movq	(%r14), %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_INSN_UID
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, (%rbx,%rax,4)
	movq	(%r14), %rbx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_INSN_UID
	movl	%r15d, (%rbx,%rax,4)
	movl	$1, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:
	movq	(%r14), %r14
	callq	_INSN_UID
	movl	$0, (%r14,%rax,4)
	jmp	LBB0_28
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_28
LBB0_22:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_INSN_UID
	movq	%rax, %rbx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_INSN_UID
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_dump_file@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_fprintf
LBB0_23:
	movq	(%rbx), %rdi
	testq	%r15, %r15
	je	LBB0_25
## %bb.24:
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_28
LBB0_25:
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_28:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_last_insn_cost,8,3             ## @last_insn_cost
	.comm	_uid_insn_cost,8,3              ## @uid_insn_cost
	.comm	_undobuf,8,3                    ## @undobuf
	.comm	_dump_file,8,3                  ## @dump_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rejecting combination of insns %d, %d and %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"original costs %d + %d + %d = %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"rejecting combination of insns %d and %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"original costs %d + %d = %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"replacement costs %d + %d = %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"replacement cost %d\n"

	.no_dead_strip	_combine_validate_cost
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function combine_validate_cost
_combine_validate_cost:                 ; @combine_validate_cost
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x4
	mov	x24, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	mov	x0, x1
	bl	_INSN_UID
Lloh0:
	adrp	x28, _last_insn_cost@GOTPAGE
Lloh1:
	ldr	x28, [x28, _last_insn_cost@GOTPAGEOFF]
	ldr	x8, [x28]
Lloh2:
	adrp	x20, _uid_insn_cost@GOTPAGE
Lloh3:
	ldr	x20, [x20, _uid_insn_cost@GOTPAGEOFF]
	cmp	x0, x8
	b.ls	LBB0_2
; %bb.1:
	mov	w26, #0
	b	LBB0_3
LBB0_2:
	ldr	x19, [x20]
	mov	x0, x23
	bl	_INSN_UID
	ldr	w26, [x19, x0, lsl #2]
LBB0_3:
	mov	x0, x21
	bl	_INSN_UID
	ldr	x8, [x28]
	cmp	x0, x8
	b.ls	LBB0_7
; %bb.4:
	mov	w19, #0
	cbz	x22, LBB0_8
LBB0_5:
	mov	x0, x22
	bl	_INSN_UID
	ldr	x8, [x28]
	cmp	x0, x8
	b.ls	LBB0_9
; %bb.6:
	mov	w9, #0
	b	LBB0_10
LBB0_7:
	ldr	x19, [x20]
	mov	x0, x21
	bl	_INSN_UID
	ldr	w19, [x19, x0, lsl #2]
	cbnz	x22, LBB0_5
LBB0_8:
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	cmp	w19, #0
	ccmp	w26, #0, #4, gt
	add	w8, w19, w26
	b	LBB0_11
LBB0_9:
	ldr	x20, [x20]
	mov	x0, x22
	bl	_INSN_UID
	ldr	w9, [x20, x0, lsl #2]
LBB0_10:
	cmp	w19, #0
	ccmp	w26, #0, #4, gt
	ccmp	w9, #0, #4, gt
	add	w8, w19, w26
	str	w9, [sp, #28]                   ; 4-byte Folded Spill
	add	w8, w8, w9
LBB0_11:
	csel	w20, w8, wzr, gt
	mov	x0, x24
	bl	_insn_rtx_cost
	mov	x24, x0
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	cbz	x25, LBB0_13
; %bb.12:
	mov	x0, x25
	bl	_insn_rtx_cost
	mov	x25, x0
	cmp	w24, #0
	ccmp	w0, #0, #4, gt
	add	w8, w0, w24
	csel	w27, w8, wzr, gt
	b	LBB0_14
LBB0_13:
	mov	x27, x24
LBB0_14:
Lloh4:
	adrp	x26, _undobuf@GOTPAGE
Lloh5:
	ldr	x26, [x26, _undobuf@GOTPAGEOFF]
	ldr	x0, [x26]
	cbz	x0, LBB0_19
; %bb.15:
	bl	_INSN_UID
	ldr	x8, [x28]
	cmp	x0, x8
	b.ls	LBB0_17
; %bb.16:
	mov	w28, #0
	b	LBB0_18
LBB0_17:
Lloh6:
	adrp	x8, _uid_insn_cost@GOTPAGE
Lloh7:
	ldr	x8, [x8, _uid_insn_cost@GOTPAGEOFF]
Lloh8:
	ldr	x28, [x8]
	ldr	x0, [x26]
	bl	_INSN_UID
	ldr	w28, [x28, x0, lsl #2]
LBB0_18:
	ldr	x0, [x26]
	bl	_PATTERN
	bl	_insn_rtx_cost
	cmp	w28, #0
	cset	w8, gt
	cmp	w0, #0
	cset	w9, gt
	add	w10, w28, w20
	tst	w8, w9
	csel	w20, w10, wzr, ne
	csel	w8, w0, wzr, ne
	add	w27, w8, w27
LBB0_19:
	cmp	w20, #1
	b.lt	LBB0_24
; %bb.20:
	cmp	w27, w20
	b.le	LBB0_24
; %bb.21:
Lloh9:
	adrp	x26, _dump_file@GOTPAGE
Lloh10:
	ldr	x26, [x26, _dump_file@GOTPAGEOFF]
	ldr	x28, [x26]
	cbz	x28, LBB0_32
; %bb.22:
	cbz	x22, LBB0_27
; %bb.23:
	mov	x0, x22
	bl	_INSN_UID
	mov	x22, x0
	mov	x0, x23
	bl	_INSN_UID
	mov	x23, x0
	mov	x0, x21
	bl	_INSN_UID
	stp	x23, x0, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x28
	mov	x2, x22
	bl	_fprintf
	ldr	x0, [x26]
	stp	x19, x20, [sp, #8]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	b	LBB0_28
LBB0_24:
Lloh15:
	adrp	x20, _uid_insn_cost@GOTPAGE
Lloh16:
	ldr	x20, [x20, _uid_insn_cost@GOTPAGEOFF]
	ldr	x19, [x20]
	mov	x0, x23
	bl	_INSN_UID
	str	w25, [x19, x0, lsl #2]
	ldr	x19, [x20]
	mov	x0, x21
	bl	_INSN_UID
	str	w24, [x19, x0, lsl #2]
	cbz	x22, LBB0_26
; %bb.25:
	ldr	x19, [x20]
	mov	x0, x22
	bl	_INSN_UID
	str	wzr, [x19, x0, lsl #2]
LBB0_26:
	mov	w0, #1
	b	LBB0_33
LBB0_27:
	mov	x0, x23
	bl	_INSN_UID
	mov	x22, x0
	mov	x0, x21
	bl	_INSN_UID
	str	x0, [sp]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x28
	mov	x2, x22
	bl	_fprintf
	ldr	x0, [x26]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	stp	x19, x20, [sp]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	ldr	x2, [sp, #32]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
LBB0_28:
	bl	_fprintf
	ldr	x0, [x26]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_30
; %bb.29:
	stp	x24, x27, [sp]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x25
	b	LBB0_31
LBB0_30:
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x27
LBB0_31:
	bl	_fprintf
LBB0_32:
	mov	w0, #0
LBB0_33:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_last_insn_cost,8,3             ; @last_insn_cost
	.comm	_uid_insn_cost,8,3              ; @uid_insn_cost
	.comm	_undobuf,8,3                    ; @undobuf
	.comm	_dump_file,8,3                  ; @dump_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rejecting combination of insns %d, %d and %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"original costs %d + %d + %d = %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"rejecting combination of insns %d and %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"original costs %d + %d = %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"replacement costs %d + %d = %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"replacement cost %d\n"

	.no_dead_strip	_combine_validate_cost
.subsections_via_symbols
