	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_create_power_resource  ## -- Begin function acpi_ex_create_power_resource
	.p2align	4, 0x90
_acpi_ex_create_power_resource:         ## @acpi_ex_create_power_resource
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rsi
	movq	(%rdi), %r14
	movq	_ex_create_power_resource@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movq	_ACPI_TYPE_POWER@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_acpi_ut_create_internal_object
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	(%r14), %rdi
	movl	(%r15), %edx
	movq	%rbx, %rsi
	callq	_acpi_ns_attach_object
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_acpi_ut_remove_reference
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ex_create_power_resource,4,2   ## @ex_create_power_resource
	.comm	_ACPI_TYPE_POWER,4,2            ## @ACPI_TYPE_POWER
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_create_power_resource  ; -- Begin function acpi_ex_create_power_resource
	.p2align	2
_acpi_ex_create_power_resource:         ; @acpi_ex_create_power_resource
	.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
	mov	x1, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _ex_create_power_resource@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ex_create_power_resource@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE_PTR
Lloh3:
	adrp	x21, _ACPI_TYPE_POWER@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ACPI_TYPE_POWER@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_acpi_ut_create_internal_object
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	x0, [x20]
	ldr	w2, [x21]
	mov	x1, x19
	bl	_acpi_ns_attach_object
	mov	x20, x0
	mov	x0, x19
	bl	_acpi_ut_remove_reference
	mov	x0, x20
	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
	b	_return_ACPI_STATUS
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ex_create_power_resource,4,2   ; @ex_create_power_resource
	.comm	_ACPI_TYPE_POWER,4,2            ; @ACPI_TYPE_POWER
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
.subsections_via_symbols
