	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilk_validate_pipe_wm
_ilk_validate_pipe_wm:                  ## @ilk_validate_pipe_wm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	$1, -32(%rbp)
	movl	8(%rsi), %eax
	movl	%eax, -28(%rbp)
	movl	12(%rsi), %eax
	movl	%eax, -24(%rbp)
	movq	_INTEL_DDB_PART_1_2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %r14
	xorl	%esi, %esi
	movq	%r14, %r8
	callq	_ilk_compute_wm_maximums
	movq	(%rbx), %rdx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_ilk_validate_wm_level
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	xorl	%eax, %eax
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_DDB_PART_1_2,4,2         ## @INTEL_DDB_PART_1_2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LP0 watermark invalid\n"

	.no_dead_strip	_ilk_validate_pipe_wm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilk_validate_pipe_wm
_ilk_validate_pipe_wm:                  ; @ilk_validate_pipe_wm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	w19, #1
	str	w19, [sp, #16]
	ldr	d0, [x1, #8]
	stur	d0, [sp, #20]
Lloh0:
	adrp	x8, _INTEL_DDB_PART_1_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTEL_DDB_PART_1_2@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x2, sp, #16
	add	x4, sp, #8
	mov	w1, #0
	bl	_ilk_compute_wm_maximums
	ldr	x2, [x20]
	add	x1, sp, #8
	mov	w0, #0
	bl	_ilk_validate_wm_level
	cbnz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	w19, #0
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_DDB_PART_1_2,4,2         ; @INTEL_DDB_PART_1_2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LP0 watermark invalid\n"

	.no_dead_strip	_ilk_validate_pipe_wm
.subsections_via_symbols
