	.file	"extr_nsrepair.c_AcpiNsSimpleRepair.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Missing expected return value"
.LC1:
	.string	"During return object analysis"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Found unexpected NULL package element"
	.text
	.p2align 4
	.globl	AcpiNsSimpleRepair
	.type	AcpiNsSimpleRepair, @function
AcpiNsSimpleRepair:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR NsSimpleRepair[rip]
	mov	rbx, QWORD PTR [rcx]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], 0
	call	ACPI_FUNCTION_NAME@PLT
	mov	edi, DWORD PTR 12[rbp]
	mov	esi, DWORD PTR 0[rbp]
	mov	edx, r13d
	call	AcpiNsMatchSimpleRepair@PLT
	test	rax, rax
	je	.L9
	mov	r12, rax
	test	rbx, rbx
	je	.L37
.L5:
	mov	edi, DWORD PTR 12[rbp]
	mov	rdx, rsp
	mov	rsi, rbx
	call	[QWORD PTR [r12]]
	mov	edi, eax
	mov	r12d, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L38
	cmp	QWORD PTR [rsp], 0
	je	.L9
.L8:
	cmp	DWORD PTR ACPI_NOT_PACKAGE_ELEMENT[rip], r13d
	je	.L22
	mov	eax, DWORD PTR 4[rbp]
	test	DWORD PTR ACPI_OBJECT_WRAPPED[rip], eax
	je	.L39
.L23:
	mov	rdi, rbx
	call	AcpiUtGetObjectTypeName@PLT
	mov	rdi, QWORD PTR [rsp]
	call	AcpiUtGetObjectTypeName@PLT
	mov	edi, r13d
	call	ACPI_DEBUG_PRINT@PLT
.L24:
	mov	rdi, rbx
	call	AcpiUtRemoveReference@PLT
.L34:
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR [r15], rax
	mov	eax, DWORD PTR ACPI_OBJECT_REPAIRED[rip]
	or	DWORD PTR 4[rbp], eax
.L35:
	mov	r12d, DWORD PTR AE_OK[rip]
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L40
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	mov	r12d, DWORD PTR AE_OK[rip]
	test	DWORD PTR 0[rbp], r14d
	jne	.L1
	test	rbx, rbx
	je	.L41
.L10:
	test	DWORD PTR ACPI_RTYPE_INTEGER[rip], r14d
	jne	.L17
.L20:
	test	DWORD PTR ACPI_RTYPE_STRING[rip], r14d
	jne	.L42
.L19:
	test	DWORD PTR ACPI_RTYPE_BUFFER[rip], r14d
	jne	.L43
.L14:
	test	DWORD PTR ACPI_RTYPE_PACKAGE[rip], r14d
	jne	.L44
.L12:
	mov	r12d, DWORD PTR AE_AML_OPERAND_TYPE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L39:
	mov	edx, DWORD PTR [rbx]
	mov	rax, QWORD PTR [rsp]
	mov	DWORD PTR [rax], edx
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, rbx
	mov	rsi, rsp
	call	AcpiNsConvertToInteger@PLT
	mov	edi, eax
	call	ACPI_SUCCESS@PLT
	test	rax, rax
	je	.L20
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L42:
	mov	rdi, rbx
	mov	rsi, rsp
	call	AcpiNsConvertToString@PLT
	mov	edi, eax
	call	ACPI_SUCCESS@PLT
	test	rax, rax
	je	.L19
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L43:
	mov	rdi, rbx
	mov	rsi, rsp
	call	AcpiNsConvertToBuffer@PLT
	mov	edi, eax
	call	ACPI_SUCCESS@PLT
	test	rax, rax
	je	.L14
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L38:
	lea	rax, .LC1[rip]
	lea	edi, [rax]
	call	ACPI_EXCEPTION@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L37:
	lea	rax, .LC0[rip]
	lea	edi, [rax]
	call	ACPI_WARN_PREDEFINED@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L41:
	test	r14d, r14d
	je	.L12
	test	DWORD PTR ACPI_RTYPE_NONE[rip], r14d
	jne	.L10
	cmp	DWORD PTR ACPI_NOT_PACKAGE_ELEMENT[rip], r13d
	je	.L15
	lea	rax, .LC2[rip]
	lea	edi, [rax]
	call	ACPI_WARN_PREDEFINED@PLT
	mov	rdi, rbp
	mov	rcx, r15
	mov	edx, r13d
	mov	esi, r14d
	call	AcpiNsRepairNullElement@PLT
	mov	edi, eax
	call	ACPI_SUCCESS@PLT
	test	rax, rax
	jne	.L35
.L16:
	mov	r12d, DWORD PTR AE_AML_NO_RETURN_VALUE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, rbx
	call	AcpiUtGetObjectTypeName@PLT
	mov	rdi, QWORD PTR [rsp]
	call	AcpiUtGetObjectTypeName@PLT
	mov	edi, eax
	call	ACPI_DEBUG_PRINT@PLT
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L44:
	mov	rdi, rbp
	mov	rdx, rsp
	mov	rsi, rbx
	call	AcpiNsWrapWithPackage@PLT
	mov	edi, eax
	call	ACPI_SUCCESS@PLT
	test	rax, rax
	je	.L12
	jmp	.L34
.L15:
	lea	rax, .LC0[rip]
	lea	edi, [rax]
	call	ACPI_WARN_PREDEFINED@PLT
	jmp	.L16
.L40:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	AcpiNsSimpleRepair, .-AcpiNsSimpleRepair
	.comm	NsSimpleRepair,4,4
	.comm	AE_OK,4,4
	.comm	AE_INFO,4,4
	.comm	AE_AML_OPERAND_TYPE,4,4
	.comm	AE_AML_NO_RETURN_VALUE,4,4
	.comm	ACPI_WARN_ALWAYS,4,4
	.comm	ACPI_RTYPE_STRING,4,4
	.comm	ACPI_RTYPE_PACKAGE,4,4
	.comm	ACPI_RTYPE_NONE,4,4
	.comm	ACPI_RTYPE_INTEGER,4,4
	.comm	ACPI_RTYPE_BUFFER,4,4
	.comm	ACPI_OBJECT_WRAPPED,4,4
	.comm	ACPI_OBJECT_REPAIRED,4,4
	.comm	ACPI_NOT_PACKAGE_ELEMENT,4,4
	.comm	ACPI_DB_REPAIR,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_nsrepair.c_AcpiNsSimpleRepair.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Missing expected return value\000"
	.align	2
.LC1:
	.ascii	"During return object analysis\000"
	.align	2
.LC2:
	.ascii	"Found unexpected NULL package element\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	AcpiNsSimpleRepair
	.syntax unified
	.arm
	.fpu softvfp
	.type	AcpiNsSimpleRepair, %function
AcpiNsSimpleRepair:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r0
	mov	r8, r3
	mov	r5, r2
	mov	r3, #0
	ldr	r0, .L43
	ldr	r2, .L43+4
	sub	sp, sp, #12
	ldr	r0, [r0]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	mov	r7, r1
	str	r3, [sp]
	ldr	r9, [r8]
	bl	ACPI_FUNCTION_NAME
	mov	r2, r5
	ldr	r1, [r4]
	ldr	r0, [r4, #12]
	bl	AcpiNsMatchSimpleRepair
	subs	r6, r0, #0
	beq	.L9
	cmp	r9, #0
	beq	.L36
.L5:
	ldr	r3, [r6]
	mov	r2, sp
	mov	r1, r9
	ldr	r0, [r4, #12]
	blx	r3
	mov	r6, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L37
	ldr	r3, [sp]
	cmp	r3, #0
	beq	.L9
.L8:
	ldr	r3, .L43+8
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L22
	ldr	r3, .L43+12
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	mov	r0, r9
	tst	r2, r3
	ldreq	r2, [r9]
	ldreq	r3, [sp]
	streq	r2, [r3]
	bl	AcpiUtGetObjectTypeName
	ldr	r0, [sp]
	bl	AcpiUtGetObjectTypeName
	mov	r0, r5
	bl	ACPI_DEBUG_PRINT
.L24:
	mov	r0, r9
	bl	AcpiUtRemoveReference
	ldr	r2, .L43+16
	ldr	r3, [r4, #4]
	ldr	r0, [r2]
	ldr	r1, .L43+20
	ldr	r2, [sp]
	orr	r3, r3, r0
	ldr	r6, [r1]
	str	r2, [r8]
	str	r3, [r4, #4]
.L1:
	ldr	r3, .L43+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L38
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	ldr	r3, [r4]
	tst	r7, r3
	bne	.L34
	cmp	r9, #0
	beq	.L39
.L10:
	ldr	r3, .L43+24
	ldr	r3, [r3]
	tst	r7, r3
	bne	.L17
.L20:
	ldr	r3, .L43+28
	ldr	r3, [r3]
	tst	r7, r3
	bne	.L40
.L19:
	ldr	r3, .L43+32
	ldr	r3, [r3]
	tst	r7, r3
	bne	.L41
.L14:
	ldr	r3, .L43+36
	ldr	r3, [r3]
	tst	r7, r3
	bne	.L42
.L12:
	ldr	r3, .L43+40
	ldr	r6, [r3]
	b	.L1
.L34:
	ldr	r3, .L43+20
	ldr	r6, [r3]
	b	.L1
.L17:
	mov	r1, sp
	mov	r0, r9
	bl	AcpiNsConvertToInteger
	bl	ACPI_SUCCESS
	cmp	r0, #0
	beq	.L20
	b	.L8
.L40:
	mov	r1, sp
	mov	r0, r9
	bl	AcpiNsConvertToString
	bl	ACPI_SUCCESS
	cmp	r0, #0
	beq	.L19
	b	.L8
.L41:
	mov	r1, sp
	mov	r0, r9
	bl	AcpiNsConvertToBuffer
	bl	ACPI_SUCCESS
	cmp	r0, #0
	beq	.L14
	b	.L8
.L37:
	ldr	r0, .L43+44
	bl	ACPI_EXCEPTION
	b	.L1
.L36:
	ldr	r0, .L43+48
	bl	ACPI_WARN_PREDEFINED
	b	.L5
.L39:
	cmp	r7, #0
	beq	.L12
	ldr	r3, .L43+52
	ldr	r3, [r3]
	tst	r7, r3
	bne	.L10
	ldr	r3, .L43+8
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L15
	ldr	r0, .L43+56
	bl	ACPI_WARN_PREDEFINED
	mov	r3, r8
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	bl	AcpiNsRepairNullElement
	bl	ACPI_SUCCESS
	cmp	r0, #0
	bne	.L34
.L16:
	ldr	r3, .L43+60
	ldr	r6, [r3]
	b	.L1
.L22:
	mov	r0, r9
	bl	AcpiUtGetObjectTypeName
	ldr	r0, [sp]
	bl	AcpiUtGetObjectTypeName
	bl	ACPI_DEBUG_PRINT
	b	.L24
.L42:
	mov	r1, r9
	mov	r2, sp
	mov	r0, r4
	bl	AcpiNsWrapWithPackage
	bl	ACPI_SUCCESS
	cmp	r0, #0
	beq	.L12
	ldr	r2, .L43+16
	ldr	r3, [r4, #4]
	ldr	r0, [r2]
	ldr	r1, [sp]
	ldr	r2, .L43+20
	orr	r3, r3, r0
	str	r1, [r8]
	ldr	r6, [r2]
	str	r3, [r4, #4]
	b	.L1
.L15:
	ldr	r0, .L43+48
	bl	ACPI_WARN_PREDEFINED
	b	.L16
.L38:
	bl	__stack_chk_fail
.L44:
	.align	2
.L43:
	.word	NsSimpleRepair
	.word	.LC3
	.word	ACPI_NOT_PACKAGE_ELEMENT
	.word	ACPI_OBJECT_WRAPPED
	.word	ACPI_OBJECT_REPAIRED
	.word	AE_OK
	.word	ACPI_RTYPE_INTEGER
	.word	ACPI_RTYPE_STRING
	.word	ACPI_RTYPE_BUFFER
	.word	ACPI_RTYPE_PACKAGE
	.word	AE_AML_OPERAND_TYPE
	.word	.LC1
	.word	.LC0
	.word	ACPI_RTYPE_NONE
	.word	.LC2
	.word	AE_AML_NO_RETURN_VALUE
	.size	AcpiNsSimpleRepair, .-AcpiNsSimpleRepair
	.comm	NsSimpleRepair,4,4
	.comm	AE_OK,4,4
	.comm	AE_INFO,4,4
	.comm	AE_AML_OPERAND_TYPE,4,4
	.comm	AE_AML_NO_RETURN_VALUE,4,4
	.comm	ACPI_WARN_ALWAYS,4,4
	.comm	ACPI_RTYPE_STRING,4,4
	.comm	ACPI_RTYPE_PACKAGE,4,4
	.comm	ACPI_RTYPE_NONE,4,4
	.comm	ACPI_RTYPE_INTEGER,4,4
	.comm	ACPI_RTYPE_BUFFER,4,4
	.comm	ACPI_OBJECT_WRAPPED,4,4
	.comm	ACPI_OBJECT_REPAIRED,4,4
	.comm	ACPI_NOT_PACKAGE_ELEMENT,4,4
	.comm	ACPI_DB_REPAIR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
