	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gxv_kern_coverage_validate
_gxv_kern_coverage_validate:            ## @gxv_kern_coverage_validate
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	_KERN_DIALECT_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	_GXV_NAME_ENTER
	movslq	%r12d, %rdi
	callq	_GXV_TRACE
	movl	%ebx, %edi
	callq	_KERN_IS_NEW
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_gxv_kern_coverage_new_apple_validate
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movl	%ebx, %edi
	callq	_KERN_IS_CLASSIC
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	%ebx, %edi
	callq	_KERN_ALLOWS_APPLE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_gxv_kern_coverage_classic_apple_validate
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:
	movq	_KERN_DIALECT_APPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_11
LBB0_6:
	movl	%ebx, %edi
	callq	_KERN_IS_CLASSIC
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movl	%ebx, %edi
	callq	_KERN_ALLOWS_MS
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_gxv_kern_coverage_classic_microsoft_validate
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_KERN_DIALECT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	callq	_GXV_TRACE
LBB0_11:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KERN_DIALECT_UNKNOWN,4,2       ## @KERN_DIALECT_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"validating coverage"

	.comm	_KERN_DIALECT_APPLE,4,2         ## @KERN_DIALECT_APPLE
	.comm	_KERN_DIALECT_MS,4,2            ## @KERN_DIALECT_MS
L_.str.2:                               ## @.str.2
	.asciz	"cannot interpret coverage, broken kern subtable\n"

	.comm	_GXV_EXIT,4,2                   ## @GXV_EXIT
	.no_dead_strip	_gxv_kern_coverage_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gxv_kern_coverage_validate
_gxv_kern_coverage_validate:            ; @gxv_kern_coverage_validate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _KERN_DIALECT_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KERN_DIALECT_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_GXV_NAME_ENTER
	sxtw	x0, w22
	bl	_GXV_TRACE
	mov	x0, x20
	bl	_KERN_IS_NEW
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_gxv_kern_coverage_new_apple_validate
	cbnz	x0, LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_KERN_IS_CLASSIC
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_KERN_ALLOWS_APPLE
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_gxv_kern_coverage_classic_apple_validate
	cbz	x0, LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _KERN_DIALECT_APPLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KERN_DIALECT_APPLE@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	b	LBB0_11
LBB0_6:
	mov	x0, x20
	bl	_KERN_IS_CLASSIC
	cbz	x0, LBB0_10
; %bb.7:
	mov	x0, x20
	bl	_KERN_ALLOWS_MS
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_gxv_kern_coverage_classic_microsoft_validate
	cbz	x0, LBB0_10
; %bb.9:
Lloh8:
	adrp	x8, _KERN_DIALECT_MS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KERN_DIALECT_MS@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_GXV_TRACE
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_KERN_DIALECT_UNKNOWN,4,2       ; @KERN_DIALECT_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"validating coverage"

	.comm	_KERN_DIALECT_APPLE,4,2         ; @KERN_DIALECT_APPLE
	.comm	_KERN_DIALECT_MS,4,2            ; @KERN_DIALECT_MS
l_.str.2:                               ; @.str.2
	.asciz	"cannot interpret coverage, broken kern subtable\n"

	.comm	_GXV_EXIT,4,2                   ; @GXV_EXIT
	.no_dead_strip	_gxv_kern_coverage_validate
.subsections_via_symbols
