	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GLW_CheckOSVersion
_GLW_CheckOSVersion:                    ## @GLW_CheckOSVersion
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$24, -40(%rbp)
	movq	_qfalse@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_glw_state@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	leaq	-40(%rbp), %rdi
	callq	_GetVersionEx
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	-36(%rbp), %eax
	cmpl	$5, %eax
	jge	LBB0_2
## %bb.3:
	movq	_qtrue@GOTPCREL(%rip), %rbx
	cmpl	$4, %eax
	jne	LBB0_8
## %bb.4:
	movq	-32(%rbp), %rax
	movq	_VER_PLATFORM_WIN32_NT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.5:
	movq	_VER_PLATFORM_WIN32_WINDOWS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movl	-24(%rbp), %edi
	callq	_LOWORD
	cmpq	$1111, %rax                     ## imm = 0x457
	jl	LBB0_8
LBB0_2:
	movq	_qtrue@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, (%r14)
	jmp	LBB0_8
LBB0_7:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_PRINT_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
LBB0_8:
	movq	(%rbx), %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_glw_state,8,3                  ## @glw_state
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_VER_PLATFORM_WIN32_NT,8,3      ## @VER_PLATFORM_WIN32_NT
	.comm	_VER_PLATFORM_WIN32_WINDOWS,8,3 ## @VER_PLATFORM_WIN32_WINDOWS
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_ALL,4,2                  ## @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GLW_CheckOSVersion() - GetVersionEx failed\n"

	.comm	_OSR2_BUILD_NUMBER,8,3          ## @OSR2_BUILD_NUMBER
	.no_dead_strip	_GLW_CheckOSVersion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GLW_CheckOSVersion
_GLW_CheckOSVersion:                    ; @GLW_CheckOSVersion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	w8, #24
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x19, _glw_state@GOTPAGE
Lloh4:
	ldr	x19, [x19, _glw_state@GOTPAGEOFF]
	str	x8, [x19]
	add	x0, sp, #8
	bl	_GetVersionEx
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w9, [sp, #12]
Lloh5:
	adrp	x8, _qtrue@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	cmp	w9, #5
	b.ge	LBB0_6
; %bb.2:
	cmp	w9, #4
	b.ne	LBB0_8
; %bb.3:
	ldr	x9, [sp, #16]
Lloh7:
	adrp	x10, _VER_PLATFORM_WIN32_NT@GOTPAGE
Lloh8:
	ldr	x10, [x10, _VER_PLATFORM_WIN32_NT@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_6
; %bb.4:
Lloh10:
	adrp	x8, _VER_PLATFORM_WIN32_WINDOWS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VER_PLATFORM_WIN32_WINDOWS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.5:
	ldr	w0, [sp, #24]
	bl	_LOWORD
Lloh13:
	adrp	x8, _qtrue@GOTPAGE
Lloh14:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	cmp	x0, #1111
	b.lt	LBB0_8
LBB0_6:
	ldr	x9, [x8]
	str	x9, [x19]
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x8, _ri@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _PRINT_ALL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PRINT_ALL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x9]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
Lloh23:
	adrp	x8, _qfalse@GOTPAGE
Lloh24:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_8:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
Lloh25:
	adrp	x8, _qtrue@GOTPAGE
Lloh26:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_glw_state,8,3                  ; @glw_state
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_VER_PLATFORM_WIN32_NT,8,3      ; @VER_PLATFORM_WIN32_NT
	.comm	_VER_PLATFORM_WIN32_WINDOWS,8,3 ; @VER_PLATFORM_WIN32_WINDOWS
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_ALL,4,2                  ; @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GLW_CheckOSVersion() - GetVersionEx failed\n"

	.comm	_OSR2_BUILD_NUMBER,8,3          ; @OSR2_BUILD_NUMBER
	.no_dead_strip	_GLW_CheckOSVersion
.subsections_via_symbols
