	.file	"extr_psargs.c_AcpiPsGetNextNamepath.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	AcpiPsGetNextNamepath
	.type	AcpiPsGetNextNamepath, @function
AcpiPsGetNextNamepath:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR PsGetNextNamepath[rip]
	mov	r15, QWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	ACPI_FUNCTION_TRACE@PLT
	mov	rdi, rbp
	call	AcpiPsGetNextNamestring@PLT
	mov	esi, DWORD PTR AML_INT_NAMEPATH_OP[rip]
	mov	rdi, r12
	mov	rbx, rax
	call	AcpiPsInitOp@PLT
	test	rbx, rbx
	je	.L28
.L2:
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	ecx, DWORD PTR ACPI_IMODE_EXECUTE[rip]
	xor	r9d, r9d
	mov	rsi, rbx
	lea	rax, 8[rsp]
	mov	edx, DWORD PTR ACPI_TYPE_ANY[rip]
	mov	edi, DWORD PTR 8[r13]
	push	rax
	.cfi_def_cfa_offset 96
	mov	r8d, DWORD PTR ACPI_NS_SEARCH_PARENT[rip]
	or	r8d, DWORD PTR ACPI_NS_DONT_OPEN_SCOPE[rip]
	call	AcpiNsLookup@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	ACPI_SUCCESS@PLT
	pop	rdx
	.cfi_def_cfa_offset 88
	pop	rcx
	.cfi_def_cfa_offset 80
	test	rax, rax
	je	.L3
	test	r14, r14
	jne	.L29
.L3:
	cmp	QWORD PTR AE_NOT_FOUND[rip], rbp
	je	.L30
.L9:
	mov	rdi, rbp
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L31
.L12:
	mov	QWORD PTR [r12], rbx
	mov	rdi, rbp
	call	return_ACPI_STATUS@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L32
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore_state
	mov	rax, QWORD PTR [rsp]
	mov	rcx, QWORD PTR ACPI_TYPE_METHOD[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L3
	mov	edi, DWORD PTR 32[r13]
	call	GET_CURRENT_ARG_TYPE@PLT
	cmp	rax, QWORD PTR ARGP_SUPERNAME[rip]
	je	.L6
	mov	edi, DWORD PTR 32[r13]
	call	GET_CURRENT_ARG_TYPE@PLT
	cmp	rax, QWORD PTR ARGP_TARGET[rip]
	je	.L6
.L5:
	mov	rdi, QWORD PTR [rsp]
	call	AcpiNsGetAttachedObject@PLT
	mov	edi, ebx
	mov	r14, rax
	call	ACPI_DEBUG_PRINT@PLT
	mov	edi, DWORD PTR AML_INT_NAMEPATH_OP[rip]
	mov	rsi, r15
	call	AcpiPsAllocOp@PLT
	mov	r15, rax
	test	rax, rax
	je	.L33
.L7:
	mov	esi, DWORD PTR AML_INT_METHODCALL_OP[rip]
	mov	rdi, r12
	call	AcpiPsInitOp@PLT
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR [r15], rbx
	mov	rsi, r15
	mov	rdi, r12
	mov	QWORD PTR 16[r15], rax
	call	AcpiPsAppendArg@PLT
	test	r14, r14
	je	.L34
.L8:
	mov	edi, DWORD PTR [r14]
	call	ACPI_DEBUG_PRINT@PLT
	mov	eax, DWORD PTR [r14]
	mov	rdi, QWORD PTR AE_OK[rip]
	mov	DWORD PTR 0[r13], eax
	call	return_ACPI_STATUS@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L30:
	mov	eax, DWORD PTR 4[r13]
	and	eax, DWORD PTR ACPI_PARSE_MODE_MASK[rip]
	cmp	eax, DWORD PTR ACPI_PARSE_EXECUTE[rip]
	je	.L10
.L11:
	mov	rbp, QWORD PTR AE_OK[rip]
	mov	rdi, rbp
	call	ACPI_FAILURE@PLT
	test	rax, rax
	je	.L12
.L31:
	mov	edi, DWORD PTR 8[r13]
	mov	rdx, rbp
	mov	rsi, rbx
	call	ACPI_ERROR_NAMESPACE@PLT
	mov	eax, DWORD PTR 4[r13]
	and	eax, DWORD PTR ACPI_PARSE_MODE_MASK[rip]
	cmp	eax, DWORD PTR ACPI_PARSE_EXECUTE[rip]
	jne	.L12
	mov	rdi, rbp
	mov	rsi, r13
	call	AcpiDsMethodError@PLT
	mov	rbp, rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L28:
	mov	QWORD PTR [r12], 0
	mov	rdi, QWORD PTR AE_OK[rip]
	call	return_ACPI_STATUS@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 16[r13]
	mov	rdx, QWORD PTR AML_CONDITIONAL_REF_OF_OP[rip]
	cmp	QWORD PTR [rax], rdx
	je	.L11
	mov	rax, QWORD PTR 8[r12]
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR [rax]
	cmp	rax, QWORD PTR AML_PACKAGE_OP[rip]
	je	.L11
	cmp	rax, QWORD PTR AML_VARIABLE_PACKAGE_OP[rip]
	jne	.L9
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	mov	QWORD PTR 24[r13], r15
	mov	esi, DWORD PTR AML_INT_METHODCALL_OP[rip]
	mov	rdi, r12
	mov	DWORD PTR 0[r13], 1
	call	AcpiPsInitOp@PLT
	jmp	.L5
.L34:
	mov	edi, DWORD PTR [rsp]
	call	ACPI_ERROR@PLT
	mov	rdi, QWORD PTR AE_AML_INTERNAL[rip]
	call	return_ACPI_STATUS@PLT
	jmp	.L8
.L33:
	mov	rdi, QWORD PTR AE_NO_MEMORY[rip]
	call	return_ACPI_STATUS@PLT
	jmp	.L7
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	AcpiPsGetNextNamepath, .-AcpiPsGetNextNamepath
	.comm	PsGetNextNamepath,4,4
	.comm	ARGP_TARGET,8,8
	.comm	ARGP_SUPERNAME,8,8
	.comm	AML_VARIABLE_PACKAGE_OP,8,8
	.comm	AML_PACKAGE_OP,8,8
	.comm	AML_INT_NAMEPATH_OP,4,4
	.comm	AML_INT_METHODCALL_OP,4,4
	.comm	AML_CONDITIONAL_REF_OF_OP,8,8
	.comm	AE_OK,8,8
	.comm	AE_NO_MEMORY,8,8
	.comm	AE_NOT_FOUND,8,8
	.comm	AE_INFO,4,4
	.comm	AE_AML_INTERNAL,8,8
	.comm	ACPI_TYPE_METHOD,8,8
	.comm	ACPI_TYPE_ANY,4,4
	.comm	ACPI_PARSE_MODE_MASK,4,4
	.comm	ACPI_PARSE_EXECUTE,4,4
	.comm	ACPI_NS_SEARCH_PARENT,4,4
	.comm	ACPI_NS_DONT_OPEN_SCOPE,4,4
	.comm	ACPI_IMODE_EXECUTE,4,4
	.comm	ACPI_DB_PARSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_psargs.c_AcpiPsGetNextNamepath.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	AcpiPsGetNextNamepath
	.syntax unified
	.arm
	.fpu softvfp
	.type	AcpiPsGetNextNamepath, %function
AcpiPsGetNextNamepath:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r1
	ldr	r1, .L32
	mov	r8, r3
	ldr	r3, .L32+4
	sub	sp, sp, #28
	mov	r7, r0
	ldr	r0, [r1]
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r9, [r4]
	bl	ACPI_FUNCTION_TRACE
	mov	r0, r4
	bl	AcpiPsGetNextNamestring
	mov	r5, r0
	ldr	r10, .L32+8
	mov	r0, r6
	ldr	r1, [r10]
	bl	AcpiPsInitOp
	cmp	r5, #0
	beq	.L25
.L2:
	mov	ip, #0
	ldr	r2, .L32+12
	ldr	r3, .L32+16
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r0, .L32+20
	orr	r3, r3, r1
	stm	sp, {r3, ip}
	ldr	r2, .L32+24
	add	r1, sp, #16
	ldr	r3, [r0]
	ldr	r2, [r2]
	str	r1, [sp, #8]
	ldr	r0, [r7, #8]
	mov	r1, r5
	bl	AcpiNsLookup
	mov	r4, r0
	bl	ACPI_SUCCESS
	cmp	r0, #0
	cmpne	r8, #0
	bne	.L26
.L3:
	ldr	r3, .L32+28
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L27
.L9:
	mov	r0, r4
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L28
.L12:
	mov	r0, r4
	str	r5, [r6]
	bl	return_ACPI_STATUS
	ldr	r3, .L32+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	mov	r0, #0
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L27:
	ldr	r3, .L32+32
	ldr	r2, .L32+36
	ldr	r1, [r3]
	ldr	r3, [r7, #4]
	ldr	r2, [r2]
	and	r3, r3, r1
	cmp	r3, r2
	beq	.L10
.L11:
	ldr	r3, .L32+40
	ldr	r4, [r3]
	mov	r0, r4
	bl	ACPI_FAILURE
	cmp	r0, #0
	beq	.L12
.L28:
	mov	r2, r4
	mov	r1, r5
	ldr	r0, [r7, #8]
	bl	ACPI_ERROR_NAMESPACE
	ldr	r3, .L32+32
	ldr	r2, .L32+36
	ldr	r1, [r3]
	ldr	r3, [r7, #4]
	ldr	r2, [r2]
	and	r3, r3, r1
	cmp	r3, r2
	bne	.L12
	mov	r0, r4
	mov	r1, r7
	bl	AcpiDsMethodError
	mov	r4, r0
	b	.L12
.L26:
	ldr	r2, [sp, #16]
	ldr	r3, .L32+44
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	ldr	r0, [r7, #20]
	bl	GET_CURRENT_ARG_TYPE
	ldr	r3, .L32+48
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L6
	ldr	r0, [r7, #20]
	bl	GET_CURRENT_ARG_TYPE
	ldr	r3, .L32+52
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L6
	ldr	fp, .L32+56
.L5:
	ldr	r0, [sp, #16]
	bl	AcpiNsGetAttachedObject
	mov	r8, r0
	mov	r0, r5
	bl	ACPI_DEBUG_PRINT
	mov	r1, r9
	ldr	r0, [r10]
	bl	AcpiPsAllocOp
	subs	r9, r0, #0
	beq	.L30
.L7:
	ldr	r1, [fp]
	mov	r0, r6
	bl	AcpiPsInitOp
	ldr	r3, [sp, #16]
	mov	r1, r9
	mov	r0, r6
	str	r5, [r9]
	str	r3, [r9, #8]
	bl	AcpiPsAppendArg
	cmp	r8, #0
	beq	.L31
.L8:
	ldr	r0, [r8]
	bl	ACPI_DEBUG_PRINT
	ldr	r2, [r8]
	ldr	r3, .L32+40
	str	r2, [r7]
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
	b	.L3
.L25:
	ldr	r3, .L32+40
	str	r5, [r6]
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
	b	.L2
.L10:
	ldr	r2, [r7, #12]
	ldr	r3, .L32+60
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L11
	ldr	r3, [r6, #4]
	cmp	r3, #0
	beq	.L9
	ldr	r2, .L32+64
	ldr	r3, [r3]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L11
	ldr	r2, .L32+68
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L9
	b	.L11
.L6:
	mov	r3, #1
	ldr	fp, .L32+56
	mov	r0, r6
	ldr	r1, [fp]
	str	r9, [r7, #16]
	str	r3, [r7]
	bl	AcpiPsInitOp
	b	.L5
.L31:
	ldr	r0, [sp, #16]
	bl	ACPI_ERROR
	ldr	r3, .L32+72
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
	b	.L8
.L30:
	ldr	r3, .L32+76
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
	b	.L7
.L29:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	PsGetNextNamepath
	.word	.LC0
	.word	AML_INT_NAMEPATH_OP
	.word	ACPI_NS_DONT_OPEN_SCOPE
	.word	ACPI_NS_SEARCH_PARENT
	.word	ACPI_IMODE_EXECUTE
	.word	ACPI_TYPE_ANY
	.word	AE_NOT_FOUND
	.word	ACPI_PARSE_MODE_MASK
	.word	ACPI_PARSE_EXECUTE
	.word	AE_OK
	.word	ACPI_TYPE_METHOD
	.word	ARGP_SUPERNAME
	.word	ARGP_TARGET
	.word	AML_INT_METHODCALL_OP
	.word	AML_CONDITIONAL_REF_OF_OP
	.word	AML_PACKAGE_OP
	.word	AML_VARIABLE_PACKAGE_OP
	.word	AE_AML_INTERNAL
	.word	AE_NO_MEMORY
	.size	AcpiPsGetNextNamepath, .-AcpiPsGetNextNamepath
	.comm	PsGetNextNamepath,4,4
	.comm	ARGP_TARGET,4,4
	.comm	ARGP_SUPERNAME,4,4
	.comm	AML_VARIABLE_PACKAGE_OP,4,4
	.comm	AML_PACKAGE_OP,4,4
	.comm	AML_INT_NAMEPATH_OP,4,4
	.comm	AML_INT_METHODCALL_OP,4,4
	.comm	AML_CONDITIONAL_REF_OF_OP,4,4
	.comm	AE_OK,4,4
	.comm	AE_NO_MEMORY,4,4
	.comm	AE_NOT_FOUND,4,4
	.comm	AE_INFO,4,4
	.comm	AE_AML_INTERNAL,4,4
	.comm	ACPI_TYPE_METHOD,4,4
	.comm	ACPI_TYPE_ANY,4,4
	.comm	ACPI_PARSE_MODE_MASK,4,4
	.comm	ACPI_PARSE_EXECUTE,4,4
	.comm	ACPI_NS_SEARCH_PARENT,4,4
	.comm	ACPI_NS_DONT_OPEN_SCOPE,4,4
	.comm	ACPI_IMODE_EXECUTE,4,4
	.comm	ACPI_DB_PARSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
