	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl_core_set_rotation
_gl_core_set_rotation:                  ## @gl_core_set_rotation
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	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, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_video_driver_is_hw_context
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	$90, %eax
	cmpq	$0, 8(%rbx)
	jne	LBB0_4
LBB0_3:
	movl	$270, %eax                      ## imm = 0x10E
LBB0_4:
	imull	%r14d, %eax
	movl	%eax, (%rbx)
	movq	_gl_core_default_ortho@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gl_core_set_projection         ## TAILCALL
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gl_core_default_ortho,4,2      ## @gl_core_default_ortho
	.no_dead_strip	_gl_core_set_rotation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl_core_set_rotation
_gl_core_set_rotation:                  ; @gl_core_set_rotation
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	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
	.cfi_remember_state
	mov	x20, x1
	mov	x19, x0
	bl	_video_driver_is_hw_context
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.3:
	mov	w8, #90
	b	LBB0_6
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
LBB0_5:
	.cfi_restore_state
	mov	w8, #270
LBB0_6:
	mul	w8, w8, w20
	str	w8, [x19]
Lloh0:
	adrp	x1, _gl_core_default_ortho@GOTPAGE
Lloh1:
	ldr	x1, [x1, _gl_core_default_ortho@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gl_core_set_projection
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_gl_core_default_ortho,4,2      ; @gl_core_default_ortho
	.no_dead_strip	_gl_core_set_rotation
.subsections_via_symbols
