	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetKernelVersion               ## -- Begin function GetKernelVersion
	.p2align	4, 0x90
_GetKernelVersion:                      ## @GetKernelVersion
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	cmpw	$0, _GetKernelVersion.version_(%rip)
	jne	LBB0_3
## %bb.1:
	movw	$-1, _GetKernelVersion.version_+4(%rip)
	movl	$-1, _GetKernelVersion.version_(%rip)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -32(%rbp)
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -224(%rbp)
	movaps	%xmm0, -240(%rbp)
	movaps	%xmm0, -256(%rbp)
	movaps	%xmm0, -272(%rbp)
	movq	$256, -280(%rbp)                ## imm = 0x100
	leaq	L_.str(%rip), %rdi
	leaq	-272(%rbp), %rsi
	leaq	-280(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	leaq	_GetKernelVersion.version_(%rip), %rdx
	leaq	_GetKernelVersion.version_+2(%rip), %rcx
	leaq	_GetKernelVersion.version_+4(%rip), %r8
	leaq	-272(%rbp), %rdi
	callq	_sscanf
LBB0_3:
	movl	(%rbx), %edi
	leaq	_GetKernelVersion.version_(%rip), %rsi
	movl	$6, %edx
	callq	_memcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_GetKernelVersion.version_,6,1 ## @GetKernelVersion.version_
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kern.osrelease"

L_.str.1:                               ## @.str.1
	.asciz	"%hd.%hd.%hd"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetKernelVersion               ; -- Begin function GetKernelVersion
	.p2align	2
_GetKernelVersion:                      ; @GetKernelVersion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	adrp	x8, _GetKernelVersion.version_@PAGE
	ldrh	w8, [x8, _GetKernelVersion.version_@PAGEOFF]
	cbnz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x20, _GetKernelVersion.version_@PAGE
Lloh4:
	add	x20, x20, _GetKernelVersion.version_@PAGEOFF
	mov	w8, #65535
	strh	w8, [x20, #4]
	mov	w8, #-1
	str	w8, [x20]
	add	x8, sp, #16
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #224]
	stp	q0, q0, [x8, #192]
	stp	q0, q0, [x8, #160]
	stp	q0, q0, [x8, #128]
	stp	q0, q0, [sp, #112]
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	stp	q0, q0, [sp, #16]
	mov	w8, #256
	str	x8, [sp, #8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cbnz	w0, LBB0_3
; %bb.2:
	add	x3, x20, #2
	add	x4, x20, #4
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #16
	mov	x2, x20
	bl	_sscanf
LBB0_3:
	ldr	w0, [x19]
Lloh9:
	adrp	x1, _GetKernelVersion.version_@PAGE
Lloh10:
	add	x1, x1, _GetKernelVersion.version_@PAGEOFF
	mov	w2, #6
	bl	_memcpy
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_GetKernelVersion.version_,6,1 ; @GetKernelVersion.version_
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kern.osrelease"

l_.str.1:                               ; @.str.1
	.asciz	"%hd.%hd.%hd"

.subsections_via_symbols
