	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dpu_plane_get_qos_lut
__dpu_plane_get_qos_lut:                ## @_dpu_plane_get_qos_lut
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movl	(%rdi), %ecx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.2:
	movq	8(%rdi), %r9
	testq	%r9, %r9
	je	LBB0_11
## %bb.3:
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.5:
	leal	-1(%rcx), %r8d
	xorl	%edx, %edx
	movq	%r9, %rdi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rdi)
	jge	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdx
	addq	$16, %rdi
	cmpq	%rdx, %rcx
	jne	LBB0_6
## %bb.8:
	movslq	%r8d, %rdx
	jmp	LBB0_9
LBB0_4:
	movq	$-1, %rdx
LBB0_9:
	movq	%rdx, %rcx
	shlq	$4, %rcx
	cmpq	$0, (%r9,%rcx)
	je	LBB0_10
LBB0_11:
	popq	%rbp
	retq
LBB0_10:
	shlq	$4, %rdx
	movl	8(%r9,%rdx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__dpu_plane_get_qos_lut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _dpu_plane_get_qos_lut
__dpu_plane_get_qos_lut:                ; @_dpu_plane_get_qos_lut
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_12
; %bb.1:
	ldr	w10, [x0]
	cbz	w10, LBB0_10
; %bb.2:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.3:
	cmp	w10, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x9, #0
	sub	w11, w10, #1
	mov	x12, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12]
	cmp	x13, x1
	b.ge	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #1
	add	x12, x12, #16
	cmp	x10, x9
	b.ne	LBB0_5
; %bb.7:
	sxtw	x9, w11
	b	LBB0_9
LBB0_8:
	mov	x9, #-1
LBB0_9:
	lsl	x10, x9, #4
	ldr	x10, [x8, x10]
	cbz	x10, LBB0_11
LBB0_10:
	mov	w0, #0
	ret
LBB0_11:
	add	x8, x8, x9, lsl #4
	ldr	w0, [x8, #8]
LBB0_12:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__dpu_plane_get_qos_lut
.subsections_via_symbols
