	.file	"extr_tbinstal.c_acpi_tb_install_standard_table.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acpi_tb_install_standard_table
	.type	acpi_tb_install_standard_table, @function
acpi_tb_install_standard_table:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR tb_install_standard_table[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r12, 16[rsp]
	call	ACPI_FUNCTION_TRACE@PLT
	mov	edx, ebp
	mov	rdi, r12
	mov	esi, r13d
	call	acpi_tb_acquire_temp_table@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L16
.L2:
	test	ebx, ebx
	jne	.L3
	cmp	QWORD PTR acpi_gbl_disable_ssdt_table_install[rip], 0
	jne	.L17
.L3:
	mov	edi, DWORD PTR ACPI_MTX_TABLES[rip]
	call	acpi_ut_acquire_mutex@PLT
	xor	esi, esi
	mov	rdi, r12
	lea	rdx, 12[rsp]
	call	acpi_tb_verify_temp_table@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	je	.L5
	cmp	QWORD PTR AE_CTRL_TERMINATE[rip], rbp
	je	.L18
.L6:
	mov	edi, DWORD PTR ACPI_MTX_TABLES[rip]
	call	acpi_ut_release_mutex@PLT
.L4:
	mov	rdi, r12
	call	acpi_tb_release_temp_table@PLT
	mov	rdi, rbp
	call	return_ACPI_STATUS@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L5:
	.cfi_restore_state
	mov	rdx, r14
	mov	esi, r15d
	mov	rdi, r12
	call	acpi_tb_install_table_with_override@PLT
	mov	edi, DWORD PTR ACPI_MTX_TABLES[rip]
	call	acpi_ut_release_mutex@PLT
	mov	esi, DWORD PTR 16[rsp]
	mov	edi, DWORD PTR ACPI_TABLE_EVENT_INSTALL[rip]
	call	acpi_tb_notify_table@PLT
	mov	edi, DWORD PTR ACPI_MTX_TABLES[rip]
	call	acpi_ut_acquire_mutex@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	mov	esi, DWORD PTR ACPI_SIG_SSDT[rip]
	lea	rdi, 20[rsp]
	call	ACPI_COMPARE_NAMESEG@PLT
	test	rax, rax
	je	.L3
	mov	edi, r13d
	call	ACPI_FORMAT_UINT64@PLT
	movsx	rdi, eax
	call	ACPI_INFO@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, r13d
	call	ACPI_FORMAT_UINT64@PLT
	mov	edi, eax
	call	ACPI_ERROR@PLT
	mov	rdi, rbp
	call	return_ACPI_STATUS@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, r12
	call	acpi_tb_uninstall_table@PLT
	mov	edi, DWORD PTR ACPI_MTX_TABLES[rip]
	call	acpi_ut_release_mutex@PLT
	mov	eax, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR AE_OK[rip]
	mov	DWORD PTR [r14], eax
	call	return_ACPI_STATUS@PLT
	jmp	.L6
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	acpi_tb_install_standard_table, .-acpi_tb_install_standard_table
	.comm	tb_install_standard_table,4,4
	.comm	acpi_gbl_disable_ssdt_table_install,8,8
	.comm	AE_OK,8,8
	.comm	AE_INFO,4,4
	.comm	AE_CTRL_TERMINATE,8,8
	.comm	ACPI_TABLE_EVENT_INSTALL,4,4
	.comm	ACPI_SIG_SSDT,4,4
	.comm	ACPI_MTX_TABLES,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_tbinstal.c_acpi_tb_install_standard_table.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	acpi_tb_install_standard_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_tb_install_standard_table, %function
acpi_tb_install_standard_table:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r1, .L23
	mov	r6, r3
	ldr	r3, .L23+4
	sub	sp, sp, #16
	ldr	r0, [r1]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r8, r2
	ldr	r7, [sp, #40]
	bl	ACPI_FUNCTION_TRACE
	mov	r2, r4
	mov	r1, r5
	add	r0, sp, #4
	bl	acpi_tb_acquire_temp_table
	mov	r4, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L19
.L2:
	cmp	r8, #0
	bne	.L3
	ldr	r3, .L23+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
.L3:
	ldr	r5, .L23+12
	ldr	r0, [r5]
	bl	acpi_ut_acquire_mutex
	mov	r2, sp
	mov	r1, #0
	add	r0, sp, #4
	bl	acpi_tb_verify_temp_table
	mov	r4, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	beq	.L5
	ldr	r3, .L23+16
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L21
.L6:
	ldr	r0, [r5]
	bl	acpi_ut_release_mutex
.L4:
	add	r0, sp, #4
	bl	acpi_tb_release_temp_table
	mov	r0, r4
	bl	return_ACPI_STATUS
	ldr	r3, .L23+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r2, r7
	mov	r1, r6
	add	r0, sp, #4
	bl	acpi_tb_install_table_with_override
	ldr	r0, [r5]
	bl	acpi_ut_release_mutex
	ldr	r3, .L23+20
	ldr	r1, [sp, #4]
	ldr	r0, [r3]
	bl	acpi_tb_notify_table
	ldr	r0, [r5]
	bl	acpi_ut_acquire_mutex
	b	.L6
.L20:
	ldr	r3, .L23+24
	add	r0, sp, #8
	ldr	r1, [r3]
	bl	ACPI_COMPARE_NAMESEG
	cmp	r0, #0
	beq	.L3
	mov	r0, r5
	bl	ACPI_FORMAT_UINT64
	bl	ACPI_INFO
	b	.L4
.L19:
	mov	r0, r5
	bl	ACPI_FORMAT_UINT64
	bl	ACPI_ERROR
	mov	r0, r4
	bl	return_ACPI_STATUS
	b	.L2
.L21:
	add	r0, sp, #4
	bl	acpi_tb_uninstall_table
	ldr	r0, [r5]
	bl	acpi_ut_release_mutex
	ldr	r2, [sp]
	ldr	r3, .L23+28
	str	r2, [r7]
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
	b	.L6
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	tb_install_standard_table
	.word	.LC0
	.word	acpi_gbl_disable_ssdt_table_install
	.word	ACPI_MTX_TABLES
	.word	AE_CTRL_TERMINATE
	.word	ACPI_TABLE_EVENT_INSTALL
	.word	ACPI_SIG_SSDT
	.word	AE_OK
	.size	acpi_tb_install_standard_table, .-acpi_tb_install_standard_table
	.comm	tb_install_standard_table,4,4
	.comm	acpi_gbl_disable_ssdt_table_install,4,4
	.comm	AE_OK,4,4
	.comm	AE_INFO,4,4
	.comm	AE_CTRL_TERMINATE,4,4
	.comm	ACPI_TABLE_EVENT_INSTALL,4,4
	.comm	ACPI_SIG_SSDT,4,4
	.comm	ACPI_MTX_TABLES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
