	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_plane_offset
_tegra_plane_offset:                    ## @tegra_plane_offset
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	leal	-1280(%rbx), %eax
	cmpl	$129, %eax
	ja	LBB0_2
## %bb.1:
	movl	(%r14), %ebx
	jmp	LBB0_7
LBB0_2:
	leal	-1792(%rbx), %eax
	cmpl	$60, %eax
	ja	LBB0_4
## %bb.3:
	addl	$-1408, %ebx                    ## imm = 0xFA80
	movl	(%r14), %eax
	jmp	LBB0_7
LBB0_4:
	leal	-2048(%rbx), %eax
	cmpl	$62, %eax
	ja	LBB0_6
## %bb.5:
	addl	$-1600, %ebx                    ## imm = 0xF9C0
	movl	(%r14), %eax
	jmp	LBB0_7
LBB0_6:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_WARN
	movl	%ebx, %eax
	movl	(%r14), %ecx
	movl	%ecx, %ebx
LBB0_7:
	addl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid offset: %x\n"

	.no_dead_strip	_tegra_plane_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_plane_offset
_tegra_plane_offset:                    ; @tegra_plane_offset
	.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	x20, x0
	sub	w9, w1, #1280
	cmp	w9, #129
	b.hi	LBB0_2
; %bb.1:
	ldr	w8, [x20]
	mov	x19, x9
	b	LBB0_7
LBB0_2:
	mov	x19, x1
	sub	w8, w1, #1792
	cmp	w8, #60
	b.hi	LBB0_4
; %bb.3:
	sub	w8, w19, #1408
	ldr	w19, [x20]
	b	LBB0_7
LBB0_4:
	sub	w8, w19, #2048
	cmp	w8, #62
	b.hi	LBB0_6
; %bb.5:
	sub	w8, w19, #1600
	ldr	w19, [x20]
	b	LBB0_7
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_WARN
	ldr	w8, [x20]
LBB0_7:
	add	w0, w8, w19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid offset: %x\n"

	.no_dead_strip	_tegra_plane_offset
.subsections_via_symbols
