	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_mwait_usable               ## -- Begin function cpu_mwait_usable
	.p2align	4, 0x90
_cpu_mwait_usable:                      ## @cpu_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
	movq	_cpu_feature2@GOTPCREL(%rip), %rax
	movq	_CPUID2_MON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_cpu_mon_mwait_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CPUID5_MON_MWAIT_EXT@GOTPCREL(%rip), %rax
	movq	_CPUID5_MWAIT_INTRBREAK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	notl	%ecx
	xorl	%eax, %eax
	testl	%ecx, %edx
	sete	%al
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_feature2,4,2               ## @cpu_feature2
	.comm	_CPUID2_MON,4,2                 ## @CPUID2_MON
	.comm	_cpu_mon_mwait_flags,4,2        ## @cpu_mon_mwait_flags
	.comm	_CPUID5_MON_MWAIT_EXT,4,2       ## @CPUID5_MON_MWAIT_EXT
	.comm	_CPUID5_MWAIT_INTRBREAK,4,2     ## @CPUID5_MWAIT_INTRBREAK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_mwait_usable               ; -- Begin function cpu_mwait_usable
	.p2align	2
_cpu_mwait_usable:                      ; @cpu_mwait_usable
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cpu_feature2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_feature2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CPUID2_MON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CPUID2_MON@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _cpu_mon_mwait_flags@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cpu_mon_mwait_flags@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _CPUID5_MON_MWAIT_EXT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CPUID5_MON_MWAIT_EXT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _CPUID5_MWAIT_INTRBREAK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CPUID5_MWAIT_INTRBREAK@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bics	wzr, w9, w8
	cset	w0, eq
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_feature2,4,2               ; @cpu_feature2
	.comm	_CPUID2_MON,4,2                 ; @CPUID2_MON
	.comm	_cpu_mon_mwait_flags,4,2        ; @cpu_mon_mwait_flags
	.comm	_CPUID5_MON_MWAIT_EXT,4,2       ; @CPUID5_MON_MWAIT_EXT
	.comm	_CPUID5_MWAIT_INTRBREAK,4,2     ; @CPUID5_MWAIT_INTRBREAK
.subsections_via_symbols
