	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sparc_use_sched_lookahead
_sparc_use_sched_lookahead:             ## @sparc_use_sched_lookahead
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_sparc_cpu@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PROCESSOR_NIAGARA@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %edx
	je	LBB0_4
## %bb.1:
	movq	_PROCESSOR_ULTRASPARC@GOTPCREL(%rip), %rcx
	movl	$4, %eax
	cmpl	(%rcx), %edx
	je	LBB0_4
## %bb.2:
	movq	_PROCESSOR_ULTRASPARC3@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_4
## %bb.3:
	movq	_PROCESSOR_SUPERSPARC@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_PROCESSOR_HYPERSPARC@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	btsl	%eax, %esi
	movq	_PROCESSOR_SPARCLITE86X@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %esi
	xorl	%eax, %eax
	btl	%edx, %esi
	setb	%al
	leal	(%rax,%rax,2), %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sparc_cpu,4,2                  ## @sparc_cpu
	.comm	_PROCESSOR_NIAGARA,4,2          ## @PROCESSOR_NIAGARA
	.comm	_PROCESSOR_ULTRASPARC,4,2       ## @PROCESSOR_ULTRASPARC
	.comm	_PROCESSOR_ULTRASPARC3,4,2      ## @PROCESSOR_ULTRASPARC3
	.comm	_PROCESSOR_SUPERSPARC,4,2       ## @PROCESSOR_SUPERSPARC
	.comm	_PROCESSOR_HYPERSPARC,4,2       ## @PROCESSOR_HYPERSPARC
	.comm	_PROCESSOR_SPARCLITE86X,4,2     ## @PROCESSOR_SPARCLITE86X
	.no_dead_strip	_sparc_use_sched_lookahead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sparc_use_sched_lookahead
_sparc_use_sched_lookahead:             ; @sparc_use_sched_lookahead
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _sparc_cpu@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sparc_cpu@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PROCESSOR_NIAGARA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PROCESSOR_NIAGARA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
Lloh6:
	adrp	x9, _PROCESSOR_ULTRASPARC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PROCESSOR_ULTRASPARC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _PROCESSOR_ULTRASPARC3@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PROCESSOR_ULTRASPARC3@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #4
	ret
LBB0_4:
Lloh12:
	adrp	x9, _PROCESSOR_SUPERSPARC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PROCESSOR_SUPERSPARC@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	mov	w10, #1
Lloh15:
	adrp	x11, _PROCESSOR_HYPERSPARC@GOTPAGE
Lloh16:
	ldr	x11, [x11, _PROCESSOR_HYPERSPARC@GOTPAGEOFF]
	lsl	w9, w10, w9
Lloh17:
	ldr	w11, [x11]
	lsl	w11, w10, w11
	orr	w9, w11, w9
Lloh18:
	adrp	x11, _PROCESSOR_SPARCLITE86X@GOTPAGE
Lloh19:
	ldr	x11, [x11, _PROCESSOR_SPARCLITE86X@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w9, w9, w10
	lsr	w8, w9, w8
	sbfx	w8, w8, #0, #1
	and	w0, w8, #0x3
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_sparc_cpu,4,2                  ; @sparc_cpu
	.comm	_PROCESSOR_NIAGARA,4,2          ; @PROCESSOR_NIAGARA
	.comm	_PROCESSOR_ULTRASPARC,4,2       ; @PROCESSOR_ULTRASPARC
	.comm	_PROCESSOR_ULTRASPARC3,4,2      ; @PROCESSOR_ULTRASPARC3
	.comm	_PROCESSOR_SUPERSPARC,4,2       ; @PROCESSOR_SUPERSPARC
	.comm	_PROCESSOR_HYPERSPARC,4,2       ; @PROCESSOR_HYPERSPARC
	.comm	_PROCESSOR_SPARCLITE86X,4,2     ; @PROCESSOR_SPARCLITE86X
	.no_dead_strip	_sparc_use_sched_lookahead
.subsections_via_symbols
