	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_processor_get_power_info
_acpi_processor_get_power_info:         ## @acpi_processor_get_power_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_acpi_processor_get_power_info_cst
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	movl	%eax, %edx
	addl	(%rcx), %edx
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_acpi_processor_get_power_info_fadt
LBB0_2:
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	callq	_acpi_processor_get_power_info_default
	movq	%rbx, %rdi
	callq	_acpi_processor_power_verify
	movl	%eax, 8(%rbx)
	movq	_ACPI_PROCESSOR_MAX_POWER@GOTPCREL(%rip), %r8
	movl	(%r8), %edx
	xorl	%eax, %eax
	cmpl	$2, %edx
	jb	LBB0_9
## %bb.4:
	movq	16(%rbx), %rsi
	movq	_ACPI_STATE_C2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	addq	$24, %rsi
	movl	$1, %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	movl	%edx, %edi
	addq	$16, %rsi
	cmpq	%rdi, %rcx
	jae	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rsi)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, 8(%rbx)
	cmpq	%r9, -8(%rsi)
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, (%rbx)
	movl	(%r8), %edx
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ACPI_PROCESSOR_MAX_POWER,4,2   ## @ACPI_PROCESSOR_MAX_POWER
	.comm	_ACPI_STATE_C2,8,3              ## @ACPI_STATE_C2
	.no_dead_strip	_acpi_processor_get_power_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_processor_get_power_info
_acpi_processor_get_power_info:         ; @acpi_processor_get_power_info
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #16]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x19
	bl	_acpi_processor_get_power_info_cst
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_acpi_processor_get_power_info_fadt
LBB0_2:
	cbnz	w0, LBB0_10
; %bb.3:
	mov	x0, x19
	bl	_acpi_processor_get_power_info_default
	mov	x0, x19
	bl	_acpi_processor_power_verify
	str	w0, [x19, #8]
Lloh3:
	adrp	x8, _ACPI_PROCESSOR_MAX_POWER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_PROCESSOR_MAX_POWER@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #2
	b.lo	LBB0_9
; %bb.4:
	ldr	x11, [x19, #16]
Lloh5:
	adrp	x10, _ACPI_STATE_C2@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ACPI_STATE_C2@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	add	x11, x11, #24
	mov	w12, #1
	mov	w13, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x13, x13, #1
	add	x11, x11, #16
	cmp	x13, w9, uxtw
	b.hs	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x11]
	cbz	x14, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w13, [x19, #8]
	ldur	x14, [x11, #-8]
	cmp	x14, x10
	b.lt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w12, [x19]
	ldr	w9, [x8]
	b	LBB0_5
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ACPI_PROCESSOR_MAX_POWER,4,2   ; @ACPI_PROCESSOR_MAX_POWER
	.comm	_ACPI_STATE_C2,8,3              ; @ACPI_STATE_C2
	.no_dead_strip	_acpi_processor_get_power_info
.subsections_via_symbols
