	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tegra_fb_is_bottom_up          ## -- Begin function tegra_fb_is_bottom_up
	.p2align	4, 0x90
_tegra_fb_is_bottom_up:                 ## @tegra_fb_is_bottom_up
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%esi, %esi
	callq	_tegra_fb_get_plane
	movq	_TEGRA_BO_BOTTOM_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ecx, %ecx
	testl	%edx, (%rax)
	setne	%cl
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEGRA_BO_BOTTOM_UP,4,2         ## @TEGRA_BO_BOTTOM_UP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tegra_fb_is_bottom_up          ; -- Begin function tegra_fb_is_bottom_up
	.p2align	2
_tegra_fb_is_bottom_up:                 ; @tegra_fb_is_bottom_up
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w1, #0
	bl	_tegra_fb_get_plane
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TEGRA_BO_BOTTOM_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TEGRA_BO_BOTTOM_UP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TEGRA_BO_BOTTOM_UP,4,2         ; @TEGRA_BO_BOTTOM_UP
.subsections_via_symbols
