	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function go32_get_windows_version
_go32_get_windows_version:              ## @go32_get_windows_version
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movl	$5632, -8(%rbp)                 ## imm = 0x1600
	leaq	-24(%rbp), %rsi
	movl	$47, %edi
	callq	___dpmi_int
	movl	-24(%rbp), %eax
	cmpl	$3, %eax
	jl	LBB0_6
## %bb.1:
	cmpl	$128, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$255, %eax
	je	LBB0_6
## %bb.3:
	movq	-16(%rbp), %rcx
	cmpl	$3, %eax
	ja	LBB0_5
## %bb.4:
	testq	%rcx, %rcx
	jg	LBB0_5
LBB0_6:
	movq	_windows_major@GOTPCREL(%rip), %rax
	movl	$255, (%rax)
LBB0_7:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_5:
	movq	_windows_major@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_windows_minor@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_windows_major,4,2              ## @windows_major
	.comm	_windows_minor,8,3              ## @windows_minor
	.no_dead_strip	_go32_get_windows_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function go32_get_windows_version
_go32_get_windows_version:              ; @go32_get_windows_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	mov	w8, #5632
	str	w8, [sp, #24]
	add	x1, sp, #8
	mov	w0, #47
	bl	___dpmi_int
	ldr	w8, [sp, #8]
	cmp	w8, #3
	b.lt	LBB0_5
; %bb.1:
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #255
	b.eq	LBB0_5
; %bb.3:
	ldr	x9, [sp, #16]
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.4:
	cmp	x9, #1
	b.ge	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _windows_major@GOTPAGE
Lloh1:
	ldr	x8, [x8, _windows_major@GOTPAGEOFF]
	mov	w9, #255
Lloh2:
	str	w9, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh3:
	adrp	x10, _windows_major@GOTPAGE
Lloh4:
	ldr	x10, [x10, _windows_major@GOTPAGEOFF]
Lloh5:
	str	w8, [x10]
Lloh6:
	adrp	x8, _windows_minor@GOTPAGE
Lloh7:
	ldr	x8, [x8, _windows_minor@GOTPAGEOFF]
Lloh8:
	str	x9, [x8]
	b	LBB0_6
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_windows_major,4,2              ; @windows_major
	.comm	_windows_minor,8,3              ; @windows_minor
	.no_dead_strip	_go32_get_windows_version
.subsections_via_symbols
