	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function program_urgency_watermark
_program_urgency_watermark:             ## @program_urgency_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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	%rcx, %rax
	shrq	$32, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %esi
	callq	_dm_read_reg
	movl	%eax, %r15d
	movq	_DPGV0_WATERMARK_MASK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_URGENCY_WATERMARK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_dm_write_reg
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_DPGV0_PIPE_URGENCY_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_URGENCY_LOW_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
	movl	(%r15), %edx
	movq	_URGENCY_HIGH_WATERMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	callq	_set_reg_field_value
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_DPGV0_WATERMARK_MASK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_URGENCY_WATERMARK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_set_reg_field_value
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_DPGV0_PIPE_URGENCY_CONTROL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_URGENCY_LOW_WATERMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_set_reg_field_value
	movl	(%r13), %edx
	movq	_URGENCY_HIGH_WATERMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_set_reg_field_value
	movq	%r14, %rdi
	movl	%r12d, %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	_URGENCY_WATERMARK_MASK,4,2     ## @URGENCY_WATERMARK_MASK
	.comm	_DPGV0_PIPE_URGENCY_CONTROL,4,2 ## @DPGV0_PIPE_URGENCY_CONTROL
	.comm	_URGENCY_LOW_WATERMARK,4,2      ## @URGENCY_LOW_WATERMARK
	.comm	_URGENCY_HIGH_WATERMARK,4,2     ## @URGENCY_HIGH_WATERMARK
	.no_dead_strip	_program_urgency_watermark
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function program_urgency_watermark
_program_urgency_watermark:             ; @program_urgency_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	x21, x4
	mov	x24, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	lsr	x8, x3, #32
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	x1, x2
	bl	_dm_read_reg
	mov	x25, x0
Lloh0:
	adrp	x8, _DPGV0_WATERMARK_MASK_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPGV0_WATERMARK_MASK_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x28, _URGENCY_WATERMARK_MASK@GOTPAGE
Lloh4:
	ldr	x28, [x28, _URGENCY_WATERMARK_MASK@GOTPAGEOFF]
	ldr	w3, [x28]
	mov	w1, #1
	bl	_set_reg_field_value
	mov	x0, x20
	mov	x1, x23
	mov	x2, x25
	bl	_dm_write_reg
	mov	x0, x20
	mov	x1, x19
	bl	_dm_read_reg
	mov	x25, x0
Lloh5:
	adrp	x26, _DPGV0_PIPE_URGENCY_CONTROL@GOTPAGE
Lloh6:
	ldr	x26, [x26, _DPGV0_PIPE_URGENCY_CONTROL@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh7:
	adrp	x22, _URGENCY_LOW_WATERMARK@GOTPAGE
Lloh8:
	ldr	x22, [x22, _URGENCY_LOW_WATERMARK@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x1, x24
	bl	_set_reg_field_value
	ldr	w2, [x26]
Lloh9:
	adrp	x27, _URGENCY_HIGH_WATERMARK@GOTPAGE
Lloh10:
	ldr	x27, [x27, _URGENCY_HIGH_WATERMARK@GOTPAGEOFF]
	ldr	w3, [x27]
	mov	x0, x25
	mov	x1, x21
	bl	_set_reg_field_value
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	bl	_dm_write_reg
	mov	x0, x20
	mov	x1, x23
	bl	_dm_read_reg
	mov	x24, x0
Lloh11:
	adrp	x8, _DPGV0_WATERMARK_MASK_CONTROL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DPGV0_WATERMARK_MASK_CONTROL@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	w3, [x28]
	mov	w1, #2
	bl	_set_reg_field_value
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	bl	_dm_write_reg
	mov	x0, x20
	mov	x1, x19
	bl	_dm_read_reg
	mov	x23, x0
	ldr	w2, [x26]
	ldr	w3, [x22]
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_set_reg_field_value
	ldr	w2, [x26]
	ldr	w3, [x27]
	mov	x0, x23
	mov	x1, x21
	bl	_set_reg_field_value
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	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	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DPGV0_WATERMARK_MASK_CONTROL,4,2 ; @DPGV0_WATERMARK_MASK_CONTROL
	.comm	_URGENCY_WATERMARK_MASK,4,2     ; @URGENCY_WATERMARK_MASK
	.comm	_DPGV0_PIPE_URGENCY_CONTROL,4,2 ; @DPGV0_PIPE_URGENCY_CONTROL
	.comm	_URGENCY_LOW_WATERMARK,4,2      ; @URGENCY_LOW_WATERMARK
	.comm	_URGENCY_HIGH_WATERMARK,4,2     ; @URGENCY_HIGH_WATERMARK
	.no_dead_strip	_program_urgency_watermark
.subsections_via_symbols
