	.file	"extr_rsparser.c_pnpacpi_parse_allocated_resource.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"parse allocated resources\n"
.LC1:
	.string	"can't evaluate _CRS: %d"
	.text
	.p2align 4
	.globl	pnpacpi_parse_allocated_resource
	.type	pnpacpi_parse_allocated_resource, @function
pnpacpi_parse_allocated_resource:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 8[rdi]
	mov	r12d, DWORD PTR [rax]
	call	pnp_dbg@PLT
	mov	rdi, rbp
	call	pnp_init_resources@PLT
	mov	edx, DWORD PTR pnpacpi_allocated_resource[rip]
	mov	edi, r12d
	mov	rcx, rbp
	mov	esi, DWORD PTR METHOD_NAME__CRS[rip]
	call	acpi_walk_resources@PLT
	mov	rdi, rax
	mov	r12, rax
	call	ACPI_FAILURE@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	jne	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	cmp	QWORD PTR AE_NOT_FOUND[rip], r12
	jne	.L10
	mov	eax, DWORD PTR EPERM[rip]
	neg	eax
.L11:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	eax, DWORD PTR EPERM[rip]
	neg	eax
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	pnpacpi_parse_allocated_resource, .-pnpacpi_parse_allocated_resource
	.comm	pnpacpi_allocated_resource,4,4
	.comm	METHOD_NAME__CRS,4,4
	.comm	EPERM,4,4
	.comm	AE_NOT_FOUND,8,8
	.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_rsparser.c_pnpacpi_parse_allocated_resource.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"parse allocated resources\012\000"
	.align	2
.LC1:
	.ascii	"can't evaluate _CRS: %d\000"
	.text
	.align	2
	.global	pnpacpi_parse_allocated_resource
	.syntax unified
	.arm
	.fpu softvfp
	.type	pnpacpi_parse_allocated_resource, %function
pnpacpi_parse_allocated_resource:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, [r0, #4]
	ldr	r1, .L10
	ldr	r5, [r3]
	bl	pnp_dbg
	mov	r0, r4
	bl	pnp_init_resources
	ldr	r2, .L10+4
	ldr	r1, .L10+8
	mov	r0, r5
	mov	r3, r4
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	acpi_walk_resources
	mov	r5, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L10+12
	ldr	r3, [r3]
	cmp	r3, r5
	bne	.L9
.L3:
	ldr	r3, .L10+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	mov	r2, r5
	mov	r0, r4
	ldr	r1, .L10+20
	bl	dev_err
	b	.L3
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	pnpacpi_allocated_resource
	.word	METHOD_NAME__CRS
	.word	AE_NOT_FOUND
	.word	EPERM
	.word	.LC1
	.size	pnpacpi_parse_allocated_resource, .-pnpacpi_parse_allocated_resource
	.comm	pnpacpi_allocated_resource,4,4
	.comm	METHOD_NAME__CRS,4,4
	.comm	EPERM,4,4
	.comm	AE_NOT_FOUND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
