	.file	"extr_dswexec.c_acpi_ds_exec_begin_op.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acpi_ds_exec_begin_op
	.type	acpi_ds_exec_begin_op, @function
acpi_ds_exec_begin_op:
.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, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	mov	rsi, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR ds_exec_begin_op[rip]
	mov	r13d, DWORD PTR AE_OK[rip]
	call	ACPI_FUNCTION_TRACE_PTR@PLT
	mov	r12, QWORD PTR 40[rbp]
	test	r12, r12
	je	.L33
	cmp	QWORD PTR 32[rbp], r12
	je	.L34
.L5:
	mov	rdx, QWORD PTR 24[rbp]
	test	rdx, rdx
	je	.L7
	mov	rax, QWORD PTR ACPI_CONTROL_CONDITIONAL_EXECUTING[rip]
	cmp	QWORD PTR 8[rdx], rax
	je	.L35
.L7:
	mov	rdi, QWORD PTR [r12]
	cmp	rdi, QWORD PTR AML_INT_NAMEPATH_OP[rip]
	je	.L8
	mov	rax, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 128
	je	.L8
	cmp	eax, 131
	je	.L36
.L9:
	mov	edi, r13d
	call	return_ACPI_STATUS@PLT
.L3:
	mov	edi, r13d
	mov	rsi, rbp
	call	acpi_ds_method_error@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	edi, eax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	return_ACPI_STATUS@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR 8[rbp]
	test	DWORD PTR ACPI_WALK_METHOD[rip], eax
	je	.L9
	cmp	rdi, QWORD PTR AML_SCOPE_OP[rip]
	je	.L10
	xor	esi, esi
	mov	rdi, rbp
	call	acpi_ds_load2_begin_op@PLT
	mov	r13d, eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L34:
	test	rbx, rbx
	je	.L6
.L11:
	mov	QWORD PTR [rbx], r12
.L6:
	mov	edi, DWORD PTR AE_OK[rip]
	call	return_ACPI_STATUS@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rsi, r12
	mov	rdi, rbp
	call	acpi_ds_exec_begin_control_op@PLT
	mov	r13d, eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, DWORD PTR [rdi]
	mov	rdx, rbp
	call	acpi_ds_scope_stack_push@PLT
	mov	edi, eax
	mov	r13d, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	je	.L9
	mov	edi, r13d
	call	return_ACPI_STATUS@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rdi, rbp
	mov	rsi, rbx
	call	acpi_ds_load2_begin_op@PLT
	mov	edi, eax
	mov	r13d, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L3
	mov	r12, QWORD PTR [rbx]
	mov	rdi, QWORD PTR [r12]
	mov	QWORD PTR 40[rbp], r12
	mov	QWORD PTR 0[rbp], rdi
	call	acpi_ps_get_opcode_info@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	edi, DWORD PTR 4[rax]
	call	acpi_ns_opens_scope@PLT
	test	rax, rax
	jne	.L37
.L4:
	cmp	r12, QWORD PTR 32[rbp]
	jne	.L5
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L35:
	mov	edi, ebp
	call	ACPI_DEBUG_PRINT@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	rdx, QWORD PTR ACPI_CONTROL_PREDICATE_EXECUTING[rip]
	mov	QWORD PTR [rax], r12
	mov	QWORD PTR 8[rax], rdx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rax, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR 4[rax]
	call	acpi_ut_get_type_name@PLT
	mov	edi, r12d
	call	ACPI_DEBUG_PRINT@PLT
	mov	rdi, rbp
	call	acpi_ds_scope_stack_pop@PLT
	mov	edi, eax
	mov	r13d, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	je	.L4
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	acpi_ds_exec_begin_op, .-acpi_ds_exec_begin_op
	.comm	ds_exec_begin_op,4,4
	.comm	AML_SCOPE_OP,8,8
	.comm	AML_INT_NAMEPATH_OP,8,8
	.comm	AE_OK,4,4
	.comm	ACPI_WALK_METHOD,4,4
	.comm	ACPI_DB_EXEC,4,4
	.comm	ACPI_DB_DISPATCH,4,4
	.comm	ACPI_CONTROL_PREDICATE_EXECUTING,8,8
	.comm	ACPI_CONTROL_CONDITIONAL_EXECUTING,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_dswexec.c_acpi_ds_exec_begin_op.c"
	.text
	.align	2
	.global	acpi_ds_exec_begin_op
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ds_exec_begin_op, %function
acpi_ds_exec_begin_op:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r2, .L38
	ldr	r8, .L38+4
	mov	r7, r1
	mov	r1, r0
	ldr	r0, [r2]
	ldr	r5, [r8]
	bl	ACPI_FUNCTION_TRACE_PTR
	ldr	r6, [r4, #20]
	cmp	r6, #0
	beq	.L33
	ldr	r3, [r4, #16]
	cmp	r3, r6
	beq	.L34
.L5:
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L7
	ldr	r1, .L38+8
	ldr	r2, [r3, #4]
	ldr	r3, [r1]
	cmp	r2, r3
	beq	.L35
.L7:
	ldr	r3, .L38+12
	ldr	r0, [r6]
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L8
	ldr	r3, [r4, #8]
	ldr	r3, [r3]
	cmp	r3, #128
	beq	.L8
	cmp	r3, #131
	beq	.L36
.L9:
	mov	r0, r5
	bl	return_ACPI_STATUS
.L3:
	mov	r1, r4
	mov	r0, r5
	bl	acpi_ds_method_error
	pop	{r4, r5, r6, r7, r8, lr}
	b	return_ACPI_STATUS
.L8:
	ldr	r3, .L38+16
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L9
	ldr	r3, .L38+20
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L10
	mov	r1, #0
	mov	r0, r4
	bl	acpi_ds_load2_begin_op
	mov	r5, r0
	b	.L9
.L34:
	cmp	r7, #0
	beq	.L6
.L11:
	str	r6, [r7]
.L6:
	ldr	r0, [r8]
	bl	return_ACPI_STATUS
	b	.L5
.L36:
	mov	r1, r6
	mov	r0, r4
	bl	acpi_ds_exec_begin_control_op
	mov	r5, r0
	b	.L9
.L10:
	mov	r2, r4
	ldr	r1, [r0]
	bl	acpi_ds_scope_stack_push
	mov	r5, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	beq	.L9
	mov	r0, r5
	bl	return_ACPI_STATUS
	b	.L9
.L33:
	mov	r1, r7
	mov	r0, r4
	bl	acpi_ds_load2_begin_op
	mov	r5, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L3
	ldr	r6, [r7]
	ldr	r0, [r6]
	str	r6, [r4, #20]
	str	r0, [r4]
	bl	acpi_ps_get_opcode_info
	str	r0, [r4, #8]
	ldr	r0, [r0, #4]
	bl	acpi_ns_opens_scope
	cmp	r0, #0
	bne	.L37
.L4:
	ldr	r3, [r4, #16]
	cmp	r6, r3
	bne	.L5
	b	.L11
.L35:
	mov	r0, r4
	bl	ACPI_DEBUG_PRINT
	ldr	r2, .L38+24
	ldr	r3, [r4, #12]
	ldr	r2, [r2]
	str	r6, [r3]
	str	r2, [r3, #4]
	b	.L7
.L37:
	ldr	r3, [r4, #8]
	ldr	r0, [r3, #4]
	bl	acpi_ut_get_type_name
	mov	r0, r6
	bl	ACPI_DEBUG_PRINT
	mov	r0, r4
	bl	acpi_ds_scope_stack_pop
	mov	r5, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	beq	.L4
	b	.L3
.L39:
	.align	2
.L38:
	.word	ds_exec_begin_op
	.word	AE_OK
	.word	ACPI_CONTROL_CONDITIONAL_EXECUTING
	.word	AML_INT_NAMEPATH_OP
	.word	ACPI_WALK_METHOD
	.word	AML_SCOPE_OP
	.word	ACPI_CONTROL_PREDICATE_EXECUTING
	.size	acpi_ds_exec_begin_op, .-acpi_ds_exec_begin_op
	.comm	ds_exec_begin_op,4,4
	.comm	AML_SCOPE_OP,4,4
	.comm	AML_INT_NAMEPATH_OP,4,4
	.comm	AE_OK,4,4
	.comm	ACPI_WALK_METHOD,4,4
	.comm	ACPI_DB_EXEC,4,4
	.comm	ACPI_DB_DISPATCH,4,4
	.comm	ACPI_CONTROL_PREDICATE_EXECUTING,4,4
	.comm	ACPI_CONTROL_CONDITIONAL_EXECUTING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
