	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_cpuid                      ## -- Begin function get_cpuid
	.p2align	4, 0x90
_get_cpuid:                             ## @get_cpuid
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-68(%rbp), %rsi
	leaq	-80(%rbp), %rbx
	leaq	-76(%rbp), %r15
	leaq	-72(%rbp), %r13
	xorl	%edi, %edi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_cpuid
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_strncpy
	leaq	-60(%rbp), %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_strncpy
	leaq	-56(%rbp), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_strncpy
	movb	$0, -52(%rbp)
	cmpl	$0, -68(%rbp)
	movl	$-1, %r15d
	movl	$-1, %r8d
	movl	$-1, %r9d
	movl	$-1, %eax
	je	LBB0_3
## %bb.1:
	leaq	-84(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	leaq	-76(%rbp), %rcx
	leaq	-72(%rbp), %r8
	movl	$1, %edi
	callq	_cpuid
	movl	-84(%rbp), %ecx
	movl	%ecx, %edx
	shrl	$8, %edx
	andl	$15, %edx
	movl	%ecx, %r9d
	shrl	$4, %r9d
	andl	$15, %r9d
	movl	%ecx, %eax
	andl	$15, %eax
	movl	%ecx, %esi
	shrl	$20, %esi
	movzbl	%sil, %r8d
	addl	$15, %r8d
	cmpl	$15, %edx
	cmovnel	%edx, %r8d
	cmpl	$6, %r8d
	jb	LBB0_3
## %bb.2:
	shrl	$12, %ecx
	andl	$240, %ecx
	orl	%ecx, %r9d
LBB0_3:
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_scnprintf
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	$36, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movslq	%ebx, %rax
	movb	$0, -1(%rax,%r12)
	xorl	%r15d, %r15d
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s,%u,%u,%u$"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_cpuid                      ; -- Begin function get_cpuid
	.p2align	2
_get_cpuid:                             ; @get_cpuid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	add	x1, sp, #4
	add	x2, sp, #16
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #0
	bl	_cpuid
	add	x21, sp, #24
	add	x0, sp, #24
	add	x1, sp, #16
	mov	w2, #4
	bl	_strncpy
	add	x0, x21, #4
	add	x1, sp, #8
	mov	w2, #4
	bl	_strncpy
	add	x0, x21, #8
	add	x1, sp, #12
	mov	w2, #4
	bl	_strncpy
	strb	wzr, [sp, #36]
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_2
; %bb.1:
	add	x1, sp, #20
	add	x2, sp, #16
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #1
	bl	_cpuid
	ldr	w8, [sp, #20]
	ubfx	w9, w8, #8, #4
	ubfx	w10, w8, #4, #4
	and	w6, w8, #0xf
	ubfx	w11, w8, #20, #8
	add	w11, w11, #15
	cmp	w9, #15
	csel	w4, w11, w9, eq
	lsr	w8, w8, #12
	and	w8, w8, #0xf0
	orr	w8, w10, w8
	cmp	w4, #6
	csel	w5, w10, w8, lo
	b	LBB0_3
LBB0_2:
	mov	w4, #-1
	mov	w5, #-1
	mov	w6, #-1
LBB0_3:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x20
	bl	_scnprintf
	mov	x20, x0
	mov	x0, x19
	mov	w1, #36
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.4:
	mov	w0, #0
	add	x8, x19, w20, sxtw
	sturb	wzr, [x8, #-1]
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldr	x8, [sp, #40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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
	add	sp, sp, #96
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s,%u,%u,%u$"

.subsections_via_symbols
