	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function main
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0xbf800000                      ## float -1
LCPI0_2:
	.long	0x3f000000                      ## float 0.5
LCPI0_3:
	.long	0x3f4ccccd                      ## float 0.800000011
LCPI0_4:
	.long	0x3e4ccccd                      ## float 0.200000003
LCPI0_5:
	.long	0x3ecccccd                      ## float 0.400000006
LCPI0_6:
	.long	0xbf000000                      ## float -0.5
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_error_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glfwSetErrorCallback
	xorl	%eax, %eax
	callq	_glfwInit
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	leaq	L_.str(%rip), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_getopt
	cmpl	$102, %eax
	jne	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_glfwGetPrimaryMonitor
	movq	%rax, %r14
	jmp	LBB0_2
LBB0_3:
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$104, %eax
	jne	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_6
LBB0_9:
	movl	$200, %esi
	movl	$200, %edi
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_glfwGetVideoMode
	movq	%rax, %rbx
	movq	_GLFW_REFRESH_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%rbx), %esi
	callq	_glfwWindowHint
	movq	_GLFW_RED_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_glfwWindowHint
	movq	_GLFW_GREEN_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_glfwWindowHint
	movq	_GLFW_BLUE_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_glfwWindowHint
	movl	(%rbx), %edi
	movl	4(%rbx), %esi
LBB0_11:
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_glfwCreateWindow
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:
	xorl	%eax, %eax
	callq	_glfwTerminate
	jmp	LBB0_13
LBB0_8:
	xorl	%eax, %eax
	callq	_usage
LBB0_13:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_14:
	movq	%rax, %rbx
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movq	%rax, %rdi
	callq	_set_gamma
	movq	%rbx, %rdi
	callq	_glfwMakeContextCurrent
	movl	$1, %edi
	callq	_glfwSwapInterval
	movq	_key_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_glfwSetKeyCallback
	movq	_framebuffer_size_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_glfwSetFramebufferSizeCallback
	movq	_GL_PROJECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glMatrixMode
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm2
	movaps	%xmm1, %xmm3
	movaps	%xmm1, %xmm5
	movaps	%xmm0, %xmm4
	callq	_glOrtho
	movq	_GL_MODELVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glMatrixMode
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	movaps	%xmm0, %xmm2
	xorl	%edi, %edi
	callq	_glClearColor
	movq	%rbx, %rdi
	callq	_glfwWindowShouldClose
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movq	_GL_COLOR_BUFFER_BIT@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_glClear
	movss	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_4(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	LCPI0_5(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	callq	_glColor3f
	movss	LCPI0_6(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	movss	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm2, %xmm3
	callq	_glRectf
	movq	%rbx, %rdi
	callq	_glfwSwapBuffers
	xorl	%eax, %eax
	callq	_glfwWaitEvents
	movq	%rbx, %rdi
	callq	_glfwWindowShouldClose
	testl	%eax, %eax
	je	LBB0_16
LBB0_17:
	xorl	%eax, %eax
	callq	_glfwTerminate
LBB0_6:
	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	"fh"

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.comm	_GLFW_REFRESH_RATE,4,2          ## @GLFW_REFRESH_RATE
	.comm	_GLFW_RED_BITS,4,2              ## @GLFW_RED_BITS
	.comm	_GLFW_GREEN_BITS,4,2            ## @GLFW_GREEN_BITS
	.comm	_GLFW_BLUE_BITS,4,2             ## @GLFW_BLUE_BITS
L_.str.1:                               ## @.str.1
	.asciz	"Gamma Test"

	.comm	_key_callback,4,2               ## @key_callback
	.comm	_framebuffer_size_callback,4,2  ## @framebuffer_size_callback
	.comm	_GL_PROJECTION,4,2              ## @GL_PROJECTION
	.comm	_GL_MODELVIEW,4,2               ## @GL_MODELVIEW
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ## @GL_COLOR_BUFFER_BIT
.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _error_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _error_callback@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_glfwSetErrorCallback
	bl	_glfwInit
	cbz	w0, LBB0_13
; %bb.1:
	mov	x19, #0
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_getopt
	cmp	w0, #102
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_glfwGetPrimaryMonitor
	mov	x19, x0
	b	LBB0_2
LBB0_4:
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.5:
	cmp	w0, #104
	b.ne	LBB0_9
; %bb.6:
	bl	_usage
	b	LBB0_18
LBB0_7:
	cbnz	x19, LBB0_10
; %bb.8:
	mov	w1, #200
	mov	w0, #200
	b	LBB0_11
LBB0_9:
	bl	_usage
	b	LBB0_13
LBB0_10:
	mov	x0, x19
	bl	_glfwGetVideoMode
	mov	x20, x0
Lloh5:
	adrp	x8, _GLFW_REFRESH_RATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLFW_REFRESH_RATE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x20, #20]
	bl	_glfwWindowHint
Lloh8:
	adrp	x8, _GLFW_RED_BITS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GLFW_RED_BITS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w1, [x20, #16]
	bl	_glfwWindowHint
Lloh11:
	adrp	x8, _GLFW_GREEN_BITS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GLFW_GREEN_BITS@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w1, [x20, #12]
	bl	_glfwWindowHint
Lloh14:
	adrp	x8, _GLFW_BLUE_BITS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GLFW_BLUE_BITS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w1, [x20, #8]
	bl	_glfwWindowHint
	ldp	w0, w1, [x20]
LBB0_11:
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x19
	mov	x4, #0
	bl	_glfwCreateWindow
	cbnz	x0, LBB0_14
; %bb.12:
	bl	_glfwTerminate
LBB0_13:
Lloh19:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_exit
LBB0_14:
	mov	x19, x0
	fmov	s0, #1.00000000
	bl	_set_gamma
	mov	x0, x19
	bl	_glfwMakeContextCurrent
	mov	w0, #1
	bl	_glfwSwapInterval
Lloh22:
	adrp	x8, _key_callback@GOTPAGE
Lloh23:
	ldr	x8, [x8, _key_callback@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_glfwSetKeyCallback
Lloh25:
	adrp	x8, _framebuffer_size_callback@GOTPAGE
Lloh26:
	ldr	x8, [x8, _framebuffer_size_callback@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_glfwSetFramebufferSizeCallback
Lloh28:
	adrp	x8, _GL_PROJECTION@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GL_PROJECTION@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_glMatrixMode
	fmov	s0, #-1.00000000
	fmov	s1, #1.00000000
	fmov	s2, #-1.00000000
	fmov	s3, #1.00000000
	fmov	s4, #-1.00000000
	fmov	s5, #1.00000000
	bl	_glOrtho
Lloh31:
	adrp	x8, _GL_MODELVIEW@GOTPAGE
Lloh32:
	ldr	x8, [x8, _GL_MODELVIEW@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_glMatrixMode
	fmov	s0, #0.50000000
	fmov	s1, #0.50000000
	fmov	s2, #0.50000000
	mov	w0, #0
	bl	_glClearColor
	mov	x0, x19
	bl	_glfwWindowShouldClose
	cbnz	w0, LBB0_17
; %bb.15:
Lloh34:
	adrp	x20, _GL_COLOR_BUFFER_BIT@GOTPAGE
Lloh35:
	ldr	x20, [x20, _GL_COLOR_BUFFER_BIT@GOTPAGEOFF]
	mov	w21, #52429
	movk	w21, #16204, lsl #16
	mov	w22, #52429
	movk	w22, #15948, lsl #16
	mov	w23, #52429
	movk	w23, #16076, lsl #16
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_glClear
	fmov	s0, w21
	fmov	s1, w22
	fmov	s2, w23
	bl	_glColor3f
	fmov	s0, #-0.50000000
	fmov	s1, #-0.50000000
	fmov	s2, #0.50000000
	fmov	s3, #0.50000000
	bl	_glRectf
	mov	x0, x19
	bl	_glfwSwapBuffers
	bl	_glfwWaitEvents
	mov	x0, x19
	bl	_glfwWindowShouldClose
	cbz	w0, LBB0_16
LBB0_17:
	bl	_glfwTerminate
LBB0_18:
Lloh36:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.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	"fh"

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.comm	_GLFW_REFRESH_RATE,4,2          ; @GLFW_REFRESH_RATE
	.comm	_GLFW_RED_BITS,4,2              ; @GLFW_RED_BITS
	.comm	_GLFW_GREEN_BITS,4,2            ; @GLFW_GREEN_BITS
	.comm	_GLFW_BLUE_BITS,4,2             ; @GLFW_BLUE_BITS
l_.str.1:                               ; @.str.1
	.asciz	"Gamma Test"

	.comm	_key_callback,4,2               ; @key_callback
	.comm	_framebuffer_size_callback,4,2  ; @framebuffer_size_callback
	.comm	_GL_PROJECTION,4,2              ; @GL_PROJECTION
	.comm	_GL_MODELVIEW,4,2               ; @GL_MODELVIEW
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ; @GL_COLOR_BUFFER_BIT
.subsections_via_symbols
