	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_check_parameter_count  ## -- Begin function acpi_ns_check_parameter_count
	.p2align	4, 0x90
_acpi_ns_check_parameter_count:         ## @acpi_ns_check_parameter_count
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_ACPI_TYPE_METHOD@GOTPCREL(%rip), %rdi
	xorl	%r14d, %r14d
	cmpq	(%rdi), %rax
	jne	LBB0_2
## %bb.1:
	movq	16(%rsi), %rax
	movl	(%rax), %r14d
LBB0_2:
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.5:
	movl	(%rcx), %r15d
	movl	%r15d, %ebx
	andl	$15, %ebx
	sarl	$4, %r15d
	movq	_ACPI_UINT32_MAX@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	je	LBB0_9
## %bb.6:
	cmpl	%edx, %ebx
	je	LBB0_9
## %bb.7:
	cmpl	%edx, %r15d
	je	LBB0_9
## %bb.8:
	movl	%ebx, %edi
	callq	_ACPI_WARN_PREDEFINED
LBB0_9:
	cmpl	%ebx, %r14d
	je	LBB0_11
## %bb.10:
	movl	%ebx, %edx
	cmpl	%r15d, %r14d
	je	LBB0_11
LBB0_4:
	movl	%edx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ACPI_WARN_PREDEFINED           ## TAILCALL
LBB0_3:
	cmpl	%edx, %r14d
	jne	LBB0_4
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_TYPE_METHOD,8,3           ## @ACPI_TYPE_METHOD
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_ACPI_WARN_ALWAYS,4,2           ## @ACPI_WARN_ALWAYS
	.comm	_ACPI_UINT32_MAX,4,2            ## @ACPI_UINT32_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_check_parameter_count  ; -- Begin function acpi_ns_check_parameter_count
	.p2align	2
_acpi_ns_check_parameter_count:         ; @acpi_ns_check_parameter_count
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _ACPI_TYPE_METHOD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACPI_TYPE_METHOD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x1, #16]
	ldr	w20, [x8]
	cbz	x3, LBB0_7
LBB0_2:
	ldr	w8, [x3]
	and	w19, w8, #0xf
	asr	w21, w8, #4
Lloh3:
	adrp	x8, _ACPI_UINT32_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_UINT32_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w2
	ccmp	w19, w2, #4, ne
	ccmp	w21, w2, #4, ne
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_ACPI_WARN_PREDEFINED
LBB0_4:
	cmp	w20, w19
	ccmp	w20, w21, #4, ne
	b.ne	LBB0_8
LBB0_5:
	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
	ret
LBB0_6:
	mov	w20, #0
	cbnz	x3, LBB0_2
LBB0_7:
	mov	x19, x2
	cmp	w20, w2
	b.eq	LBB0_5
LBB0_8:
	mov	x0, x19
	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	_ACPI_WARN_PREDEFINED
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_TYPE_METHOD,8,3           ; @ACPI_TYPE_METHOD
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_ACPI_WARN_ALWAYS,4,2           ; @ACPI_WARN_ALWAYS
	.comm	_ACPI_UINT32_MAX,4,2            ; @ACPI_UINT32_MAX
.subsections_via_symbols
