	.file	"extr_dsopcode.c_acpi_ds_init_buffer_field.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Attempt to CreateField of length zero"
	.text
	.p2align 4
	.type	acpi_ds_init_buffer_field, @function
acpi_ds_init_buffer_field:
.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, r9
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR ds_init_buffer_field[rip]
	mov	QWORD PTR 8[rsp], r8
	call	ACPI_FUNCTION_TRACE_PTR@PLT
	mov	rax, QWORD PTR ACPI_TYPE_BUFFER[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L2
	mov	rdi, rbp
	call	acpi_ut_get_object_type_name@PLT
	mov	edi, eax
	call	ACPI_ERROR@PLT
	mov	r15d, DWORD PTR AE_AML_OPERAND_TYPE[rip]
.L3:
	mov	rdi, r13
	call	acpi_ut_remove_reference@PLT
	mov	rdi, rbp
	call	acpi_ut_remove_reference@PLT
	cmp	r12d, 130
	je	.L14
.L15:
	mov	edi, r15d
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L21
	mov	eax, DWORD PTR AOPOBJ_DATA_VALID[rip]
	or	DWORD PTR [rbx], eax
.L18:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edi, r15d
	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
	jmp	return_ACPI_STATUS@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r14
	call	ACPI_GET_DESCRIPTOR_TYPE@PLT
	cmp	rax, QWORD PTR ACPI_DESC_TYPE_NAMED[rip]
	jne	.L22
	mov	rsi, QWORD PTR 0[r13]
	lea	eax, -128[r12]
	mov	ecx, esi
	cmp	eax, 5
	ja	.L5
	lea	rdx, .L7[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L12-.L7
	.long	.L11-.L7
	.long	.L10-.L7
	.long	.L9-.L7
	.long	.L8-.L7
	.long	.L6-.L7
	.text
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, r14
	call	acpi_ut_remove_reference@PLT
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR AML_FIELD_ACCESS_BYTE[rip]
	mov	rax, QWORD PTR [rax]
	mov	r8d, eax
	test	eax, eax
	jne	.L13
	lea	rax, .LC0[rip]
	lea	edi, [rax]
	call	ACPI_BIOS_ERROR@PLT
	mov	rdi, r13
	mov	r15d, DWORD PTR AE_AML_OPERAND_VALUE[rip]
	call	acpi_ut_remove_reference@PLT
	mov	rdi, rbp
	call	acpi_ut_remove_reference@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, QWORD PTR 8[rsp]
	call	acpi_ut_remove_reference@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, r12d
	call	acpi_ps_get_opcode_name@PLT
	mov	rdi, r14
	call	acpi_ut_get_descriptor_name@PLT
	mov	edi, eax
	call	ACPI_ERROR@PLT
	mov	r15d, DWORD PTR AE_AML_OPERAND_TYPE[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	lea	ecx, 0[0+rsi*8]
	mov	esi, DWORD PTR AML_FIELD_ACCESS_BYTE[rip]
	mov	r8d, 8
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR 0[rbp]
	lea	edx, [rcx+r8]
	sal	eax, 3
	cmp	edx, eax
	jg	.L23
	xor	edx, edx
	mov	rdi, rbx
	call	acpi_ex_prep_common_field_object@PLT
	mov	edi, eax
	mov	r15d, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L3
	mov	QWORD PTR 8[rbx], rbp
	add	DWORD PTR 8[rbp], ebp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR AML_FIELD_ACCESS_BYTE[rip]
	mov	r8d, 1
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L12:
	lea	ecx, 0[0+rsi*8]
	mov	r8d, 16
	mov	esi, DWORD PTR AML_FIELD_ACCESS_WORD[rip]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L11:
	lea	ecx, 0[0+rsi*8]
	mov	r8d, 64
	mov	esi, DWORD PTR AML_FIELD_ACCESS_QWORD[rip]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L9:
	lea	ecx, 0[0+rsi*8]
	mov	r8d, 32
	mov	esi, DWORD PTR AML_FIELD_ACCESS_DWORD[rip]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, r14
	mov	r15d, DWORD PTR AE_AML_BUFFER_LIMIT[rip]
	call	acpi_ut_get_node_name@PLT
	mov	eax, DWORD PTR 0[rbp]
	lea	edi, 0[0+rax*8]
	call	ACPI_BIOS_EXCEPTION@PLT
	jmp	.L3
.L5:
	mov	edi, r12d
	call	ACPI_ERROR@PLT
	mov	rdi, r13
	mov	r15d, DWORD PTR AE_AML_BAD_OPCODE[rip]
	call	acpi_ut_remove_reference@PLT
	mov	rdi, rbp
	call	acpi_ut_remove_reference@PLT
	jmp	.L15
	.cfi_endproc
.LFE0:
	.size	acpi_ds_init_buffer_field, .-acpi_ds_init_buffer_field
	.comm	ds_init_buffer_field,4,4
	.comm	AOPOBJ_DATA_VALID,4,4
	.comm	AML_FIELD_ACCESS_WORD,4,4
	.comm	AML_FIELD_ACCESS_QWORD,4,4
	.comm	AML_FIELD_ACCESS_DWORD,4,4
	.comm	AML_FIELD_ACCESS_BYTE,4,4
	.comm	AE_INFO,4,4
	.comm	AE_AML_OPERAND_VALUE,4,4
	.comm	AE_AML_OPERAND_TYPE,4,4
	.comm	AE_AML_BUFFER_LIMIT,4,4
	.comm	AE_AML_BAD_OPCODE,4,4
	.comm	ACPI_TYPE_BUFFER,8,8
	.comm	ACPI_DESC_TYPE_NAMED,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_dsopcode.c_acpi_ds_init_buffer_field.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Attempt to CreateField of length zero\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ds_init_buffer_field, %function
acpi_ds_init_buffer_field:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r2
	ldr	r2, .L24
	sub	sp, sp, #8
	mov	r6, r0
	ldr	r0, [r2]
	mov	r7, r3
	mov	r5, r1
	ldr	r10, [sp, #40]
	ldr	r9, [sp, #44]
	bl	ACPI_FUNCTION_TRACE_PTR
	ldr	r3, .L24+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	mov	r0, r4
	bl	acpi_ut_get_object_type_name
	bl	ACPI_ERROR
	ldr	r3, .L24+8
	ldr	r8, [r3]
.L3:
	mov	r0, r7
	bl	acpi_ut_remove_reference
	mov	r0, r4
	bl	acpi_ut_remove_reference
	cmp	r6, #130
	beq	.L14
.L15:
	mov	r0, r8
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L21
	mov	r0, r8
	ldr	r2, .L24+12
	ldr	r3, [r5]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r5]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	return_ACPI_STATUS
.L2:
	mov	r0, r9
	bl	ACPI_GET_DESCRIPTOR_TYPE
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L22
	sub	r2, r6, #128
	ldr	r3, [r7]
	cmp	r2, #5
	ldrls	pc, [pc, r2, asl #2]
	b	.L5
.L7:
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L6
.L21:
	mov	r0, r9
	bl	acpi_ut_remove_reference
	mov	r0, r8
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	return_ACPI_STATUS
.L10:
	ldr	r2, [r10]
	ldr	r1, .L24+20
	cmp	r2, #0
	ldr	r1, [r1]
	bne	.L13
	ldr	r0, .L24+24
	bl	ACPI_BIOS_ERROR
	ldr	r3, .L24+28
	mov	r0, r7
	ldr	r8, [r3]
	bl	acpi_ut_remove_reference
	mov	r0, r4
	bl	acpi_ut_remove_reference
.L14:
	mov	r0, r10
	bl	acpi_ut_remove_reference
	b	.L15
.L22:
	mov	r0, r6
	bl	acpi_ps_get_opcode_name
	mov	r0, r9
	bl	acpi_ut_get_descriptor_name
	bl	ACPI_ERROR
	ldr	r3, .L24+8
	ldr	r8, [r3]
	b	.L3
.L6:
	mov	r2, #1
	ldr	r1, .L24+20
	ldr	r1, [r1]
.L13:
	ldr	ip, [r4]
	add	r0, r3, r2
	cmp	r0, ip, lsl #3
	bgt	.L23
	str	r2, [sp]
	mov	r0, r5
	mov	r2, #0
	bl	acpi_ex_prep_common_field_object
	mov	r8, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	streq	r4, [r5, #4]
	ldreq	r3, [r4, #4]
	addeq	r3, r4, r3
	streq	r3, [r4, #4]
	b	.L3
.L12:
	ldr	r2, .L24+32
	lsl	r3, r3, #3
	ldr	r1, [r2]
	mov	r2, #16
	b	.L13
.L11:
	ldr	r2, .L24+36
	lsl	r3, r3, #3
	ldr	r1, [r2]
	mov	r2, #64
	b	.L13
.L9:
	ldr	r2, .L24+40
	lsl	r3, r3, #3
	ldr	r1, [r2]
	mov	r2, #32
	b	.L13
.L8:
	ldr	r2, .L24+20
	lsl	r3, r3, #3
	ldr	r1, [r2]
	mov	r2, #8
	b	.L13
.L23:
	ldr	r3, .L24+44
	mov	r0, r9
	ldr	r8, [r3]
	bl	acpi_ut_get_node_name
	ldr	r0, [r4]
	lsl	r0, r0, #3
	bl	ACPI_BIOS_EXCEPTION
	b	.L3
.L5:
	mov	r0, r6
	bl	ACPI_ERROR
	ldr	r3, .L24+48
	mov	r0, r7
	ldr	r8, [r3]
	bl	acpi_ut_remove_reference
	mov	r0, r4
	bl	acpi_ut_remove_reference
	b	.L15
.L25:
	.align	2
.L24:
	.word	ds_init_buffer_field
	.word	ACPI_TYPE_BUFFER
	.word	AE_AML_OPERAND_TYPE
	.word	AOPOBJ_DATA_VALID
	.word	ACPI_DESC_TYPE_NAMED
	.word	AML_FIELD_ACCESS_BYTE
	.word	.LC0
	.word	AE_AML_OPERAND_VALUE
	.word	AML_FIELD_ACCESS_WORD
	.word	AML_FIELD_ACCESS_QWORD
	.word	AML_FIELD_ACCESS_DWORD
	.word	AE_AML_BUFFER_LIMIT
	.word	AE_AML_BAD_OPCODE
	.size	acpi_ds_init_buffer_field, .-acpi_ds_init_buffer_field
	.comm	ds_init_buffer_field,4,4
	.comm	AOPOBJ_DATA_VALID,4,4
	.comm	AML_FIELD_ACCESS_WORD,4,4
	.comm	AML_FIELD_ACCESS_QWORD,4,4
	.comm	AML_FIELD_ACCESS_DWORD,4,4
	.comm	AML_FIELD_ACCESS_BYTE,4,4
	.comm	AE_INFO,4,4
	.comm	AE_AML_OPERAND_VALUE,4,4
	.comm	AE_AML_OPERAND_TYPE,4,4
	.comm	AE_AML_BUFFER_LIMIT,4,4
	.comm	AE_AML_BAD_OPCODE,4,4
	.comm	ACPI_TYPE_BUFFER,4,4
	.comm	ACPI_DESC_TYPE_NAMED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
