	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lguest_cpuid
_lguest_cpuid:                          ## @lguest_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %r12
	movl	(%rdi), %ebx
	callq	_native_cpuid
	testl	%ebx, %ebx
	jns	LBB0_4
## %bb.1:
	cmpl	$-2147483648, %ebx              ## imm = 0x80000000
	je	LBB0_9
## %bb.2:
	cmpl	$-2147483647, %ebx              ## imm = 0x80000001
	jne	LBB0_11
## %bb.3:
	andb	$-17, 2(%r14)
	jmp	LBB0_11
LBB0_4:
	cmpl	$1, %ebx
	je	LBB0_8
## %bb.5:
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.6:
	cmpl	$6, (%r12)
	jb	LBB0_11
## %bb.7:
	movl	$5, (%r12)
	jmp	LBB0_11
LBB0_9:
	cmpl	$-2147483639, (%r12)            ## imm = 0x80000009
	jb	LBB0_11
## %bb.10:
	movl	$-2147483640, (%r12)            ## imm = 0x80000008
	jmp	LBB0_11
LBB0_8:
	andl	$8705, (%r15)                   ## imm = 0x2201
	movl	$125862225, %eax                ## imm = 0x7808151
	andl	(%r14), %eax
	orl	$8192, %eax                     ## imm = 0x2000
	movl	%eax, (%r14)
	movl	$-3841, %eax                    ## imm = 0xF0FF
	andl	(%r12), %eax
	orl	$1280, %eax                     ## imm = 0x500
	movl	%eax, (%r12)
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lguest_cpuid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lguest_cpuid
_lguest_cpuid:                          ; @lguest_cpuid
	.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, x3
	mov	x21, x2
	mov	x19, x0
	ldr	w22, [x0]
	bl	_native_cpuid
	tbz	w22, #31, LBB0_4
; %bb.1:
	mov	w8, #-2147483648
	cmp	w22, w8
	b.eq	LBB0_8
; %bb.2:
	mov	w8, #-2147483647
	cmp	w22, w8
	b.ne	LBB0_11
; %bb.3:
	ldr	w8, [x20]
	and	w8, w8, #0xffefffff
	str	w8, [x20]
	b	LBB0_11
LBB0_4:
	cmp	w22, #1
	b.eq	LBB0_9
; %bb.5:
	cbnz	w22, LBB0_11
; %bb.6:
	ldr	w8, [x19]
	cmp	w8, #6
	b.lo	LBB0_11
; %bb.7:
	mov	w8, #5
	b	LBB0_10
LBB0_8:
	mov	w8, #8
	movk	w8, #32768, lsl #16
	ldr	w9, [x19]
	cmp	w9, w8
	b.hi	LBB0_10
	b	LBB0_11
LBB0_9:
	ldr	w8, [x21]
	mov	w9, #8705
	and	w8, w8, w9
	str	w8, [x21]
	ldr	w8, [x20]
	mov	w9, #33105
	movk	w9, #1920, lsl #16
	and	w8, w8, w9
	orr	w8, w8, #0x2000
	str	w8, [x20]
	ldr	w8, [x19]
	mov	w9, #5
	bfi	w8, w9, #8, #4
LBB0_10:
	str	w8, [x19]
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lguest_cpuid
.subsections_via_symbols
