	.file	"extr_dbnames.c_AcpiDbFindNameInNamespace.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Name must be no longer than 4 characters\n"
	.text
	.p2align 4
	.globl	AcpiDbFindNameInNamespace
	.type	AcpiDbFindNameInNamespace, @function
AcpiDbFindNameInNamespace:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 3[rsp], 1600085855
	mov	BYTE PTR 7[rsp], 0
	call	strlen@PLT
	cmp	rax, QWORD PTR ACPI_NAMESEG_SIZE[rip]
	jg	.L13
	mov	rdi, rbx
	call	AcpiUtStrupr@PLT
	movzx	eax, BYTE PTR [rbx]
	lea	r9, 3[rsp]
	mov	rdx, r9
	test	al, al
	je	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	add	rbx, 1
	mov	BYTE PTR [rdx], al
	add	rdx, 1
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L5
.L4:
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	ecx, DWORD PTR AcpiDbWalkAndMatchName[rip]
	xor	r8d, r8d
	mov	edx, DWORD PTR ACPI_UINT32_MAX[rip]
	mov	esi, DWORD PTR ACPI_ROOT_OBJECT[rip]
	mov	edi, DWORD PTR ACPI_TYPE_ANY[rip]
	push	0
	.cfi_def_cfa_offset 48
	call	AcpiWalkNamespace@PLT
	mov	edi, DWORD PTR ACPI_DB_CONSOLE_OUTPUT[rip]
	call	AcpiDbSetOutputDestination@PLT
	mov	eax, DWORD PTR AE_OK[rip]
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	AcpiOsPrintf@PLT
	mov	eax, DWORD PTR AE_OK[rip]
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	AcpiDbFindNameInNamespace, .-AcpiDbFindNameInNamespace
	.comm	AcpiDbWalkAndMatchName,4,4
	.comm	AE_OK,4,4
	.comm	ACPI_UINT32_MAX,4,4
	.comm	ACPI_TYPE_ANY,4,4
	.comm	ACPI_ROOT_OBJECT,4,4
	.comm	ACPI_NAMESEG_SIZE,8,8
	.comm	ACPI_DB_CONSOLE_OUTPUT,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_dbnames.c_AcpiDbFindNameInNamespace.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC1:
	.ascii	"Name must be no longer than 4 characters\012\000"
	.align	2
.LC0:
	.ascii	"____\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	AcpiDbFindNameInNamespace
	.syntax unified
	.arm
	.fpu softvfp
	.type	AcpiDbFindNameInNamespace, %function
AcpiDbFindNameInNamespace:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L15
	ldr	r2, .L15+4
	sub	sp, sp, #32
	ldm	r3, {r0, r1}
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	str	r0, [sp, #20]
	mov	r0, r4
	strb	r1, [sp, #24]
	bl	strlen
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r0, r3
	bgt	.L13
	mov	r0, r4
	bl	AcpiUtStrupr
	ldrb	r3, [r4]	@ zero_extendqisi2
	add	r1, sp, #20
	cmp	r3, #0
	movne	r2, r1
	beq	.L4
.L5:
	strb	r3, [r2], #1
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
.L4:
	mov	r3, #0
	stmib	sp, {r1, r3}
	ldr	lr, .L15+12
	ldr	ip, .L15+16
	ldr	r2, .L15+20
	ldr	r0, .L15+24
	str	r3, [sp]
	ldr	r3, [lr]
	ldr	r2, [r2]
	ldr	r1, [ip]
	ldr	r0, [r0]
	bl	AcpiWalkNamespace
	ldr	r3, .L15+28
	ldr	r0, [r3]
	bl	AcpiDbSetOutputDestination
	ldr	r3, .L15+32
	ldr	r0, [r3]
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #32
	@ sp needed
	pop	{r4, pc}
.L13:
	ldr	r0, .L15+36
	bl	AcpiOsPrintf
	ldr	r3, .L15+32
	ldr	r0, [r3]
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	.LC2
	.word	ACPI_NAMESEG_SIZE
	.word	AcpiDbWalkAndMatchName
	.word	ACPI_ROOT_OBJECT
	.word	ACPI_UINT32_MAX
	.word	ACPI_TYPE_ANY
	.word	ACPI_DB_CONSOLE_OUTPUT
	.word	AE_OK
	.word	.LC1
	.size	AcpiDbFindNameInNamespace, .-AcpiDbFindNameInNamespace
	.comm	AcpiDbWalkAndMatchName,4,4
	.comm	AE_OK,4,4
	.comm	ACPI_UINT32_MAX,4,4
	.comm	ACPI_TYPE_ANY,4,4
	.comm	ACPI_ROOT_OBJECT,4,4
	.comm	ACPI_NAMESEG_SIZE,4,4
	.comm	ACPI_DB_CONSOLE_OUTPUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
