	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_vl_dedicated
_set_vl_dedicated:                      ## @set_vl_dedicated
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	_TXE_NUM_DATA_VL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_2
## %bb.1:
	movq	_SEND_CM_CREDIT_VL@GOTPCREL(%rip), %rax
	shll	$3, %esi
	movslq	%esi, %r15
	addq	(%rax), %r15
	jmp	LBB0_3
LBB0_2:
	movq	_SEND_CM_CREDIT_VL15@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_read_csr
	movq	_SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%edx, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_csr                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TXE_NUM_DATA_VL,4,2            ## @TXE_NUM_DATA_VL
	.comm	_SEND_CM_CREDIT_VL,8,3          ## @SEND_CM_CREDIT_VL
	.comm	_SEND_CM_CREDIT_VL15,8,3        ## @SEND_CM_CREDIT_VL15
	.comm	_SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SMASK,4,2 ## @SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SMASK
	.comm	_SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SHIFT,4,2 ## @SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SHIFT
	.no_dead_strip	_set_vl_dedicated
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_vl_dedicated
_set_vl_dedicated:                      ; @set_vl_dedicated
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _TXE_NUM_DATA_VL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXE_NUM_DATA_VL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SEND_CM_CREDIT_VL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEND_CM_CREDIT_VL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	lsl	w9, w1, #3
	add	x21, x8, w9, sxtw
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _SEND_CM_CREDIT_VL15@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEND_CM_CREDIT_VL15@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_read_csr
Lloh9:
	adrp	x8, _SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SMASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SMASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh12:
	adrp	x9, _SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	lsl	w9, w20, w9
	orr	w2, w9, w8
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_write_csr
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TXE_NUM_DATA_VL,4,2            ; @TXE_NUM_DATA_VL
	.comm	_SEND_CM_CREDIT_VL,8,3          ; @SEND_CM_CREDIT_VL
	.comm	_SEND_CM_CREDIT_VL15,8,3        ; @SEND_CM_CREDIT_VL15
	.comm	_SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SMASK,4,2 ; @SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SMASK
	.comm	_SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SHIFT,4,2 ; @SEND_CM_CREDIT_VL_DEDICATED_LIMIT_VL_SHIFT
	.no_dead_strip	_set_vl_dedicated
.subsections_via_symbols
