	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evergreen_cs_get_num_banks
_evergreen_cs_get_num_banks:            ## @evergreen_cs_get_num_banks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-2, %edi
	je	LBB0_1
## %bb.2:
	rorl	%edi
	cmpl	$7, %edi
	je	LBB0_6
## %bb.3:
	cmpl	$1, %edi
	jne	LBB0_5
## %bb.4:
	movq	_ADDR_SURF_4_BANK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_ADDR_SURF_2_BANK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_ADDR_SURF_16_BANK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_ADDR_SURF_8_BANK@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDR_SURF_2_BANK,4,2           ## @ADDR_SURF_2_BANK
	.comm	_ADDR_SURF_4_BANK,4,2           ## @ADDR_SURF_4_BANK
	.comm	_ADDR_SURF_8_BANK,4,2           ## @ADDR_SURF_8_BANK
	.comm	_ADDR_SURF_16_BANK,4,2          ## @ADDR_SURF_16_BANK
	.no_dead_strip	_evergreen_cs_get_num_banks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evergreen_cs_get_num_banks
_evergreen_cs_get_num_banks:            ; @evergreen_cs_get_num_banks
	.cfi_startproc
; %bb.0:
	subs	w8, w0, #2
	b.eq	LBB0_2
; %bb.1:
	ror	w8, w8, #1
Lloh0:
	adrp	x9, _ADDR_SURF_16_BANK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ADDR_SURF_16_BANK@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ADDR_SURF_8_BANK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ADDR_SURF_8_BANK@GOTPAGEOFF]
	cmp	w8, #1
Lloh4:
	adrp	x11, _ADDR_SURF_4_BANK@GOTPAGE
Lloh5:
	ldr	x11, [x11, _ADDR_SURF_4_BANK@GOTPAGEOFF]
	csel	x10, x10, x11, ne
	cmp	w8, #7
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _ADDR_SURF_2_BANK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADDR_SURF_2_BANK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDR_SURF_2_BANK,4,2           ; @ADDR_SURF_2_BANK
	.comm	_ADDR_SURF_4_BANK,4,2           ; @ADDR_SURF_4_BANK
	.comm	_ADDR_SURF_8_BANK,4,2           ; @ADDR_SURF_8_BANK
	.comm	_ADDR_SURF_16_BANK,4,2          ; @ADDR_SURF_16_BANK
	.no_dead_strip	_evergreen_cs_get_num_banks
.subsections_via_symbols
