	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_gamma
_set_gamma:                             ## @set_gamma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	callq	_glfwGetWindowMonitor
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_glfwGetPrimaryMonitor
	movq	%rax, %rbx
LBB0_2:
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	movq	_gamma_value@GOTPCREL(%rip), %r14
	movsd	%xmm0, (%r14)
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_glfwSetGamma                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gamma_value,8,3                ## @gamma_value
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Gamma: %f\n"

	.no_dead_strip	_set_gamma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_gamma
_set_gamma:                             ; @set_gamma
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	fmov	s8, s0
	bl	_glfwGetWindowMonitor
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_glfwGetPrimaryMonitor
	mov	x19, x0
LBB0_2:
	fcvt	d0, s8
Lloh0:
	adrp	x20, _gamma_value@GOTPAGE
Lloh1:
	ldr	x20, [x20, _gamma_value@GOTPAGEOFF]
	str	d0, [x20]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	d0, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	b	_glfwSetGamma
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_gamma_value,8,3                ; @gamma_value
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Gamma: %f\n"

	.no_dead_strip	_set_gamma
.subsections_via_symbols
