	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function program_nbp_watermark
_program_nbp_watermark:                 ## @program_nbp_watermark
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	%rcx, %rax
	shrq	$32, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_DPGV0_WATERMARK_MASK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NB_PSTATE_CHANGE_WATERMARK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_dm_read_reg
	movl	%eax, %r15d
	movq	_DPGV0_PIPE_NB_PSTATE_CHANGE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rax, %rbx
	movq	_NB_PSTATE_CHANGE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%rbx), %edx
	movq	_NB_PSTATE_CHANGE_URGENT_DURING_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%rbx), %edx
	movq	_NB_PSTATE_CHANGE_NOT_SELF_REFRESH_DURING_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_dm_write_reg
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_DPGV0_PIPE_NB_PSTATE_CHANGE_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_NB_PSTATE_CHANGE_WATERMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_set_reg_field_value
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_DPGV0_WATERMARK_MASK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NB_PSTATE_CHANGE_WATERMARK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_set_reg_field_value
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movl	(%r15), %edx
	movq	_NB_PSTATE_CHANGE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edx
	movq	_NB_PSTATE_CHANGE_URGENT_DURING_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edx
	movq	_NB_PSTATE_CHANGE_NOT_SELF_REFRESH_DURING_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movl	(%r15), %edx
	movq	_NB_PSTATE_CHANGE_WATERMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_set_reg_field_value
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_write_reg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DPGV0_WATERMARK_MASK_CONTROL,4,2 ## @DPGV0_WATERMARK_MASK_CONTROL
	.comm	_NB_PSTATE_CHANGE_WATERMARK_MASK,4,2 ## @NB_PSTATE_CHANGE_WATERMARK_MASK
	.comm	_DPGV0_PIPE_NB_PSTATE_CHANGE_CONTROL,4,2 ## @DPGV0_PIPE_NB_PSTATE_CHANGE_CONTROL
	.comm	_NB_PSTATE_CHANGE_ENABLE,4,2    ## @NB_PSTATE_CHANGE_ENABLE
	.comm	_NB_PSTATE_CHANGE_URGENT_DURING_REQUEST,4,2 ## @NB_PSTATE_CHANGE_URGENT_DURING_REQUEST
	.comm	_NB_PSTATE_CHANGE_NOT_SELF_REFRESH_DURING_REQUEST,4,2 ## @NB_PSTATE_CHANGE_NOT_SELF_REFRESH_DURING_REQUEST
	.comm	_NB_PSTATE_CHANGE_WATERMARK,4,2 ## @NB_PSTATE_CHANGE_WATERMARK
	.no_dead_strip	_program_nbp_watermark
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function program_nbp_watermark
_program_nbp_watermark:                 ; @program_nbp_watermark
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	lsr	x8, x3, #32
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	bl	_dm_read_reg
	mov	x24, x0
Lloh0:
	adrp	x8, _DPGV0_WATERMARK_MASK_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPGV0_WATERMARK_MASK_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _NB_PSTATE_CHANGE_WATERMARK_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NB_PSTATE_CHANGE_WATERMARK_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w1, #1
	bl	_set_reg_field_value
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_dm_write_reg
	mov	x0, x20
	mov	x1, x19
	bl	_dm_read_reg
	mov	x24, x0
Lloh6:
	adrp	x25, _DPGV0_PIPE_NB_PSTATE_CHANGE_CONTROL@GOTPAGE
Lloh7:
	ldr	x25, [x25, _DPGV0_PIPE_NB_PSTATE_CHANGE_CONTROL@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh8:
	adrp	x28, _NB_PSTATE_CHANGE_ENABLE@GOTPAGE
Lloh9:
	ldr	x28, [x28, _NB_PSTATE_CHANGE_ENABLE@GOTPAGEOFF]
	ldr	w3, [x28]
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x25]
Lloh10:
	adrp	x21, _NB_PSTATE_CHANGE_URGENT_DURING_REQUEST@GOTPAGE
Lloh11:
	ldr	x21, [x21, _NB_PSTATE_CHANGE_URGENT_DURING_REQUEST@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x24
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x25]
Lloh12:
	adrp	x26, _NB_PSTATE_CHANGE_NOT_SELF_REFRESH_DURING_REQUEST@GOTPAGE
Lloh13:
	ldr	x26, [x26, _NB_PSTATE_CHANGE_NOT_SELF_REFRESH_DURING_REQUEST@GOTPAGEOFF]
	ldr	w3, [x26]
	mov	x0, x24
	mov	w1, #1
	bl	_set_reg_field_value
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	bl	_dm_write_reg
	mov	x0, x20
	mov	x1, x19
	bl	_dm_read_reg
	mov	x24, x0
	ldr	w2, [x25]
Lloh14:
	adrp	x27, _NB_PSTATE_CHANGE_WATERMARK@GOTPAGE
Lloh15:
	ldr	x27, [x27, _NB_PSTATE_CHANGE_WATERMARK@GOTPAGEOFF]
	ldr	w3, [x27]
	mov	x1, x23
	bl	_set_reg_field_value
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	bl	_dm_write_reg
	mov	x0, x20
	mov	x1, x22
	bl	_dm_read_reg
	mov	x23, x0
Lloh16:
	adrp	x8, _DPGV0_WATERMARK_MASK_CONTROL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DPGV0_WATERMARK_MASK_CONTROL@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _NB_PSTATE_CHANGE_WATERMARK_MASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NB_PSTATE_CHANGE_WATERMARK_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	w1, #2
	bl	_set_reg_field_value
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	bl	_dm_write_reg
	mov	x0, x20
	mov	x1, x19
	bl	_dm_read_reg
	mov	x22, x0
	ldr	w2, [x25]
	ldr	w3, [x28]
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x25]
	ldr	w3, [x21]
	mov	x0, x22
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x25]
	ldr	w3, [x26]
	mov	x0, x22
	mov	w1, #1
	bl	_set_reg_field_value
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_dm_write_reg
	mov	x0, x20
	mov	x1, x19
	bl	_dm_read_reg
	mov	x22, x0
	ldr	w2, [x25]
	ldr	w3, [x27]
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_set_reg_field_value
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_dm_write_reg
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DPGV0_WATERMARK_MASK_CONTROL,4,2 ; @DPGV0_WATERMARK_MASK_CONTROL
	.comm	_NB_PSTATE_CHANGE_WATERMARK_MASK,4,2 ; @NB_PSTATE_CHANGE_WATERMARK_MASK
	.comm	_DPGV0_PIPE_NB_PSTATE_CHANGE_CONTROL,4,2 ; @DPGV0_PIPE_NB_PSTATE_CHANGE_CONTROL
	.comm	_NB_PSTATE_CHANGE_ENABLE,4,2    ; @NB_PSTATE_CHANGE_ENABLE
	.comm	_NB_PSTATE_CHANGE_URGENT_DURING_REQUEST,4,2 ; @NB_PSTATE_CHANGE_URGENT_DURING_REQUEST
	.comm	_NB_PSTATE_CHANGE_NOT_SELF_REFRESH_DURING_REQUEST,4,2 ; @NB_PSTATE_CHANGE_NOT_SELF_REFRESH_DURING_REQUEST
	.comm	_NB_PSTATE_CHANGE_WATERMARK,4,2 ; @NB_PSTATE_CHANGE_WATERMARK
	.no_dead_strip	_program_nbp_watermark
.subsections_via_symbols
