	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_processor_set_pdc
_acpi_processor_set_pdc:                ## @acpi_processor_set_pdc
	.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	8(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	_idle_nomwait@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	(%rdx), %rax
	movq	(%rax), %rax
	movq	_ACPI_PDC_C_C2C3_FFH@GOTPCREL(%rip), %rcx
	movq	_ACPI_PDC_C_C1_FFH@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rcx), %esi
	notl	%esi
	andl	%esi, 8(%rax)
LBB0_4:
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ecx, %ecx
	callq	_acpi_evaluate_object
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	jmp	LBB0_6
LBB0_1:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_idle_nomwait,8,3               ## @idle_nomwait
	.comm	_ACPI_PDC_C_C2C3_FFH,4,2        ## @ACPI_PDC_C_C2C3_FFH
	.comm	_ACPI_PDC_C_C1_FFH,4,2          ## @ACPI_PDC_C_C1_FFH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_PDC"

	.comm	_ACPI_DB_INFO,4,2               ## @ACPI_DB_INFO
L_.str.1:                               ## @.str.1
	.asciz	"Could not evaluate _PDC, using legacy perf. control...\n"

	.no_dead_strip	_acpi_processor_set_pdc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_processor_set_pdc
_acpi_processor_set_pdc:                ; @acpi_processor_set_pdc
	.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
	ldr	x2, [x0, #8]
	cbz	x2, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _idle_nomwait@GOTPAGE
Lloh1:
	ldr	x8, [x8, _idle_nomwait@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x2]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ACPI_PDC_C_C2C3_FFH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ACPI_PDC_C_C2C3_FFH@GOTPAGEOFF]
Lloh5:
	adrp	x10, _ACPI_PDC_C_C1_FFH@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ACPI_PDC_C_C1_FFH@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x8, #8]
	bic	w9, w10, w9
	str	w9, [x8, #8]
LBB0_3:
	ldr	w0, [x0]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, #0
	bl	_acpi_evaluate_object
	mov	x19, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_6
; %bb.4:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _AE_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
LBB0_6:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_idle_nomwait,8,3               ; @idle_nomwait
	.comm	_ACPI_PDC_C_C2C3_FFH,4,2        ; @ACPI_PDC_C_C2C3_FFH
	.comm	_ACPI_PDC_C_C1_FFH,4,2          ; @ACPI_PDC_C_C1_FFH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_PDC"

	.comm	_ACPI_DB_INFO,4,2               ; @ACPI_DB_INFO
l_.str.1:                               ; @.str.1
	.asciz	"Could not evaluate _PDC, using legacy perf. control...\n"

	.no_dead_strip	_acpi_processor_set_pdc
.subsections_via_symbols
