	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_validate_cpu                   ## -- Begin function validate_cpu
	.p2align	4, 0x90
_validate_cpu:                          ## @validate_cpu
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_check_cpu
	movl	-48(%rbp), %edi
	cmpl	%edi, -44(%rbp)
	jge	LBB0_2
## %bb.1:
	callq	_cpu_name
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	-44(%rbp), %edi
	callq	_cpu_name
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_21
LBB0_2:
	cmpq	$0, -56(%rbp)
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	callq	_puts
	movq	_RHNCAPINTS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_20
## %bb.5:
	movq	_x86_cap_strs@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	L_.str.4(%rip), %r15
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	movq	_RHNCAPINTS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	jge	LBB0_20
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
	movq	-56(%rbp), %rax
	movl	(%rax,%r12,4), %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_printf
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=2
	sarl	%r14d
	incl	%ebx
	cmpl	$32, %ebx
	je	LBB0_19
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
	movzbl	(%r13), %eax
	cmpq	%rax, %r12
	jbe	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	addq	$2, %r13
	movq	%r13, %rax
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	1(%rax), %r13
	cmpb	$0, (%rax)
	movq	%r13, %rax
	jne	LBB0_11
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=2
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movzbl	1(%r13), %eax
	cmpl	%eax, %ebx
	ja	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	testb	$1, %r14b
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=2
	movzbl	(%r13), %eax
	cmpq	%rax, %r12
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=2
	movzbl	1(%r13), %eax
	cmpl	%eax, %ebx
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpb	$0, 2(%r13)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=2
	leaq	2(%r13), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_18
LBB0_20:
	movl	$10, %edi
	callq	_putchar
LBB0_21:
	movl	$-1, %eax
	jmp	LBB0_22
LBB0_3:
	xorl	%eax, %eax
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"This kernel requires an %s CPU, "

L_.str.1:                               ## @.str.1
	.asciz	"but only detected an %s CPU.\n"

L_.str.2:                               ## @.str.2
	.asciz	"This kernel requires the following features not present on the CPU:\n"

	.comm	_x86_cap_strs,8,3               ## @x86_cap_strs
	.comm	_RHNCAPINTS,4,2                 ## @RHNCAPINTS
L_.str.3:                               ## @.str.3
	.asciz	"%s "

L_.str.4:                               ## @.str.4
	.asciz	"%d:%d "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_validate_cpu                   ; -- Begin function validate_cpu
	.p2align	2
_validate_cpu:                          ; @validate_cpu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	add	x0, sp, #20
	add	x1, sp, #16
	add	x2, sp, #24
	bl	_check_cpu
	ldp	w0, w8, [sp, #16]
	cmp	w8, w0
	b.ge	LBB0_2
; %bb.1:
	bl	_cpu_name
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	w0, [sp, #20]
	bl	_cpu_name
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	b	LBB0_21
LBB0_2:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_22
; %bb.3:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_puts
Lloh6:
	adrp	x21, _RHNCAPINTS@GOTPAGE
Lloh7:
	ldr	x21, [x21, _RHNCAPINTS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.4:
	mov	x22, #0
Lloh8:
	adrp	x8, _x86_cap_strs@GOTPAGE
Lloh9:
	ldr	x8, [x8, _x86_cap_strs@GOTPAGEOFF]
Lloh10:
	ldr	x23, [x8]
Lloh11:
	adrp	x19, l_.str.3@PAGE
Lloh12:
	add	x19, x19, l_.str.3@PAGEOFF
Lloh13:
	adrp	x20, l_.str.4@PAGE
Lloh14:
	add	x20, x20, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_20
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
	mov	w24, #0
	ldr	x8, [sp, #24]
	ldr	w25, [x8, x22, lsl #2]
	mov	x26, x22
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=2
	stp	x26, x24, [sp]
	mov	x0, x20
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	bl	_printf
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	asr	w25, w25, #1
	add	w24, w24, #1
	cmp	w24, #32
	b.eq	LBB0_5
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	ldrb	w8, [x23]
	cmp	x22, x8
	b.ls	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_10 Depth=2
	add	x23, x23, #2
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w8, [x23], #1
	cbnz	w8, LBB0_12
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=2
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrb	w8, [x23, #1]
	cmp	w24, w8
	b.hi	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=2
	tbz	w25, #0, LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrb	w8, [x23]
	cmp	x22, x8
	b.ne	LBB0_7
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrb	w8, [x23, #1]
	cmp	w24, w8
	b.ne	LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x8, x23
	ldrb	w9, [x8, #2]!
	cbz	w9, LBB0_7
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=2
	str	x8, [sp]
	mov	x0, x19
	b	LBB0_8
LBB0_20:
	mov	w0, #10
	bl	_putchar
LBB0_21:
	mov	w0, #-1
	b	LBB0_23
LBB0_22:
	mov	w0, #0
LBB0_23:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"This kernel requires an %s CPU, "

l_.str.1:                               ; @.str.1
	.asciz	"but only detected an %s CPU.\n"

l_.str.2:                               ; @.str.2
	.asciz	"This kernel requires the following features not present on the CPU:\n"

	.comm	_x86_cap_strs,8,3               ; @x86_cap_strs
	.comm	_RHNCAPINTS,4,2                 ; @RHNCAPINTS
l_.str.3:                               ; @.str.3
	.asciz	"%s "

l_.str.4:                               ; @.str.4
	.asciz	"%d:%d "

.subsections_via_symbols
