	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function einj_get_trigger_parameter_region
_einj_get_trigger_parameter_region:     ## @einj_get_trigger_parameter_region
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %rax
	movq	_ACPI_EINJ_TRIGGER_ERROR@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r10
	movq	_ACPI_EINJ_WRITE_REGISTER_VALUE@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r8
	movq	_ACPI_ADR_SPACE_SYSTEM_MEMORY@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r9
	addq	$20, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %rax
	decl	%ecx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r10, -16(%rax)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r8, -8(%rax)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r9, (%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rax), %edi
	xorl	%esi, %edi
	testl	%edx, %edi
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_EINJ_TRIGGER_ERROR,8,3    ## @ACPI_EINJ_TRIGGER_ERROR
	.comm	_ACPI_EINJ_WRITE_REGISTER_VALUE,8,3 ## @ACPI_EINJ_WRITE_REGISTER_VALUE
	.comm	_ACPI_ADR_SPACE_SYSTEM_MEMORY,8,3 ## @ACPI_ADR_SPACE_SYSTEM_MEMORY
	.no_dead_strip	_einj_get_trigger_parameter_region
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function einj_get_trigger_parameter_region
_einj_get_trigger_parameter_region:     ; @einj_get_trigger_parameter_region
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
Lloh0:
	adrp	x9, _ACPI_EINJ_TRIGGER_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACPI_EINJ_TRIGGER_ERROR@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ACPI_EINJ_WRITE_REGISTER_VALUE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ACPI_EINJ_WRITE_REGISTER_VALUE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _ACPI_ADR_SPACE_SYSTEM_MEMORY@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ACPI_ADR_SPACE_SYSTEM_MEMORY@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	add	x0, x0, #20
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #32
	subs	w8, w8, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x0, #-16]
	cmp	x12, x9
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x12, [x0, #-8]
	cmp	x12, x10
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x0]
	cmp	x12, x11
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x0, #8]
	eor	w12, w12, w1
	tst	w12, w2
	b.ne	LBB0_2
	b	LBB0_8
LBB0_7:
	mov	x0, #0
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_EINJ_TRIGGER_ERROR,8,3    ; @ACPI_EINJ_TRIGGER_ERROR
	.comm	_ACPI_EINJ_WRITE_REGISTER_VALUE,8,3 ; @ACPI_EINJ_WRITE_REGISTER_VALUE
	.comm	_ACPI_ADR_SPACE_SYSTEM_MEMORY,8,3 ; @ACPI_ADR_SPACE_SYSTEM_MEMORY
	.no_dead_strip	_einj_get_trigger_parameter_region
.subsections_via_symbols
