	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_repair_package_list    ## -- Begin function acpi_ns_repair_package_list
	.p2align	4, 0x90
_acpi_ns_repair_package_list:           ## @acpi_ns_repair_package_list
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$1, %edi
	callq	_acpi_ut_create_package_object
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rcx
	movq	(%rax), %rdx
	movq	%rcx, (%rdx)
	movq	%rax, (%rbx)
	movq	_ACPI_OBJECT_REPAIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_WARN_PREDEFINED
	movq	_AE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_OBJECT_REPAIRED,4,2       ## @ACPI_OBJECT_REPAIRED
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Incorrectly formed Package, attempting repair"

	.comm	_AE_OK,4,2                      ## @AE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_repair_package_list    ; -- Begin function acpi_ns_repair_package_list
	.p2align	2
_acpi_ns_repair_package_list:           ; @acpi_ns_repair_package_list
	.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	x20, x1
	mov	x19, x0
	mov	w0, #1
	bl	_acpi_ut_create_package_object
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [x0]
	str	x8, [x9]
	str	x0, [x20]
Lloh0:
	adrp	x8, _ACPI_OBJECT_REPAIRED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_OBJECT_REPAIRED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_WARN_PREDEFINED
Lloh5:
	adrp	x8, _AE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_OBJECT_REPAIRED,4,2       ; @ACPI_OBJECT_REPAIRED
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Incorrectly formed Package, attempting repair"

	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
