	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ut_get_resource_end_tag   ## -- Begin function acpi_ut_get_resource_end_tag
	.p2align	4, 0x90
_acpi_ut_get_resource_end_tag:          ## @acpi_ut_get_resource_end_tag
	.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, %r14
	movq	%rdi, %rbx
	movq	_ut_get_resource_end_tag@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movl	(%rbx), %esi
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	movl	(%rbx), %esi
LBB0_2:
	movq	8(%rbx), %rdi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_acpi_ut_walk_aml_resources
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ut_get_resource_end_tag,4,2    ## @ut_get_resource_end_tag
	.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_ut_get_resource_end_tag   ; -- Begin function acpi_ut_get_resource_end_tag
	.p2align	2
_acpi_ut_get_resource_end_tag:          ; @acpi_ut_get_resource_end_tag
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ut_get_resource_end_tag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ut_get_resource_end_tag@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	ldr	w1, [x20]
	cbnz	w1, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	str	x8, [x19]
Lloh3:
	adrp	x8, _AE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
	ldr	w1, [x20]
LBB0_2:
	ldr	x0, [x20, #8]
	mov	x2, #0
	mov	x3, x19
	bl	_acpi_ut_walk_aml_resources
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ut_get_resource_end_tag,4,2    ; @ut_get_resource_end_tag
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
