	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hypersparc_adjust_cost
_hypersparc_adjust_cost:                ## @hypersparc_adjust_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %r14d
	movl	%edi, %ebx
	callq	_PATTERN
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_PATTERN
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_recog_memoized
	testq	%rax, %rax
	js	LBB0_24
## %bb.1:
	movl	%r12d, %edi
	callq	_recog_memoized
	testq	%rax, %rax
	js	LBB0_24
## %bb.2:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	callq	_get_attr_type
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_get_attr_type
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_REG_NOTE_KIND
	cmpl	$134, %eax
	je	LBB0_22
## %bb.3:
	testl	%eax, %eax
	jne	LBB0_24
## %bb.4:
	addl	$-128, %r15d
	cmpl	$5, %r15d
	ja	LBB0_24
## %bb.5:
	movl	$22, %eax
	btl	%r15d, %eax
	jae	LBB0_6
## %bb.10:
	cmpl	$131, %r12d
	je	LBB0_12
## %bb.11:
	cmpl	$128, %r12d
	jne	LBB0_24
LBB0_12:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_GET_CODE
	movq	_SET@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_17
## %bb.13:
	movl	%r15d, %edi
	callq	_GET_CODE
	cmpl	(%rbx), %eax
	jne	LBB0_17
## %bb.14:
	movl	%r15d, %edi
	callq	_SET_DEST
	movl	%eax, %edi
	callq	_GET_CODE
	movq	_MEM@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_17
## %bb.15:
	movl	%r14d, %edi
	callq	_SET_SRC
	movl	%eax, %edi
	callq	_GET_CODE
	cmpl	(%rbx), %eax
	jne	LBB0_17
## %bb.16:
	movl	%r15d, %edi
	callq	_SET_DEST
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_SET_SRC
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_rtx_equal_p
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	addl	$8, %r13d
	jmp	LBB0_24
LBB0_22:
	movq	_TYPE_IALU@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %r15d
	je	LBB0_25
## %bb.23:
	movq	_TYPE_SHIFT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	jne	LBB0_24
	jmp	LBB0_25
LBB0_6:
	movl	$9, %eax
	btl	%r15d, %eax
	jae	LBB0_19
## %bb.7:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_GET_CODE
	movq	_SET@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_24
## %bb.8:
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	callq	_GET_CODE
	cmpl	(%r14), %eax
	jne	LBB0_24
## %bb.9:
	movl	%r15d, %edi
	callq	_SET_DEST
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_SET_SRC
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_rtx_equal_p
	movl	%eax, %ecx
	leal	3(%r13), %eax
	testl	%ecx, %ecx
	cmovnel	%r13d, %eax
	jmp	LBB0_25
LBB0_17:
	addl	$2, %r13d
LBB0_24:
	movl	%r13d, %eax
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_TYPE_COMPARE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %r12d
	je	LBB0_25
## %bb.20:
	movq	_TYPE_FPCMP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_24
## %bb.21:
	decl	%r13d
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_SET,4,2                        ## @SET
	.comm	_MEM,4,2                        ## @MEM
	.comm	_TYPE_COMPARE,4,2               ## @TYPE_COMPARE
	.comm	_TYPE_FPCMP,4,2                 ## @TYPE_FPCMP
	.comm	_TYPE_IALU,4,2                  ## @TYPE_IALU
	.comm	_TYPE_SHIFT,4,2                 ## @TYPE_SHIFT
	.no_dead_strip	_hypersparc_adjust_cost
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hypersparc_adjust_cost
_hypersparc_adjust_cost:                ; @hypersparc_adjust_cost
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	bl	_PATTERN
	mov	x20, x0
	mov	x0, x22
	bl	_PATTERN
	mov	x21, x0
	mov	x0, x24
	bl	_recog_memoized
	tbnz	x0, #63, LBB0_21
; %bb.1:
	mov	x0, x22
	bl	_recog_memoized
	tbnz	x0, #63, LBB0_21
; %bb.2:
	mov	x0, x24
	bl	_get_attr_type
	mov	x24, x0
	mov	x0, x22
	bl	_get_attr_type
	mov	x22, x0
	mov	x0, x23
	bl	_REG_NOTE_KIND
	cmp	w0, #134
	b.eq	LBB0_14
; %bb.3:
	cbnz	w0, LBB0_21
; %bb.4:
	sub	w8, w24, #128
	cmp	w8, #5
	b.hi	LBB0_21
; %bb.5:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #22
	tst	w8, w9
	b.eq	LBB0_16
; %bb.6:
	cmp	w22, #131
	b.eq	LBB0_8
; %bb.7:
	cmp	w22, #128
	b.ne	LBB0_21
LBB0_8:
	mov	x0, x20
	bl	_GET_CODE
Lloh0:
	adrp	x22, _SET@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SET@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.9:
	mov	x0, x21
	bl	_GET_CODE
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.10:
	mov	x0, x21
	bl	_SET_DEST
	bl	_GET_CODE
Lloh2:
	adrp	x22, _MEM@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MEM@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.11:
	mov	x0, x20
	bl	_SET_SRC
	bl	_GET_CODE
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.12:
	mov	x0, x21
	bl	_SET_DEST
	mov	w1, #0
	bl	_XEXP
	mov	x21, x0
	mov	x0, x20
	bl	_SET_SRC
	mov	w1, #0
	bl	_XEXP
	mov	x1, x0
	mov	x0, x21
	bl	_rtx_equal_p
	cbz	w0, LBB0_20
; %bb.13:
	add	w19, w19, #8
	b	LBB0_21
LBB0_14:
Lloh4:
	adrp	x8, _TYPE_IALU@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TYPE_IALU@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _TYPE_SHIFT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TYPE_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w24, w8
	ccmp	w24, w9, #4, ne
	b.ne	LBB0_21
LBB0_15:
	mov	w19, #0
	b	LBB0_21
LBB0_16:
	mov	w9, #9
	tst	w8, w9
	b.eq	LBB0_22
; %bb.17:
	mov	x0, x20
	bl	_GET_CODE
Lloh10:
	adrp	x22, _SET@GOTPAGE
Lloh11:
	ldr	x22, [x22, _SET@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.18:
	mov	x0, x21
	bl	_GET_CODE
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_21
; %bb.19:
	mov	x0, x21
	bl	_SET_DEST
	mov	x21, x0
	mov	x0, x20
	bl	_SET_SRC
	mov	x1, x0
	mov	x0, x21
	bl	_rtx_equal_p
	add	w8, w19, #3
	cmp	w0, #0
	csel	w19, w8, w19, eq
	b	LBB0_21
LBB0_20:
	add	w19, w19, #2
LBB0_21:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_22:
Lloh12:
	adrp	x8, _TYPE_COMPARE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TYPE_COMPARE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_15
; %bb.23:
Lloh15:
	adrp	x8, _TYPE_FPCMP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TYPE_FPCMP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_21
; %bb.24:
	sub	w19, w19, #1
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SET,4,2                        ; @SET
	.comm	_MEM,4,2                        ; @MEM
	.comm	_TYPE_COMPARE,4,2               ; @TYPE_COMPARE
	.comm	_TYPE_FPCMP,4,2                 ; @TYPE_FPCMP
	.comm	_TYPE_IALU,4,2                  ; @TYPE_IALU
	.comm	_TYPE_SHIFT,4,2                 ; @TYPE_SHIFT
	.no_dead_strip	_hypersparc_adjust_cost
.subsections_via_symbols
