	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function main
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f800000                      ## float 1
LCPI0_2:
	.long	0xbf800000                      ## float -1
LCPI0_3:
	.long	0x42480000                      ## float 50
LCPI0_4:
	.long	0xbf19999a                      ## float -0.600000024
LCPI0_5:
	.long	0xbecccccd                      ## float -0.400000006
LCPI0_6:
	.long	0x3f19999a                      ## float 0.600000024
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_error_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glfwSetErrorCallback
	xorl	%eax, %eax
	callq	_glfwInit
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movl	$640, %edi                      ## imm = 0x280
	movl	$480, %esi                      ## imm = 0x1E0
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_glfwCreateWindow
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_glfwTerminate
LBB0_3:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_glfwMakeContextCurrent
	movl	$1, %edi
	callq	_glfwSwapInterval
	movq	_key_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_glfwSetKeyCallback
	movq	%rbx, %rdi
	callq	_glfwWindowShouldClose
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	_GL_COLOR_BUFFER_BIT@GOTPCREL(%rip), %r12
	movq	_GL_PROJECTION@GOTPCREL(%rip), %r13
	movq	_GL_MODELVIEW@GOTPCREL(%rip), %r14
	movq	_GL_TRIANGLES@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_glfwGetFramebufferSize
	movl	-48(%rbp), %edx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%edx, %xmm1
	movl	-44(%rbp), %ecx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%ecx, %xmm0
	divss	%xmm0, %xmm1
	movaps	%xmm1, -64(%rbp)                ## 16-byte Spill
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_glViewport
	movl	(%r12), %edi
	callq	_glClear
	movl	(%r13), %edi
	callq	_glMatrixMode
	xorl	%eax, %eax
	callq	_glLoadIdentity
	movaps	-64(%rbp), %xmm1                ## 16-byte Reload
	movaps	%xmm1, %xmm0
	xorps	LCPI0_0(%rip), %xmm0
	movss	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movss	LCPI0_1(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm4
	movaps	%xmm2, %xmm5
	callq	_glOrtho
	movl	(%r14), %edi
	callq	_glMatrixMode
	xorl	%eax, %eax
	callq	_glLoadIdentity
	xorl	%eax, %eax
	callq	_glfwGetTime
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	LCPI0_3(%rip), %xmm0
	xorps	%xmm1, %xmm1
	xorps	%xmm2, %xmm2
	movss	LCPI0_1(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	callq	_glRotatef
	movl	(%r15), %edi
	callq	_glBegin
	xorps	%xmm1, %xmm1
	xorps	%xmm2, %xmm2
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_glColor3f
	xorps	%xmm2, %xmm2
	movss	LCPI0_4(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_5(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_glVertex3f
	xorps	%xmm0, %xmm0
	xorps	%xmm2, %xmm2
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_glColor3f
	xorps	%xmm2, %xmm2
	movss	LCPI0_6(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_5(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_glVertex3f
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	callq	_glColor3f
	xorps	%xmm0, %xmm0
	xorps	%xmm2, %xmm2
	movss	LCPI0_6(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_glVertex3f
	xorl	%eax, %eax
	callq	_glEnd
	movq	%rbx, %rdi
	callq	_glfwSwapBuffers
	xorl	%eax, %eax
	callq	_glfwPollEvents
	movq	%rbx, %rdi
	callq	_glfwWindowShouldClose
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_glfwDestroyWindow
	xorl	%eax, %eax
	callq	_glfwTerminate
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_error_callback,4,2             ## @error_callback
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Simple example"

	.comm	_key_callback,4,2               ## @key_callback
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ## @GL_COLOR_BUFFER_BIT
	.comm	_GL_PROJECTION,4,2              ## @GL_PROJECTION
	.comm	_GL_MODELVIEW,4,2               ## @GL_MODELVIEW
	.comm	_GL_TRIANGLES,4,2               ## @GL_TRIANGLES
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
Lloh0:
	adrp	x8, _error_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _error_callback@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_glfwSetErrorCallback
	bl	_glfwInit
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #640
	mov	w1, #480
	mov	x3, #0
	mov	x4, #0
	bl	_glfwCreateWindow
	cbnz	x0, LBB0_4
; %bb.2:
	bl	_glfwTerminate
LBB0_3:
Lloh5:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_exit
LBB0_4:
	mov	x19, x0
	bl	_glfwMakeContextCurrent
	mov	w0, #1
	bl	_glfwSwapInterval
Lloh8:
	adrp	x8, _key_callback@GOTPAGE
Lloh9:
	ldr	x8, [x8, _key_callback@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_glfwSetKeyCallback
	mov	x0, x19
	bl	_glfwWindowShouldClose
	cbnz	w0, LBB0_7
; %bb.5:
Lloh11:
	adrp	x20, _GL_COLOR_BUFFER_BIT@GOTPAGE
Lloh12:
	ldr	x20, [x20, _GL_COLOR_BUFFER_BIT@GOTPAGEOFF]
Lloh13:
	adrp	x21, _GL_PROJECTION@GOTPAGE
Lloh14:
	ldr	x21, [x21, _GL_PROJECTION@GOTPAGEOFF]
	mov	w22, #1112014848
	mov	w23, #39322
	movk	w23, #48921, lsl #16
Lloh15:
	adrp	x24, _GL_MODELVIEW@GOTPAGE
Lloh16:
	ldr	x24, [x24, _GL_MODELVIEW@GOTPAGEOFF]
	mov	w25, #52429
	movk	w25, #48844, lsl #16
Lloh17:
	adrp	x26, _GL_TRIANGLES@GOTPAGE
Lloh18:
	ldr	x26, [x26, _GL_TRIANGLES@GOTPAGEOFF]
	mov	w27, #39322
	movk	w27, #16153, lsl #16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	bl	_glfwGetFramebufferSize
	ldp	w3, w2, [sp, #8]
	scvtf	s0, w2
	scvtf	s1, w3
	fdiv	s8, s0, s1
	mov	w0, #0
	mov	w1, #0
	bl	_glViewport
	ldr	w0, [x20]
	bl	_glClear
	ldr	w0, [x21]
	bl	_glMatrixMode
	bl	_glLoadIdentity
	fneg	s0, s8
	fmov	s2, #-1.00000000
	fmov	s3, #1.00000000
	fmov	s4, #1.00000000
	fmov	s5, #-1.00000000
	fmov	s1, s8
	bl	_glOrtho
	ldr	w0, [x24]
	bl	_glMatrixMode
	bl	_glLoadIdentity
	bl	_glfwGetTime
	scvtf	s0, x0
	fmov	s1, w22
	fmul	s0, s0, s1
	movi	d1, #0000000000000000
	movi	d2, #0000000000000000
	fmov	s3, #1.00000000
	bl	_glRotatef
	ldr	w0, [x26]
	bl	_glBegin
	fmov	s0, #1.00000000
	movi	d1, #0000000000000000
	movi	d2, #0000000000000000
	bl	_glColor3f
	fmov	s0, w23
	fmov	s8, w25
	movi	d2, #0000000000000000
	fmov	s1, s8
	bl	_glVertex3f
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	movi	d2, #0000000000000000
	bl	_glColor3f
	fmov	s9, w27
	movi	d2, #0000000000000000
	fmov	s0, s9
	fmov	s1, s8
	bl	_glVertex3f
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	fmov	s2, #1.00000000
	bl	_glColor3f
	movi	d0, #0000000000000000
	movi	d2, #0000000000000000
	fmov	s1, s9
	bl	_glVertex3f
	bl	_glEnd
	mov	x0, x19
	bl	_glfwSwapBuffers
	bl	_glfwPollEvents
	mov	x0, x19
	bl	_glfwWindowShouldClose
	cbz	w0, LBB0_6
LBB0_7:
	mov	x0, x19
	bl	_glfwDestroyWindow
	bl	_glfwTerminate
Lloh19:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_error_callback,4,2             ; @error_callback
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Simple example"

	.comm	_key_callback,4,2               ; @key_callback
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ; @GL_COLOR_BUFFER_BIT
	.comm	_GL_PROJECTION,4,2              ; @GL_PROJECTION
	.comm	_GL_MODELVIEW,4,2               ; @GL_MODELVIEW
	.comm	_GL_TRIANGLES,4,2               ; @GL_TRIANGLES
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
.subsections_via_symbols
