	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_plane_get_overlap_index
_tegra_plane_get_overlap_index:         ## @tegra_plane_get_overlap_index
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	%rsi, %rbx
	sete	%dil
	callq	_WARN_ON
	movl	(%rbx), %edx
	movl	(%r14), %ecx
	testl	%edx, %edx
	je	LBB0_9
## %bb.1:
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.3:
	movl	$1, %eax
	cmpl	$1, %edx
	je	LBB0_6
## %bb.4:
	movl	$1, %eax
	cmpl	$1, %ecx
	je	LBB0_8
## %bb.5:
	movl	$2, %eax
	cmpl	$2, %edx
	je	LBB0_8
LBB0_6:
	movl	(%r14), %ecx
	movl	%eax, %edx
	jmp	LBB0_7
LBB0_9:
	movl	$1, %edx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	je	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	cmpl	$2, %ecx
	setne	%al
	addl	%edx, %eax
	jmp	LBB0_8
LBB0_2:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tegra_plane_get_overlap_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_plane_get_overlap_index
_tegra_plane_get_overlap_index:         ; @tegra_plane_get_overlap_index
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	cmp	x0, x1
	cset	w0, eq
	bl	_WARN_ON
	ldr	w9, [x20]
	ldr	w8, [x19]
	cbz	w9, LBB0_4
; %bb.1:
	cbz	w8, LBB0_5
; %bb.2:
	cmp	w9, #1
	b.ne	LBB0_6
; %bb.3:
	mov	w0, #1
	b	LBB0_10
LBB0_4:
	cmp	w8, #1
	b.ne	LBB0_8
LBB0_5:
	mov	w0, #0
	b	LBB0_12
LBB0_6:
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.7:
	mov	w0, #1
	b	LBB0_12
LBB0_8:
	mov	w0, #1
	b	LBB0_11
LBB0_9:
	mov	w0, #2
	cmp	w9, #2
	b.eq	LBB0_12
LBB0_10:
	ldr	w8, [x19]
LBB0_11:
	cmp	w8, #2
	cinc	w0, w0, ne
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tegra_plane_get_overlap_index
.subsections_via_symbols
