	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwait_usable                   ## -- Begin function mwait_usable
	.p2align	4, 0x90
_mwait_usable:                          ## @mwait_usable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_force_mwait@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	$0, (%rdx)
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rcx
	movq	_MWAIT_INFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%eax, %eax
	cmpq	%rdi, (%rcx)
	jl	LBB0_4
## %bb.2:
	leaq	-16(%rbp), %rsi
	leaq	-12(%rbp), %rdx
	leaq	-8(%rbp), %rcx
	leaq	-4(%rbp), %r8
	callq	_cpuid
	movq	_MWAIT_ECX_EXTENDED_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, -8(%rbp)
	je	LBB0_4
## %bb.3:
	movq	_MWAIT_EDX_C1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-4(%rbp), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_force_mwait,8,3                ## @force_mwait
	.comm	_MWAIT_INFO,8,3                 ## @MWAIT_INFO
	.comm	_MWAIT_ECX_EXTENDED_INFO,4,2    ## @MWAIT_ECX_EXTENDED_INFO
	.comm	_MWAIT_EDX_C1,4,2               ## @MWAIT_EDX_C1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwait_usable                   ; -- Begin function mwait_usable
	.p2align	2
_mwait_usable:                          ; @mwait_usable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _force_mwait@GOTPAGE
Lloh1:
	ldr	x8, [x8, _force_mwait@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_6
LBB0_2:
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _MWAIT_INFO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MWAIT_INFO@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x9]
	cmp	x8, x0
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
	sub	x1, x29, #4
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, sp
	bl	_cpuid
	ldr	w8, [sp, #4]
Lloh6:
	adrp	x9, _MWAIT_ECX_EXTENDED_INFO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MWAIT_ECX_EXTENDED_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.5:
	ldr	w8, [sp]
Lloh9:
	adrp	x9, _MWAIT_EDX_C1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MWAIT_EDX_C1@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w0, w9, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_force_mwait,8,3                ; @force_mwait
	.comm	_MWAIT_INFO,8,3                 ; @MWAIT_INFO
	.comm	_MWAIT_ECX_EXTENDED_INFO,4,2    ; @MWAIT_ECX_EXTENDED_INFO
	.comm	_MWAIT_EDX_C1,4,2               ; @MWAIT_EDX_C1
.subsections_via_symbols
