	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dsi_get_panel_orientation ## -- Begin function intel_dsi_get_panel_orientation
	.p2align	4, 0x90
_intel_dsi_get_panel_orientation:       ## @intel_dsi_get_panel_orientation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	callq	_to_i915
	movq	%rax, %rcx
	movl	4(%rax), %eax
	movq	_DRM_MODE_PANEL_ORIENTATION_UNKNOWN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_4
## %bb.1:
	movl	(%rcx), %ecx
	cmpl	%eax, %ecx
	jne	LBB0_3
## %bb.2:
	movq	_DRM_MODE_PANEL_ORIENTATION_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_3:
	movl	%ecx, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_PANEL_ORIENTATION_UNKNOWN,4,2 ## @DRM_MODE_PANEL_ORIENTATION_UNKNOWN
	.comm	_DRM_MODE_PANEL_ORIENTATION_NORMAL,4,2 ## @DRM_MODE_PANEL_ORIENTATION_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dsi_get_panel_orientation ; -- Begin function intel_dsi_get_panel_orientation
	.p2align	2
_intel_dsi_get_panel_orientation:       ; @intel_dsi_get_panel_orientation
	.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
	ldr	w0, [x0]
	bl	_to_i915
	mov	x8, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x9, _DRM_MODE_PANEL_ORIENTATION_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_MODE_PANEL_ORIENTATION_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DRM_MODE_PANEL_ORIENTATION_NORMAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DRM_MODE_PANEL_ORIENTATION_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	csel	w0, w9, w8, eq
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_PANEL_ORIENTATION_UNKNOWN,4,2 ; @DRM_MODE_PANEL_ORIENTATION_UNKNOWN
	.comm	_DRM_MODE_PANEL_ORIENTATION_NORMAL,4,2 ; @DRM_MODE_PANEL_ORIENTATION_NORMAL
.subsections_via_symbols
