	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ut_get_element_length
_acpi_ut_get_element_length:            ## @acpi_ut_get_element_length
	.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	%rcx, %r14
	cmpl	$129, %edi
	je	LBB0_4
## %bb.1:
	cmpl	$128, %edi
	jne	LBB0_5
## %bb.2:
	leaq	-20(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_acpi_ut_get_simple_object_size
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movl	-20(%rbp), %eax
	addl	%eax, 4(%r14)
	jmp	LBB0_6
LBB0_4:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	incl	(%r14)
	movq	$0, (%rdx)
	jmp	LBB0_6
LBB0_5:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.no_dead_strip	_acpi_ut_get_element_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ut_get_element_length
_acpi_ut_get_element_length:            ; @acpi_ut_get_element_length
	.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, x3
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #128
	b.ne	LBB0_5
; %bb.2:
	mov	x8, x1
	add	x1, sp, #12
	mov	x0, x8
	bl	_acpi_ut_get_simple_object_size
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	w8, [sp, #12]
	ldr	w9, [x19, #4]
	add	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _AE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	str	xzr, [x2]
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
LBB0_6:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.no_dead_strip	_acpi_ut_get_element_length
.subsections_via_symbols
