	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_win32_display_server_get_screen_orientation ## -- Begin function win32_display_server_get_screen_orientation
	.p2align	4, 0x90
_win32_display_server_get_screen_orientation: ## @win32_display_server_get_screen_orientation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	$0, -8(%rbp)
	leaq	-8(%rbp), %rdi
	movl	$-1, %esi
	movl	$8, %edx
	callq	_win32_get_video_output
	movl	$-129, %eax
	addl	-8(%rbp), %eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.win32_display_server_get_screen_orientation(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ORIENTATION_NORMAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ORIENTATION_NORMAL,4,2         ## @ORIENTATION_NORMAL
	.comm	_ORIENTATION_FLIPPED_ROTATED,4,2 ## @ORIENTATION_FLIPPED_ROTATED
	.comm	_ORIENTATION_FLIPPED,4,2        ## @ORIENTATION_FLIPPED
	.comm	_ORIENTATION_VERTICAL,4,2       ## @ORIENTATION_VERTICAL
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.win32_display_server_get_screen_orientation
l_switch.table.win32_display_server_get_screen_orientation:
	.quad	_ORIENTATION_FLIPPED_ROTATED
	.quad	_ORIENTATION_VERTICAL
	.quad	_ORIENTATION_FLIPPED

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_win32_display_server_get_screen_orientation ; -- Begin function win32_display_server_get_screen_orientation
	.p2align	2
_win32_display_server_get_screen_orientation: ; @win32_display_server_get_screen_orientation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	str	xzr, [sp, #8]
	add	x0, sp, #8
	mov	w1, #-1
	mov	w2, #8
	bl	_win32_get_video_output
	ldr	w8, [sp, #8]
	sub	w8, w8, #129
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.win32_display_server_get_screen_orientation@PAGE
Lloh1:
	add	x9, x9, l_switch.table.win32_display_server_get_screen_orientation@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _ORIENTATION_NORMAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ORIENTATION_NORMAL@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ORIENTATION_NORMAL,4,2         ; @ORIENTATION_NORMAL
	.comm	_ORIENTATION_FLIPPED_ROTATED,4,2 ; @ORIENTATION_FLIPPED_ROTATED
	.comm	_ORIENTATION_FLIPPED,4,2        ; @ORIENTATION_FLIPPED
	.comm	_ORIENTATION_VERTICAL,4,2       ; @ORIENTATION_VERTICAL
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.win32_display_server_get_screen_orientation
l_switch.table.win32_display_server_get_screen_orientation:
	.quad	_ORIENTATION_FLIPPED_ROTATED
	.quad	_ORIENTATION_VERTICAL
	.quad	_ORIENTATION_FLIPPED

.subsections_via_symbols
