	.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_fadt
_acpi_processor_get_power_info_fadt:    ## @acpi_processor_get_power_info_fadt
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.5:
	movq	_ACPI_STATE_C2@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	(%rbx), %rcx
	leaq	(%rax,%rax,2), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	_ACPI_STATE_C3@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	leaq	(%rax,%rax,2), %rdx
	movq	%rax, (%rcx,%rdx,8)
	xorl	%eax, %eax
	callq	_num_online_cpus
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.6:
	movq	_acpi_gbl_FADT@GOTPCREL(%rip), %rax
	movq	_ACPI_FADT_C2_MP_SUPPORTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
LBB0_7:
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	leaq	4(%rax), %rdx
	movq	(%r15), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movq	%rdx, 16(%rcx,%rsi,8)
	addq	$5, %rax
	movq	(%r14), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rax, 16(%rcx,%rdx,8)
	movq	_acpi_gbl_FADT@GOTPCREL(%rip), %r12
	movq	8(%r12), %rax
	movq	(%r15), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rax, 8(%rcx,%rdx,8)
	movq	16(%r12), %rdi
	movq	(%r14), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rdi, 8(%rcx,%rdx,8)
	movq	_ACPI_PROCESSOR_MAX_C2_LATENCY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jle	LBB0_9
## %bb.8:
	movl	%eax, %edi
	callq	_ACPI_DEBUG_PRINT
	movq	(%rbx), %rcx
	movq	(%r15), %rax
	leaq	(%rax,%rax,2), %rax
	movq	$0, 16(%rcx,%rax,8)
	movq	16(%r12), %rdi
LBB0_9:
	movq	_ACPI_PROCESSOR_MAX_C3_LATENCY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jle	LBB0_11
## %bb.10:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	movq	(%rbx), %rcx
	movq	(%r14), %rax
	leaq	(%rax,%rax,2), %rax
	movq	$0, 16(%rcx,%rax,8)
LBB0_11:
	movq	(%r14), %rax
	leaq	(%rax,%rax,2), %rax
	movl	16(%rcx,%rax,8), %edi
	callq	_ACPI_DEBUG_PRINT
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ACPI_STATE_C2,8,3              ## @ACPI_STATE_C2
	.comm	_ACPI_STATE_C3,8,3              ## @ACPI_STATE_C3
	.comm	_acpi_gbl_FADT,24,3             ## @acpi_gbl_FADT
	.comm	_ACPI_FADT_C2_MP_SUPPORTED,4,2  ## @ACPI_FADT_C2_MP_SUPPORTED
	.comm	_ACPI_PROCESSOR_MAX_C2_LATENCY,8,3 ## @ACPI_PROCESSOR_MAX_C2_LATENCY
	.comm	_ACPI_DB_INFO,4,2               ## @ACPI_DB_INFO
	.comm	_ACPI_PROCESSOR_MAX_C3_LATENCY,8,3 ## @ACPI_PROCESSOR_MAX_C3_LATENCY
	.no_dead_strip	_acpi_processor_get_power_info_fadt
.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_fadt
_acpi_processor_get_power_info_fadt:    ; @acpi_processor_get_power_info_fadt
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.2:
Lloh0:
	adrp	x21, _ACPI_STATE_C2@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ACPI_STATE_C2@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x19]
	mov	w10, #24
	mul	x11, x8, x10
	str	x8, [x9, x11]
Lloh2:
	adrp	x20, _ACPI_STATE_C3@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ACPI_STATE_C3@GOTPAGEOFF]
	ldr	x8, [x20]
	mul	x10, x8, x10
	str	x8, [x9, x10]
	bl	_num_online_cpus
Lloh4:
	adrp	x22, _acpi_gbl_FADT@GOTPAGE
Lloh5:
	ldr	x22, [x22, _acpi_gbl_FADT@GOTPAGEOFF]
	cmp	w0, #2
	b.lt	LBB0_4
; %bb.3:
	ldr	w8, [x22]
Lloh6:
	adrp	x9, _ACPI_FADT_C2_MP_SUPPORTED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ACPI_FADT_C2_MP_SUPPORTED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
LBB0_4:
	ldp	x9, x8, [x19]
	add	x10, x8, #4
	ldr	x11, [x21]
	mov	w12, #24
	madd	x11, x11, x12, x9
	str	x10, [x11, #16]
	add	x8, x8, #5
	ldr	x10, [x20]
	madd	x10, x10, x12, x9
	str	x8, [x10, #16]
	ldr	x8, [x21]
	madd	x10, x8, x12, x9
	ldp	x8, x0, [x22, #8]
	str	x8, [x10, #8]
	ldr	x10, [x20]
	madd	x10, x10, x12, x9
	str	x0, [x10, #8]
Lloh9:
	adrp	x10, _ACPI_PROCESSOR_MAX_C2_LATENCY@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ACPI_PROCESSOR_MAX_C2_LATENCY@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x10
	b.le	LBB0_6
; %bb.5:
	mov	x0, x8
	bl	_ACPI_DEBUG_PRINT
	ldr	x9, [x19]
	ldr	x8, [x21]
	mov	w10, #24
	madd	x8, x8, x10, x9
	str	xzr, [x8, #16]
	ldr	x0, [x22, #16]
LBB0_6:
Lloh12:
	adrp	x8, _ACPI_PROCESSOR_MAX_C3_LATENCY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACPI_PROCESSOR_MAX_C3_LATENCY@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_8
; %bb.7:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT
	ldr	x9, [x19]
	ldr	x8, [x20]
	mov	w10, #24
	madd	x8, x8, x10, x9
	str	xzr, [x8, #16]
LBB0_8:
	ldr	x8, [x20]
	mov	w10, #24
	madd	x8, x8, x10, x9
	ldr	w0, [x8, #16]
	bl	_ACPI_DEBUG_PRINT
	mov	w0, #0
	b	LBB0_12
LBB0_9:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ACPI_STATE_C2,8,3              ; @ACPI_STATE_C2
	.comm	_ACPI_STATE_C3,8,3              ; @ACPI_STATE_C3
	.comm	_acpi_gbl_FADT,24,3             ; @acpi_gbl_FADT
	.comm	_ACPI_FADT_C2_MP_SUPPORTED,4,2  ; @ACPI_FADT_C2_MP_SUPPORTED
	.comm	_ACPI_PROCESSOR_MAX_C2_LATENCY,8,3 ; @ACPI_PROCESSOR_MAX_C2_LATENCY
	.comm	_ACPI_DB_INFO,4,2               ; @ACPI_DB_INFO
	.comm	_ACPI_PROCESSOR_MAX_C3_LATENCY,8,3 ; @ACPI_PROCESSOR_MAX_C3_LATENCY
	.no_dead_strip	_acpi_processor_get_power_info_fadt
.subsections_via_symbols
