	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_pcc_write_sset
_acpi_pcc_write_sset:                   ## @acpi_pcc_write_sset
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	%esi, -32(%rbp)
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	%edx, -24(%rbp)
	movl	%eax, -20(%rbp)
	leaq	-32(%rbp), %rdi
	movq	%rdi, -48(%rbp)
	callq	_ARRAY_SIZE
	movl	%eax, -40(%rbp)
	movl	(%rbx), %edi
	movq	_METHOD_HKEY_SSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_acpi_evaluate_object
	movq	%rax, %rcx
	movq	_AE_OK@GOTPCREL(%rip), %rdx
	movq	_EIO@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	subl	(%rsi), %eax
	cmpq	(%rdx), %rcx
	cmovel	%ebx, %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_TYPE_INTEGER,4,2          ## @ACPI_TYPE_INTEGER
	.comm	_AE_OK,8,3                      ## @AE_OK
	.comm	_METHOD_HKEY_SSET,4,2           ## @METHOD_HKEY_SSET
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_acpi_pcc_write_sset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_pcc_write_sset
_acpi_pcc_write_sset:                   ; @acpi_pcc_write_sset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w1, w8, [sp, #24]
	stp	w2, w8, [sp, #32]
	add	x8, sp, #24
	str	x8, [sp, #8]
	add	x0, sp, #24
	bl	_ARRAY_SIZE
	str	w0, [sp, #16]
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _METHOD_HKEY_SSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _METHOD_HKEY_SSET@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x3, #0
	bl	_acpi_evaluate_object
Lloh9:
	adrp	x8, _AE_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _EIO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	x0, x8
	csneg	w0, wzr, w9, eq
	ldur	x8, [x29, #-24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_TYPE_INTEGER,4,2          ; @ACPI_TYPE_INTEGER
	.comm	_AE_OK,8,3                      ; @AE_OK
	.comm	_METHOD_HKEY_SSET,4,2           ; @METHOD_HKEY_SSET
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_acpi_pcc_write_sset
.subsections_via_symbols
