	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ut_get_package_object_size
_acpi_ut_get_package_object_size:       ## @acpi_ut_get_package_object_size
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ut_get_package_object_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, -32(%rbp)
	movq	$0, -24(%rbp)
	movq	_acpi_ut_get_element_length@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_acpi_ut_walk_package_tree
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movl	$4, %edi
	callq	_ACPI_ROUND_UP_TO_NATIVE_WORD
	imull	-28(%rbp), %eax
	addl	-32(%rbp), %eax
	movl	%eax, -32(%rbp)
	movl	%eax, (%r14)
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ut_get_package_object_size,4,2 ## @ut_get_package_object_size
	.comm	_acpi_ut_get_element_length,4,2 ## @acpi_ut_get_element_length
	.no_dead_strip	_acpi_ut_get_package_object_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function acpi_ut_get_package_object_size
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_acpi_ut_get_package_object_size:       ; @acpi_ut_get_package_object_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ut_get_package_object_size@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ut_get_package_object_size@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_ACPI_FUNCTION_TRACE_PTR
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
Lloh5:
	adrp	x8, _acpi_ut_get_element_length@GOTPAGE
Lloh6:
	ldr	x8, [x8, _acpi_ut_get_element_length@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x3, sp
	mov	x0, x20
	mov	x1, #0
	bl	_acpi_ut_walk_package_tree
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_return_ACPI_STATUS
LBB0_2:
	mov	w0, #4
	bl	_ACPI_ROUND_UP_TO_NATIVE_WORD
	ldp	w9, w8, [sp]
	madd	w8, w8, w0, w9
	str	w8, [sp]
	str	w8, [x19]
	mov	x0, x20
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ut_get_package_object_size,4,2 ; @ut_get_package_object_size
	.comm	_acpi_ut_get_element_length,4,2 ; @acpi_ut_get_element_length
	.no_dead_strip	_acpi_ut_get_package_object_size
.subsections_via_symbols
