	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_allocate_mem_input_v    ## -- Begin function dce110_allocate_mem_input_v
	.p2align	4, 0x90
_dce110_allocate_mem_input_v:           ## @dce110_allocate_mem_input_v
	.cfi_startproc
## %bb.0:
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdi, %r13
	movq	_mmDPGV0_PIPE_ARBITRATION_CONTROL1@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	(%rdi), %edi
	movq	%r14, %rsi
	callq	_dm_read_reg
	movq	%rax, %r12
	cmpq	$1000000000, %rbx               ## imm = 0x3B9ACA00
	ja	LBB0_2
## %bb.3:
	movl	$1000000000, %eax               ## imm = 0x3B9ACA00
	xorl	%edx, %edx
	divl	%ebx
	movl	%eax, %r15d
	jmp	LBB0_4
LBB0_5:
	retq
LBB0_2:
	xorl	%r15d, %r15d
LBB0_4:
	movq	_DPGV0_PIPE_ARBITRATION_CONTROL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PIXEL_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_set_reg_field_value
	movl	(%r13), %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_dm_write_reg
	movq	_mmDPGV1_PIPE_ARBITRATION_CONTROL1@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_dm_read_reg
	movq	%rax, %rbx
	movq	_DPGV1_PIPE_ARBITRATION_CONTROL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PIXEL_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_set_reg_field_value
	movl	(%r13), %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_dm_write_reg
	movq	_mmDPGV0_PIPE_ARBITRATION_CONTROL2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%r13), %edi
	movl	$67110912, %edx                 ## imm = 0x4000800
	callq	_dm_write_reg
	movq	_mmDPGV1_PIPE_ARBITRATION_CONTROL2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%r13), %edi
	movl	$67110912, %edx                 ## imm = 0x4000800
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_write_reg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmDPGV0_PIPE_ARBITRATION_CONTROL1,8,3 ## @mmDPGV0_PIPE_ARBITRATION_CONTROL1
	.comm	_DPGV0_PIPE_ARBITRATION_CONTROL1,4,2 ## @DPGV0_PIPE_ARBITRATION_CONTROL1
	.comm	_PIXEL_DURATION,4,2             ## @PIXEL_DURATION
	.comm	_mmDPGV1_PIPE_ARBITRATION_CONTROL1,8,3 ## @mmDPGV1_PIPE_ARBITRATION_CONTROL1
	.comm	_DPGV1_PIPE_ARBITRATION_CONTROL1,4,2 ## @DPGV1_PIPE_ARBITRATION_CONTROL1
	.comm	_mmDPGV0_PIPE_ARBITRATION_CONTROL2,8,3 ## @mmDPGV0_PIPE_ARBITRATION_CONTROL2
	.comm	_mmDPGV1_PIPE_ARBITRATION_CONTROL2,8,3 ## @mmDPGV1_PIPE_ARBITRATION_CONTROL2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_allocate_mem_input_v    ; -- Begin function dce110_allocate_mem_input_v
	.p2align	2
_dce110_allocate_mem_input_v:           ; @dce110_allocate_mem_input_v
	.cfi_startproc
; %bb.0:
	cbz	x3, LBB0_2
; %bb.1:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x19, x0
Lloh0:
	adrp	x8, _mmDPGV0_PIPE_ARBITRATION_CONTROL1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmDPGV0_PIPE_ARBITRATION_CONTROL1@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	w0, [x0]
	mov	x1, x21
	bl	_dm_read_reg
	mov	x22, x0
Lloh3:
	adrp	x8, _DPGV0_PIPE_ARBITRATION_CONTROL1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DPGV0_PIPE_ARBITRATION_CONTROL1@GOTPAGEOFF]
	mov	w9, #51712
	movk	w9, #15258, lsl #16
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x23, _PIXEL_DURATION@GOTPAGE
Lloh7:
	ldr	x23, [x23, _PIXEL_DURATION@GOTPAGEOFF]
	ldr	w3, [x23]
	udiv	x20, x9, x20
	mov	x1, x20
	bl	_set_reg_field_value
	ldr	w0, [x19]
	mov	x1, x21
	mov	x2, x22
	bl	_dm_write_reg
Lloh8:
	adrp	x8, _mmDPGV1_PIPE_ARBITRATION_CONTROL1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mmDPGV1_PIPE_ARBITRATION_CONTROL1@GOTPAGEOFF]
Lloh10:
	ldr	x21, [x8]
	ldr	w0, [x19]
	mov	x1, x21
	bl	_dm_read_reg
	mov	x22, x0
Lloh11:
	adrp	x8, _DPGV1_PIPE_ARBITRATION_CONTROL1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DPGV1_PIPE_ARBITRATION_CONTROL1@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	w3, [x23]
	mov	x1, x20
	bl	_set_reg_field_value
	ldr	w0, [x19]
	mov	x1, x21
	mov	x2, x22
	bl	_dm_write_reg
Lloh14:
	adrp	x8, _mmDPGV0_PIPE_ARBITRATION_CONTROL2@GOTPAGE
Lloh15:
	ldr	x8, [x8, _mmDPGV0_PIPE_ARBITRATION_CONTROL2@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	ldr	w0, [x19]
	mov	w2, #2048
	movk	w2, #1024, lsl #16
	bl	_dm_write_reg
Lloh17:
	adrp	x8, _mmDPGV1_PIPE_ARBITRATION_CONTROL2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _mmDPGV1_PIPE_ARBITRATION_CONTROL2@GOTPAGEOFF]
Lloh19:
	ldr	x1, [x8]
	ldr	w0, [x19]
	mov	w2, #2048
	movk	w2, #1024, lsl #16
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dm_write_reg
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mmDPGV0_PIPE_ARBITRATION_CONTROL1,8,3 ; @mmDPGV0_PIPE_ARBITRATION_CONTROL1
	.comm	_DPGV0_PIPE_ARBITRATION_CONTROL1,4,2 ; @DPGV0_PIPE_ARBITRATION_CONTROL1
	.comm	_PIXEL_DURATION,4,2             ; @PIXEL_DURATION
	.comm	_mmDPGV1_PIPE_ARBITRATION_CONTROL1,8,3 ; @mmDPGV1_PIPE_ARBITRATION_CONTROL1
	.comm	_DPGV1_PIPE_ARBITRATION_CONTROL1,4,2 ; @DPGV1_PIPE_ARBITRATION_CONTROL1
	.comm	_mmDPGV0_PIPE_ARBITRATION_CONTROL2,8,3 ; @mmDPGV0_PIPE_ARBITRATION_CONTROL2
	.comm	_mmDPGV1_PIPE_ARBITRATION_CONTROL2,8,3 ; @mmDPGV1_PIPE_ARBITRATION_CONTROL2
.subsections_via_symbols
