	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetDriverVersion
_GetDriverVersion:                      ## @GetDriverVersion
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_GetModuleHandleA
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_GetProcAddress
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_GetCurrentProcess
	leaq	-48(%rbp), %rsi
	movl	%eax, %edi
	callq	*%rbx
	cmpq	$0, -48(%rbp)
	je	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	callq	_GetProcAddress
	leaq	-56(%rbp), %rdi
	callq	*%rax
LBB0_3:
	movl	8(%r15), %edi
	xorl	%esi, %esi
	callq	_GetFileVersionInfoSizeA
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	jle	LBB0_8
## %bb.4:
	movq	%rax, %rbx
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	$0, -64(%rbp)
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_HeapAlloc
	movl	%eax, %r12d
	movq	_TRUE@GOTPCREL(%rip), %r13
	movq	(%r13), %r14
	movl	8(%r15), %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_GetFileVersionInfoA
	cmpq	%rax, %r14
	jne	LBB0_7
## %bb.5:
	movq	(%r13), %rbx
	leaq	L_.str.3(%rip), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movl	%r12d, %edi
	callq	_VerQueryValueA
	cmpq	%rax, %rbx
	jne	LBB0_7
## %bb.6:
	movq	-64(%rbp), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 4(%r15)
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_7:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_HeapFree
	movl	-52(%rbp), %r14d                ## 4-byte Reload
LBB0_8:
	cmpq	$0, -48(%rbp)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	callq	_GetProcAddress
	leaq	-56(%rbp), %rdi
	callq	*%rax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"KERNEL32"

L_.str.1:                               ## @.str.1
	.asciz	"IsWow64Process"

L_.str.2:                               ## @.str.2
	.asciz	"Wow64DisableWow64FsRedirection"

	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_TRUE,8,3                       ## @TRUE
L_.str.3:                               ## @.str.3
	.asciz	"\\"

L_.str.4:                               ## @.str.4
	.asciz	"Wow64RevertWow64FsRedirection"

	.no_dead_strip	_GetDriverVersion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetDriverVersion
_GetDriverVersion:                      ; @GetDriverVersion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_GetModuleHandleA
	mov	x19, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_GetProcAddress
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	bl	_GetCurrentProcess
	add	x1, sp, #24
	blr	x21
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_3
; %bb.2:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_GetProcAddress
	mov	x8, x0
	add	x0, sp, #20
	blr	x8
LBB0_3:
	ldr	w0, [x20, #8]
	mov	x1, #0
	bl	_GetFileVersionInfoSizeA
	str	x0, [sp, #8]
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x22, x0
	str	xzr, [sp]
	bl	_GetProcessHeap
Lloh9:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_HeapAlloc
	mov	x21, x0
Lloh12:
	adrp	x23, _TRUE@GOTPAGE
Lloh13:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	ldr	x24, [x23]
	ldr	w0, [x20, #8]
	mov	w1, #0
	mov	x2, x22
	mov	x3, x21
	bl	_GetFileVersionInfoA
	cmp	x24, x0
	b.ne	LBB0_7
; %bb.5:
	ldr	x22, [x23]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, sp
	add	x3, sp, #8
	mov	x0, x21
	bl	_VerQueryValueA
	cmp	x22, x0
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [sp]
	ldr	d0, [x8]
	str	d0, [x20]
LBB0_7:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x21
	bl	_HeapFree
LBB0_8:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_10
; %bb.9:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_GetProcAddress
	mov	x8, x0
	add	x0, sp, #20
	blr	x8
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"KERNEL32"

l_.str.1:                               ; @.str.1
	.asciz	"IsWow64Process"

l_.str.2:                               ; @.str.2
	.asciz	"Wow64DisableWow64FsRedirection"

	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_TRUE,8,3                       ; @TRUE
l_.str.3:                               ; @.str.3
	.asciz	"\\"

l_.str.4:                               ; @.str.4
	.asciz	"Wow64RevertWow64FsRedirection"

	.no_dead_strip	_GetDriverVersion
.subsections_via_symbols
