	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubbub21_program_watermarks    ## -- Begin function hubbub21_program_watermarks
	.p2align	4, 0x90
_hubbub21_program_watermarks:           ## @hubbub21_program_watermarks
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_TO_DCN20_HUBBUB
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_hubbub21_program_urgent_watermarks
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_hubbub21_program_stutter_watermarks
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_hubbub21_program_pstate_watermarks
	movq	_DCHUBBUB_ARB_SAT_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	imull	$60, %ebx, %ecx
	xorl	%esi, %esi
	movl	%edi, %edx
	callq	_REG_SET
	movq	_DCHUBBUB_ARB_DF_REQ_OUTSTAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DCHUBBUB_ARB_MIN_REQ_OUTSTAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DCHUBBUB_ARB_MIN_REQ_OUTSTAND_COMMIT_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$511, %edx                      ## imm = 0x1FF
	movl	$10, %r8d
	callq	_REG_UPDATE_2
	movq	_DCHUBBUB_ARB_HOSTVM_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DCHUBBUB_ARB_MAX_QOS_COMMIT_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$15, %edx
	callq	_REG_UPDATE
	movq	(%r14), %rax
	movq	(%rax), %rax
	xorl	%esi, %esi
	cmpl	$0, (%rax)
	sete	%sil
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hubbub1_allow_self_refresh_control ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DCHUBBUB_ARB_SAT_LEVEL,4,2     ## @DCHUBBUB_ARB_SAT_LEVEL
	.comm	_DCHUBBUB_ARB_DF_REQ_OUTSTAND,4,2 ## @DCHUBBUB_ARB_DF_REQ_OUTSTAND
	.comm	_DCHUBBUB_ARB_MIN_REQ_OUTSTAND,4,2 ## @DCHUBBUB_ARB_MIN_REQ_OUTSTAND
	.comm	_DCHUBBUB_ARB_MIN_REQ_OUTSTAND_COMMIT_THRESHOLD,4,2 ## @DCHUBBUB_ARB_MIN_REQ_OUTSTAND_COMMIT_THRESHOLD
	.comm	_DCHUBBUB_ARB_HOSTVM_CNTL,4,2   ## @DCHUBBUB_ARB_HOSTVM_CNTL
	.comm	_DCHUBBUB_ARB_MAX_QOS_COMMIT_THRESHOLD,4,2 ## @DCHUBBUB_ARB_MAX_QOS_COMMIT_THRESHOLD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubbub21_program_watermarks    ; -- Begin function hubbub21_program_watermarks
	.p2align	2
_hubbub21_program_watermarks:           ; @hubbub21_program_watermarks
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_TO_DCN20_HUBBUB
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_hubbub21_program_urgent_watermarks
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_hubbub21_program_stutter_watermarks
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_hubbub21_program_pstate_watermarks
Lloh0:
	adrp	x8, _DCHUBBUB_ARB_SAT_LEVEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCHUBBUB_ARB_SAT_LEVEL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w8, #60
	mul	w3, w21, w8
	mov	w1, #0
	mov	x2, x0
	bl	_REG_SET
Lloh3:
	adrp	x8, _DCHUBBUB_ARB_DF_REQ_OUTSTAND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCHUBBUB_ARB_DF_REQ_OUTSTAND@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _DCHUBBUB_ARB_MIN_REQ_OUTSTAND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DCHUBBUB_ARB_MIN_REQ_OUTSTAND@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _DCHUBBUB_ARB_MIN_REQ_OUTSTAND_COMMIT_THRESHOLD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DCHUBBUB_ARB_MIN_REQ_OUTSTAND_COMMIT_THRESHOLD@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	w2, #511
	mov	w4, #10
	bl	_REG_UPDATE_2
Lloh12:
	adrp	x8, _DCHUBBUB_ARB_HOSTVM_CNTL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DCHUBBUB_ARB_HOSTVM_CNTL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _DCHUBBUB_ARB_MAX_QOS_COMMIT_THRESHOLD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DCHUBBUB_ARB_MAX_QOS_COMMIT_THRESHOLD@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w2, #15
	bl	_REG_UPDATE
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w1, eq
	mov	x0, x19
	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	_hubbub1_allow_self_refresh_control
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DCHUBBUB_ARB_SAT_LEVEL,4,2     ; @DCHUBBUB_ARB_SAT_LEVEL
	.comm	_DCHUBBUB_ARB_DF_REQ_OUTSTAND,4,2 ; @DCHUBBUB_ARB_DF_REQ_OUTSTAND
	.comm	_DCHUBBUB_ARB_MIN_REQ_OUTSTAND,4,2 ; @DCHUBBUB_ARB_MIN_REQ_OUTSTAND
	.comm	_DCHUBBUB_ARB_MIN_REQ_OUTSTAND_COMMIT_THRESHOLD,4,2 ; @DCHUBBUB_ARB_MIN_REQ_OUTSTAND_COMMIT_THRESHOLD
	.comm	_DCHUBBUB_ARB_HOSTVM_CNTL,4,2   ; @DCHUBBUB_ARB_HOSTVM_CNTL
	.comm	_DCHUBBUB_ARB_MAX_QOS_COMMIT_THRESHOLD,4,2 ; @DCHUBBUB_ARB_MAX_QOS_COMMIT_THRESHOLD
.subsections_via_symbols
