	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce11_pplib_apply_display_requirements
_dce11_pplib_apply_display_requirements: ## @dce11_pplib_apply_display_requirements
	.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	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%eax, %eax
	cmpl	$0, 16(%rsi)
	sete	%al
	movl	%eax, 48(%rsi)
	xorl	%eax, %eax
	cmpl	$0, 20(%rsi)
	sete	%al
	movl	%eax, 52(%rsi)
	xorl	%eax, %eax
	cmpl	$0, 24(%rsi)
	leaq	48(%rsi), %r14
	sete	%al
	movl	%eax, 56(%rsi)
	movq	40(%rsi), %rax
	movq	%rax, 112(%rsi)
	movq	_MEMORY_TYPE_MULTIPLIER_CZ@GOTPCREL(%rip), %rcx
	movl	28(%rsi), %eax
	movl	36(%rsi), %esi
	cltd
	idivl	(%rcx)
	movl	%eax, 60(%rbx)
	callq	_determine_sclk_from_bounding_box
	movl	%eax, 104(%rbx)
	movl	32(%rbx), %ecx
	xorl	%edx, %edx
	cmpl	$5, (%rbx)
	cmovgel	%eax, %edx
	movl	%edx, 108(%rbx)
	movl	%ecx, 100(%rbx)
	movq	%rbx, %rdi
	callq	_dce110_get_min_vblank_time_us
	movl	%eax, 96(%rbx)
	movq	$0, 88(%rbx)
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dce110_fill_display_configs
	cmpl	$1, 64(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	72(%rbx), %rcx
	movq	(%rax), %rsi
	movl	(%rcx), %eax
	movl	%eax, 80(%rbx)
	imull	$10000, (%rsi), %eax            ## imm = 0x2710
	cltd
	idivl	4(%rsi)
	movl	%eax, 68(%rbx)
LBB0_2:
	movq	8(%r15), %rdi
	movq	%r14, %rsi
	movl	$72, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%r15), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_pp_apply_display_requirements ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEMORY_TYPE_MULTIPLIER_CZ,4,2  ## @MEMORY_TYPE_MULTIPLIER_CZ
	.no_dead_strip	_dce11_pplib_apply_display_requirements
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce11_pplib_apply_display_requirements
_dce11_pplib_apply_display_requirements: ; @dce11_pplib_apply_display_requirements
	.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	x21, x1
	mov	x19, x0
	ldr	d0, [x1, #16]
	cmeq.2s	v0, v0, #0
	movi.2s	v1, #1
	and.8b	v0, v0, v1
	mov	x20, x1
	str	d0, [x20, #48]!
	ldp	w8, w9, [x1, #24]
	cmp	w8, #0
Lloh0:
	adrp	x8, _MEMORY_TYPE_MULTIPLIER_CZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEMORY_TYPE_MULTIPLIER_CZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w8, w9, w8
	cset	w9, eq
	ldr	d0, [x1, #40]
	str	d0, [x1, #112]
	stp	w9, w8, [x1, #56]
	ldr	w1, [x1, #36]
	bl	_determine_sclk_from_bounding_box
	ldr	w8, [x21]
	cmp	w8, #4
	csel	w8, w0, wzr, gt
	stp	w0, w8, [x21, #104]
	ldr	w8, [x21, #32]
	str	w8, [x21, #100]
	mov	x0, x21
	bl	_dce110_get_min_vblank_time_us
	str	w0, [x21, #96]
	str	xzr, [x21, #88]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x21, #84]
	mov	x0, x21
	mov	x1, x20
	bl	_dce110_fill_display_configs
	ldr	w8, [x21, #64]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	x9, [x21, #72]
	ldr	w9, [x9]
	str	w9, [x21, #80]
	mov	w9, #10000
	ldp	w10, w8, [x8]
	mul	w9, w10, w9
	sdiv	w8, w9, w8
	str	w8, [x21, #68]
LBB0_2:
	ldr	x0, [x19, #8]
	mov	x1, x20
	mov	w2, #72
	bl	_memcmp
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	mov	x1, x20
	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	_dm_pp_apply_display_requirements
LBB0_4:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MEMORY_TYPE_MULTIPLIER_CZ,4,2  ; @MEMORY_TYPE_MULTIPLIER_CZ
	.no_dead_strip	_dce11_pplib_apply_display_requirements
.subsections_via_symbols
