	.file	"extr_dbmethod.c_acpi_db_set_method_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Invalid SET operand: %s\n"
.LC1:
	.string	"Can only set Integer nodes\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"There is no method currently executing\n"
	.align 8
.LC3:
	.string	"Could not create an internal object\n"
	.align 8
.LC4:
	.string	"Arg%u - Invalid argument name\n"
	.section	.rodata.str1.1
.LC5:
	.string	"Arg%u: "
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"Local%u - Invalid local variable name\n"
	.section	.rodata.str1.1
.LC7:
	.string	"Local%u: "
	.text
	.p2align 4
	.globl	acpi_db_set_method_data
	.type	acpi_db_set_method_data, @function
acpi_db_set_method_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	acpi_ut_strupr@PLT
	movzx	ebx, BYTE PTR 0[rbp]
	mov	eax, ebx
	and	eax, -3
	cmp	al, 76
	je	.L2
	cmp	bl, 65
	jne	.L26
.L2:
	mov	edx, 16
	xor	esi, esi
	mov	rdi, r12
	call	strtoul@PLT
	mov	rbp, rax
	cmp	bl, 78
	je	.L27
	mov	rdi, r13
	mov	edx, 16
	xor	esi, esi
	call	strtoul@PLT
	mov	edi, DWORD PTR acpi_gbl_current_walk_list[rip]
	mov	r13, rax
	call	acpi_ds_get_current_walk_state@PLT
	mov	r12, rax
	test	rax, rax
	je	.L28
	mov	edi, ebp
	call	acpi_ut_create_integer_object@PLT
	lea	rdi, .LC3[rip]
	mov	rbp, rax
	test	rax, rax
	je	.L24
	cmp	bl, 65
	je	.L8
	cmp	bl, 76
	jne	.L10
	cmp	QWORD PTR ACPI_METHOD_MAX_LOCAL[rip], r13
	jb	.L29
	mov	edi, DWORD PTR ACPI_REFCLASS_LOCAL[rip]
	mov	rcx, r12
	mov	rdx, rax
	mov	rsi, r13
	call	acpi_ds_store_object_to_local@PLT
	mov	edi, eax
	call	ACPI_FAILURE@PLT
	test	eax, eax
	je	.L30
.L10:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	acpi_ut_remove_reference@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	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
	jmp	acpi_os_printf@PLT
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	mov	rdi, r13
	call	acpi_db_convert_to_node@PLT
	test	rax, rax
	je	.L1
	mov	rcx, QWORD PTR ACPI_TYPE_INTEGER[rip]
	lea	rdi, .LC1[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L24
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR [rax], rbp
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L28:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
.L24:
	add	rsp, 8
	.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
	jmp	acpi_os_printf@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	cmp	QWORD PTR ACPI_METHOD_MAX_ARG[rip], r13
	jb	.L31
	mov	edi, DWORD PTR ACPI_REFCLASS_ARG[rip]
	mov	rcx, r12
	mov	rdx, rax
	mov	rsi, r13
	call	acpi_ds_store_object_to_local@PLT
	mov	edi, eax
	call	ACPI_FAILURE@PLT
	test	eax, eax
	jne	.L10
	mov	rax, QWORD PTR 8[r12]
	mov	rsi, r13
	lea	rdi, .LC5[rip]
	mov	rbp, QWORD PTR [rax+r13*8]
.L23:
	xor	eax, eax
	call	acpi_os_printf@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	acpi_db_display_internal_object@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rax, QWORD PTR [r12]
	mov	rsi, r13
	lea	rdi, .LC7[rip]
	mov	rbp, QWORD PTR [rax+r13*8]
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L31:
	mov	rsi, r13
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	acpi_os_printf@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rsi, r13
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	acpi_os_printf@PLT
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	acpi_db_set_method_data, .-acpi_db_set_method_data
	.comm	acpi_gbl_current_walk_list,4,4
	.comm	ACPI_TYPE_INTEGER,8,8
	.comm	ACPI_REFCLASS_LOCAL,4,4
	.comm	ACPI_REFCLASS_ARG,4,4
	.comm	ACPI_METHOD_MAX_LOCAL,8,8
	.comm	ACPI_METHOD_MAX_ARG,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_dbmethod.c_acpi_db_set_method_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid SET operand: %s\012\000"
	.align	2
.LC1:
	.ascii	"Can only set Integer nodes\012\000"
	.align	2
.LC2:
	.ascii	"There is no method currently executing\012\000"
	.align	2
.LC3:
	.ascii	"Could not create an internal object\012\000"
	.align	2
.LC4:
	.ascii	"Arg%u - Invalid argument name\012\000"
	.align	2
.LC5:
	.ascii	"Arg%u: \000"
	.align	2
.LC6:
	.ascii	"Local%u - Invalid local variable name\012\000"
	.align	2
.LC7:
	.ascii	"Local%u: \000"
	.text
	.align	2
	.global	acpi_db_set_method_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_db_set_method_data, %function
acpi_db_set_method_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r8, r1
	mov	r7, r2
	bl	acpi_ut_strupr
	ldrb	r4, [r6]	@ zero_extendqisi2
	and	r3, r4, #253
	cmp	r3, #76
	cmpne	r4, #65
	movne	r5, #1
	moveq	r5, #0
	bne	.L18
	mov	r0, r7
	mov	r2, #16
	mov	r1, r5
	bl	strtoul
	cmp	r4, #78
	mov	r6, r0
	beq	.L19
	mov	r1, r5
	mov	r0, r8
	mov	r2, #16
	bl	strtoul
	ldr	r3, .L26
	mov	r8, r0
	ldr	r0, [r3]
	bl	acpi_ds_get_current_walk_state
	subs	r7, r0, #0
	beq	.L20
	mov	r0, r6
	bl	acpi_ut_create_integer_object
	subs	r5, r0, #0
	beq	.L21
	cmp	r4, #65
	beq	.L8
	cmp	r4, #76
	bne	.L10
	ldr	r3, .L26+4
	ldr	r3, [r3]
	cmp	r3, r8
	bcc	.L22
	ldr	r2, .L26+8
	mov	r3, r7
	mov	r1, r8
	ldr	r0, [r2]
	mov	r2, r5
	bl	acpi_ds_store_object_to_local
	bl	ACPI_FAILURE
	cmp	r0, #0
	beq	.L23
.L10:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	acpi_ut_remove_reference
.L19:
	mov	r0, r8
	bl	acpi_db_convert_to_node
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L26+12
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L24
	ldr	r3, [r0, #4]
	str	r6, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	mov	r1, r6
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, .L26+16
	b	acpi_os_printf
.L24:
	ldr	r0, .L26+20
	pop	{r4, r5, r6, r7, r8, lr}
	b	acpi_os_printf
.L20:
	ldr	r0, .L26+24
	pop	{r4, r5, r6, r7, r8, lr}
	b	acpi_os_printf
.L8:
	ldr	r3, .L26+28
	ldr	r3, [r3]
	cmp	r3, r8
	bcc	.L25
	ldr	r2, .L26+32
	mov	r3, r7
	mov	r1, r8
	ldr	r0, [r2]
	mov	r2, r5
	bl	acpi_ds_store_object_to_local
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L10
	ldr	r3, [r7, #4]
	mov	r1, r8
	ldr	r5, [r3, r8, lsl #2]
	ldr	r0, .L26+36
	bl	acpi_os_printf
	mov	r1, r7
	mov	r0, r5
	bl	acpi_db_display_internal_object
	b	.L10
.L23:
	ldr	r3, [r7]
	mov	r1, r8
	ldr	r5, [r3, r8, lsl #2]
	ldr	r0, .L26+40
	bl	acpi_os_printf
	mov	r1, r7
	mov	r0, r5
	bl	acpi_db_display_internal_object
	b	.L10
.L25:
	mov	r1, r8
	ldr	r0, .L26+44
	bl	acpi_os_printf
	b	.L10
.L22:
	mov	r1, r8
	ldr	r0, .L26+48
	bl	acpi_os_printf
	b	.L10
.L21:
	ldr	r0, .L26+52
	pop	{r4, r5, r6, r7, r8, lr}
	b	acpi_os_printf
.L27:
	.align	2
.L26:
	.word	acpi_gbl_current_walk_list
	.word	ACPI_METHOD_MAX_LOCAL
	.word	ACPI_REFCLASS_LOCAL
	.word	ACPI_TYPE_INTEGER
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	ACPI_METHOD_MAX_ARG
	.word	ACPI_REFCLASS_ARG
	.word	.LC5
	.word	.LC7
	.word	.LC4
	.word	.LC6
	.word	.LC3
	.size	acpi_db_set_method_data, .-acpi_db_set_method_data
	.comm	acpi_gbl_current_walk_list,4,4
	.comm	ACPI_TYPE_INTEGER,4,4
	.comm	ACPI_REFCLASS_LOCAL,4,4
	.comm	ACPI_REFCLASS_ARG,4,4
	.comm	ACPI_METHOD_MAX_LOCAL,4,4
	.comm	ACPI_METHOD_MAX_ARG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
