	.file	"extr_oslinuxtbl.c_osl_add_table_to_list.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%4.4s: Warning unmatched table instance %d, expected %d\n"
	.text
	.p2align 4
	.type	osl_add_table_to_list, @function
osl_add_table_to_list:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	mov	esi, 24
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	edi, 1
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR FALSE[rip]
	call	calloc@PLT
	test	rax, rax
	je	.L21
	mov	edi, DWORD PTR 16[rax]
	mov	rsi, r12
	mov	r15, rax
	xor	ebp, ebp
	call	ACPI_COPY_NAMESEG@PLT
	mov	rbx, QWORD PTR gbl_table_list_head[rip]
	test	rbx, rbx
	jne	.L4
	mov	QWORD PTR gbl_table_list_head[rip], r15
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rbx, rax
.L4:
	mov	edi, DWORD PTR 16[rbx]
	mov	rsi, r12
	call	ACPI_COMPARE_NAMESEG@PLT
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR [rbx]
	cmp	rax, r13
	lea	rdx, 1[rax]
	cmove	r14, QWORD PTR TRUE[rip]
	cmp	rax, rbp
	cmovge	rbp, rdx
.L6:
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	jne	.L10
	mov	QWORD PTR 8[rbx], r15
.L5:
	test	r14, r14
	je	.L8
	test	r13, r13
	jne	.L22
	mov	r13, rbp
.L8:
	mov	QWORD PTR [r15], r13
	mov	eax, DWORD PTR AE_OK[rip]
	add	DWORD PTR gbl_table_count[rip], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	eax, DWORD PTR AE_NO_MEMORY[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	edi, DWORD PTR stderr[rip]
	mov	rcx, r13
	mov	r8, rbp
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	mov	r13, rbp
	call	fprintf@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	osl_add_table_to_list, .-osl_add_table_to_list
	.comm	stderr,4,4
	.comm	gbl_table_list_head,8,8
	.comm	gbl_table_count,4,4
	.comm	TRUE,8,8
	.comm	FALSE,8,8
	.comm	AE_OK,4,4
	.comm	AE_NO_MEMORY,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_oslinuxtbl.c_osl_add_table_to_list.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%4.4s: Warning unmatched table instance %d, expecte"
	.ascii	"d %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	osl_add_table_to_list, %function
osl_add_table_to_list:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L21
	mov	r5, r0
	mov	r6, r1
	mov	r0, #1
	mov	r1, #12
	sub	sp, sp, #8
	ldr	r9, [r3]
	bl	calloc
	subs	r7, r0, #0
	ldreq	r3, .L21+4
	ldreq	r0, [r3]
	beq	.L1
	mov	r1, r5
	ldr	r0, [r7, #8]
	bl	ACPI_COPY_NAMESEG
	ldr	r3, .L21+8
	ldr	r4, [r3]
	cmp	r4, #0
	moveq	r8, r4
	streq	r7, [r3]
	beq	.L5
	mov	r8, #0
	ldr	r10, .L21+12
	b	.L4
.L10:
	mov	r4, r3
.L4:
	mov	r1, r5
	ldr	r0, [r4, #8]
	bl	ACPI_COMPARE_NAMESEG
	cmp	r0, #0
	beq	.L6
	ldr	r3, [r4]
	cmp	r3, r6
	ldreq	r9, [r10]
	cmp	r3, r8
	addge	r8, r3, #1
.L6:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L10
	str	r7, [r4, #4]
.L5:
	cmp	r9, #0
	bne	.L20
.L8:
	ldr	r2, .L21+16
	ldr	r1, .L21+20
	ldr	r3, [r2]
	ldr	r0, [r1]
	add	r3, r3, #1
	str	r6, [r7]
	str	r3, [r2]
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L20:
	cmp	r6, #0
	moveq	r6, r8
	beq	.L8
	ldr	r1, .L21+24
	str	r8, [sp]
	mov	r3, r6
	mov	r2, r5
	ldr	r0, [r1]
	ldr	r1, .L21+28
	mov	r6, r8
	bl	fprintf
	b	.L8
.L22:
	.align	2
.L21:
	.word	FALSE
	.word	AE_NO_MEMORY
	.word	gbl_table_list_head
	.word	TRUE
	.word	gbl_table_count
	.word	AE_OK
	.word	stderr
	.word	.LC0
	.size	osl_add_table_to_list, .-osl_add_table_to_list
	.comm	stderr,4,4
	.comm	gbl_table_list_head,4,4
	.comm	gbl_table_count,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	AE_OK,4,4
	.comm	AE_NO_MEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
