	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function supersparc_adjust_cost
_supersparc_adjust_cost:                ## @supersparc_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, %ebx
	movl	%esi, %r14d
	movl	%edi, %r15d
	callq	_recog_memoized
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rbx
	movl	%r15d, %edi
	callq	_get_attr_type
	movl	%eax, %r13d
	movl	%r14d, %edi
	callq	_REG_NOTE_KIND
	testq	%rax, %rax
	je	LBB0_2
## %bb.11:
	movq	_TYPE_IALU@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_14
## %bb.12:
	movq	_TYPE_SHIFT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_13
	jmp	LBB0_14
LBB0_2:
	movq	_TYPE_LOAD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_4
## %bb.3:
	movq	_TYPE_FPLOAD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_4
## %bb.5:
	movq	_TYPE_STORE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_7
## %bb.6:
	movq	_TYPE_FPSTORE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_7
## %bb.10:
	movq	_TYPE_SHIFT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_13
LBB0_4:
	addl	$3, %ebx
LBB0_13:
	movl	%ebx, %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%r15d, %edi
	callq	_PATTERN
	movl	%eax, %r12d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_PATTERN
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_GET_CODE
	movq	_SET@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_13
## %bb.8:
	movl	%r15d, %edi
	callq	_GET_CODE
	cmpq	(%r14), %rax
	jne	LBB0_13
## %bb.9:
	movl	%r15d, %edi
	callq	_SET_DEST
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_SET_SRC
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_rtx_equal_p
	leal	3(%rbx), %r12d
	testq	%rax, %rax
	cmovnel	%ebx, %r12d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_LOAD,4,2                  ## @TYPE_LOAD
	.comm	_TYPE_FPLOAD,4,2                ## @TYPE_FPLOAD
	.comm	_TYPE_STORE,4,2                 ## @TYPE_STORE
	.comm	_TYPE_FPSTORE,4,2               ## @TYPE_FPSTORE
	.comm	_SET,8,3                        ## @SET
	.comm	_TYPE_SHIFT,4,2                 ## @TYPE_SHIFT
	.comm	_TYPE_IALU,4,2                  ## @TYPE_IALU
	.no_dead_strip	_supersparc_adjust_cost
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function supersparc_adjust_cost
_supersparc_adjust_cost:                ; @supersparc_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	x20, x2
	mov	x23, x1
	mov	x21, x0
	bl	_recog_memoized
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_get_attr_type
	mov	x22, x0
	mov	x0, x23
	bl	_REG_NOTE_KIND
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _TYPE_IALU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_IALU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TYPE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TYPE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w22, w8
	ccmp	w22, w9, #4, ne
	b.ne	LBB0_6
LBB0_3:
	mov	w19, #0
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _TYPE_LOAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TYPE_LOAD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _TYPE_FPLOAD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TYPE_FPLOAD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w22, w8
	ccmp	w22, w9, #4, ne
	b.ne	LBB0_7
LBB0_5:
	add	w19, w19, #3
LBB0_6:
	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_7:
Lloh12:
	adrp	x8, _TYPE_STORE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TYPE_STORE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _TYPE_FPSTORE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TYPE_FPSTORE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w22, w8
	ccmp	w22, w9, #4, ne
	b.ne	LBB0_11
; %bb.8:
	mov	x0, x21
	bl	_PATTERN
	mov	x21, x0
	mov	x0, x20
	bl	_PATTERN
	mov	x20, x0
	mov	x0, x21
	bl	_GET_CODE
Lloh18:
	adrp	x22, _SET@GOTPAGE
Lloh19:
	ldr	x22, [x22, _SET@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.9:
	mov	x0, x20
	bl	_GET_CODE
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.10:
	mov	x0, x20
	bl	_SET_DEST
	mov	x20, x0
	mov	x0, x21
	bl	_SET_SRC
	mov	x1, x0
	mov	x0, x20
	bl	_rtx_equal_p
	add	w8, w19, #3
	cmp	x0, #0
	csel	w19, w8, w19, eq
	b	LBB0_6
LBB0_11:
Lloh20:
	adrp	x8, _TYPE_SHIFT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TYPE_SHIFT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_6
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_LOAD,4,2                  ; @TYPE_LOAD
	.comm	_TYPE_FPLOAD,4,2                ; @TYPE_FPLOAD
	.comm	_TYPE_STORE,4,2                 ; @TYPE_STORE
	.comm	_TYPE_FPSTORE,4,2               ; @TYPE_FPSTORE
	.comm	_SET,8,3                        ; @SET
	.comm	_TYPE_SHIFT,4,2                 ; @TYPE_SHIFT
	.comm	_TYPE_IALU,4,2                  ; @TYPE_IALU
	.no_dead_strip	_supersparc_adjust_cost
.subsections_via_symbols
