	.file	"extr_dsfield.c_acpi_ds_create_bank_field.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acpi_ds_create_bank_field
	.type	acpi_ds_create_bank_field, @function
acpi_ds_create_bank_field:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 72
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 8[rsp], rsi
	mov	rsi, rdi
	mov	edi, DWORD PTR ds_create_bank_field[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	ACPI_FUNCTION_TRACE_PTR@PLT
	cmp	QWORD PTR 8[rsp], 0
	mov	r12, QWORD PTR 24[rbx]
	je	.L15
.L3:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	r13, QWORD PTR [r12]
	mov	edi, DWORD PTR 0[rbp]
	mov	r9, rbp
	lea	rax, 56[rsp]
	mov	ecx, DWORD PTR ACPI_IMODE_EXECUTE[rip]
	mov	edx, DWORD PTR ACPI_TYPE_ANY[rip]
	mov	esi, DWORD PTR 16[r13]
	mov	r8d, DWORD PTR ACPI_NS_SEARCH_PARENT[rip]
	push	rax
	.cfi_def_cfa_offset 128
	call	acpi_ns_lookup@PLT
	mov	edi, eax
	mov	r12d, eax
	call	ACPI_FAILURE@PLT
	pop	rdx
	.cfi_def_cfa_offset 120
	pop	rcx
	.cfi_def_cfa_offset 112
	test	rax, rax
	jne	.L16
.L5:
	mov	rax, QWORD PTR 0[r13]
	lea	rdi, 16[rsp]
	mov	rsi, rbp
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 16[rsp], rbx
	mov	rdx, QWORD PTR 8[rax]
	mov	QWORD PTR 40[rsp], rdx
	mov	edx, DWORD PTR ACPI_TYPE_LOCAL_BANK_FIELD[rip]
	mov	DWORD PTR 32[rsp], edx
	mov	rdx, QWORD PTR 8[rsp]
	mov	QWORD PTR 24[rsp], rdx
	mov	rdx, QWORD PTR [rax]
	call	acpi_ds_get_field_names@PLT
	mov	edi, eax
	call	return_ACPI_STATUS@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR 16[r13]
	mov	edx, r12d
	call	ACPI_ERROR_NAMESPACE@PLT
	mov	edi, r12d
	call	return_ACPI_STATUS@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	esi, DWORD PTR 20[r12]
	mov	edi, DWORD PTR 0[rbp]
	mov	r9, rbp
	lea	rax, 16[rsp]
	mov	r8d, DWORD PTR ACPI_NS_SEARCH_PARENT[rip]
	mov	ecx, DWORD PTR ACPI_IMODE_EXECUTE[rip]
	push	rax
	.cfi_def_cfa_offset 128
	mov	edx, DWORD PTR ACPI_TYPE_REGION[rip]
	call	acpi_ns_lookup@PLT
	mov	edi, eax
	mov	r13d, eax
	call	ACPI_FAILURE@PLT
	pop	rsi
	.cfi_def_cfa_offset 120
	pop	rdi
	.cfi_def_cfa_offset 112
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR 20[r12]
	mov	edx, r13d
	call	ACPI_ERROR_NAMESPACE@PLT
	mov	edi, r13d
	call	return_ACPI_STATUS@PLT
	jmp	.L3
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	acpi_ds_create_bank_field, .-acpi_ds_create_bank_field
	.comm	ds_create_bank_field,4,4
	.comm	ACPI_TYPE_REGION,4,4
	.comm	ACPI_TYPE_LOCAL_BANK_FIELD,4,4
	.comm	ACPI_TYPE_ANY,4,4
	.comm	ACPI_NS_SEARCH_PARENT,4,4
	.comm	ACPI_IMODE_EXECUTE,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_dsfield.c_acpi_ds_create_bank_field.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	acpi_ds_create_bank_field
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ds_create_bank_field, %function
acpi_ds_create_bank_field:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r0
	ldr	r3, .L17
	sub	sp, sp, #52
	ldr	r0, [r3]
	ldr	r3, .L17+4
	str	r1, [sp, #20]
	mov	r1, r5
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	mov	r4, r2
	bl	ACPI_FUNCTION_TRACE_PTR
	ldr	r3, [sp, #20]
	ldr	r6, [r5, #16]
	cmp	r3, #0
	beq	.L2
	ldr	r8, .L17+8
	ldr	r9, .L17+12
.L3:
	ldr	r7, [r6]
	ldr	ip, [r9]
	ldr	r2, .L17+16
	ldr	r1, [r7, #8]
	add	r0, sp, #40
	str	ip, [sp]
	str	r4, [sp, #4]
	ldr	r2, [r2]
	str	r0, [sp, #8]
	ldr	r3, [r8]
	ldr	r0, [r4]
	bl	acpi_ns_lookup
	mov	r6, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L15
.L5:
	ldr	r3, [r7]
	ldr	r2, .L17+20
	ldr	r3, [r3]
	ldr	lr, [r2]
	ldr	r6, [r3, #4]
	ldr	ip, [sp, #20]
	ldr	r2, [r3]
	mov	r1, r4
	add	r0, sp, #24
	str	lr, [sp, #32]
	str	ip, [sp, #28]
	str	r5, [sp, #24]
	str	r6, [sp, #36]
	bl	acpi_ds_get_field_names
	bl	return_ACPI_STATUS
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, #0
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L15:
	mov	r2, r6
	ldr	r1, [r7, #8]
	ldr	r0, [r4]
	bl	ACPI_ERROR_NAMESPACE
	mov	r0, r6
	bl	return_ACPI_STATUS
	b	.L5
.L2:
	ldr	r9, .L17+12
	ldr	r1, [r6, #12]
	ldr	r3, [r9]
	ldr	r2, .L17+24
	stm	sp, {r3, r4}
	add	r0, sp, #20
	ldr	r8, .L17+8
	ldr	r2, [r2]
	str	r0, [sp, #8]
	ldr	r3, [r8]
	ldr	r0, [r4]
	bl	acpi_ns_lookup
	mov	r7, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	beq	.L3
	mov	r2, r7
	ldr	r1, [r6, #12]
	ldr	r0, [r4]
	bl	ACPI_ERROR_NAMESPACE
	mov	r0, r7
	bl	return_ACPI_STATUS
	b	.L3
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	ds_create_bank_field
	.word	.LC0
	.word	ACPI_IMODE_EXECUTE
	.word	ACPI_NS_SEARCH_PARENT
	.word	ACPI_TYPE_ANY
	.word	ACPI_TYPE_LOCAL_BANK_FIELD
	.word	ACPI_TYPE_REGION
	.size	acpi_ds_create_bank_field, .-acpi_ds_create_bank_field
	.comm	ds_create_bank_field,4,4
	.comm	ACPI_TYPE_REGION,4,4
	.comm	ACPI_TYPE_LOCAL_BANK_FIELD,4,4
	.comm	ACPI_TYPE_ANY,4,4
	.comm	ACPI_NS_SEARCH_PARENT,4,4
	.comm	ACPI_IMODE_EXECUTE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
