	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_rs_validate_parameters
_acpi_rs_validate_parameters:           ## @acpi_rs_validate_parameters
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_rs_validate_parameters@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movl	%ebx, %edi
	callq	_acpi_ns_map_handle_to_node
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movq	(%r12), %rax
	movq	_ACPI_TYPE_DEVICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	_AE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	movq	%r15, %rdi
	callq	_acpi_ut_validate_buffer
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_8:
	movq	%r12, (%r14)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rs_validate_parameters,4,2     ## @rs_validate_parameters
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_ACPI_TYPE_DEVICE,8,3           ## @ACPI_TYPE_DEVICE
	.comm	_AE_TYPE,4,2                    ## @AE_TYPE
	.comm	_AE_OK,4,2                      ## @AE_OK
	.no_dead_strip	_acpi_rs_validate_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_rs_validate_parameters
_acpi_rs_validate_parameters:           ; @acpi_rs_validate_parameters
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _rs_validate_parameters@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rs_validate_parameters@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	cbnz	w21, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
	mov	x0, x21
	bl	_acpi_ns_map_handle_to_node
	mov	x21, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _ACPI_TYPE_DEVICE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACPI_TYPE_DEVICE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _AE_TYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AE_TYPE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_6:
	mov	x0, x20
	bl	_acpi_ut_validate_buffer
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_return_ACPI_STATUS
LBB0_8:
	str	x21, [x19]
Lloh15:
	adrp	x8, _AE_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_rs_validate_parameters,4,2     ; @rs_validate_parameters
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_ACPI_TYPE_DEVICE,8,3           ; @ACPI_TYPE_DEVICE
	.comm	_AE_TYPE,4,2                    ; @AE_TYPE
	.comm	_AE_OK,4,2                      ; @AE_OK
	.no_dead_strip	_acpi_rs_validate_parameters
.subsections_via_symbols
