	.file	"extr_osgendbg.c_AcpiOsWaitCommandReady.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%1c "
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"While parsing/handling command line"
	.text
	.p2align 4
	.globl	AcpiOsWaitCommandReady
	.type	AcpiOsWaitCommandReady, @function
AcpiOsWaitCommandReady:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR DEBUGGER_MULTI_THREADED[rip]
	cmp	QWORD PTR AcpiGbl_DebuggerConfiguration[rip], rax
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	je	.L5
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	QWORD PTR AE_TIME[rip], r12
	jne	.L6
.L5:
	cmp	QWORD PTR AcpiGbl_DbTerminateLoop[rip], 0
	mov	r12, QWORD PTR AE_CTRL_TERMINATE[rip]
	jne	.L4
	mov	edi, DWORD PTR AcpiGbl_DbCommandReady[rip]
	mov	esi, 1000
	call	AcpiOsAcquireMutex@PLT
	mov	r12, rax
	cmp	QWORD PTR AE_TIME[rip], r12
	je	.L5
.L6:
	mov	rdi, r12
	call	ACPI_FAILURE@PLT
	test	rax, rax
	je	.L1
.L16:
	cmp	QWORD PTR AE_CTRL_TERMINATE[rip], r12
	je	.L1
	lea	rax, .LC1[rip]
	lea	edi, [rax]
	call	ACPI_EXCEPTION@PLT
.L1:
	mov	rax, r12
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR ACPI_DB_CONSOLE_OUTPUT[rip]
	call	AcpiDbSetOutputDestination@PLT
	mov	eax, DWORD PTR AcpiGbl_MethodExecuting[rip]
	test	eax, eax
	jne	.L7
	mov	esi, DWORD PTR ACPI_DEBUGGER_COMMAND_PROMPT[rip]
	lea	rdi, .LC0[rip]
	call	AcpiOsPrintf@PLT
.L8:
	mov	edi, DWORD PTR AcpiGbl_DbLineBuf[rip]
	mov	esi, DWORD PTR ACPI_DB_LINE_BUFFER_SIZE[rip]
	xor	edx, edx
	call	AcpiOsGetLine@PLT
	mov	r12, rax
	mov	rdi, r12
	call	ACPI_FAILURE@PLT
	test	rax, rax
	je	.L1
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR ACPI_DEBUGGER_EXECUTE_PROMPT[rip]
	lea	rdi, .LC0[rip]
	call	AcpiOsPrintf@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	AcpiOsWaitCommandReady, .-AcpiOsWaitCommandReady
	.comm	DEBUGGER_MULTI_THREADED,8,8
	.comm	AcpiGbl_MethodExecuting,4,4
	.comm	AcpiGbl_DebuggerConfiguration,8,8
	.comm	AcpiGbl_DbTerminateLoop,8,8
	.comm	AcpiGbl_DbLineBuf,4,4
	.comm	AcpiGbl_DbCommandReady,4,4
	.comm	AE_TIME,8,8
	.comm	AE_OK,8,8
	.comm	AE_INFO,4,4
	.comm	AE_CTRL_TERMINATE,8,8
	.comm	ACPI_DEBUGGER_EXECUTE_PROMPT,4,4
	.comm	ACPI_DEBUGGER_COMMAND_PROMPT,4,4
	.comm	ACPI_DB_LINE_BUFFER_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
	.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_osgendbg.c_AcpiOsWaitCommandReady.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%1c \000"
	.align	2
.LC1:
	.ascii	"While parsing/handling command line\000"
	.text
	.align	2
	.global	AcpiOsWaitCommandReady
	.syntax unified
	.arm
	.fpu softvfp
	.type	AcpiOsWaitCommandReady, %function
AcpiOsWaitCommandReady:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L18
	ldr	r3, .L18+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r2, r3
	bne	.L2
	ldr	r6, .L18+8
	ldr	r5, .L18+12
	ldr	r8, .L18+16
	ldr	r7, .L18+20
	b	.L5
.L16:
	ldr	r4, [r7]
	ldr	r3, [r5]
	cmp	r3, r4
	bne	.L6
.L5:
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L16
	mov	r1, #1000
	ldr	r0, [r8]
	bl	AcpiOsAcquireMutex
	mov	r4, r0
	ldr	r3, [r5]
	cmp	r3, r4
	beq	.L5
.L6:
	mov	r0, r4
	bl	ACPI_FAILURE
	cmp	r0, #0
	beq	.L1
.L17:
	ldr	r3, .L18+20
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L1
	ldr	r0, .L18+24
	bl	ACPI_EXCEPTION
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L18+28
	ldr	r0, [r3]
	bl	AcpiDbSetOutputDestination
	ldr	r3, .L18+32
	ldr	r0, .L18+36
	ldr	r3, [r3]
	cmp	r3, #0
	ldreq	r3, .L18+40
	ldrne	r3, .L18+44
	ldr	r1, [r3]
	bl	AcpiOsPrintf
	ldr	r3, .L18+48
	ldr	r2, .L18+52
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r2, #0
	bl	AcpiOsGetLine
	mov	r4, r0
	mov	r0, r4
	bl	ACPI_FAILURE
	cmp	r0, #0
	beq	.L1
	b	.L17
.L19:
	.align	2
.L18:
	.word	AcpiGbl_DebuggerConfiguration
	.word	DEBUGGER_MULTI_THREADED
	.word	AcpiGbl_DbTerminateLoop
	.word	AE_TIME
	.word	AcpiGbl_DbCommandReady
	.word	AE_CTRL_TERMINATE
	.word	.LC1
	.word	ACPI_DB_CONSOLE_OUTPUT
	.word	AcpiGbl_MethodExecuting
	.word	.LC0
	.word	ACPI_DEBUGGER_COMMAND_PROMPT
	.word	ACPI_DEBUGGER_EXECUTE_PROMPT
	.word	AcpiGbl_DbLineBuf
	.word	ACPI_DB_LINE_BUFFER_SIZE
	.size	AcpiOsWaitCommandReady, .-AcpiOsWaitCommandReady
	.comm	DEBUGGER_MULTI_THREADED,4,4
	.comm	AcpiGbl_MethodExecuting,4,4
	.comm	AcpiGbl_DebuggerConfiguration,4,4
	.comm	AcpiGbl_DbTerminateLoop,4,4
	.comm	AcpiGbl_DbLineBuf,4,4
	.comm	AcpiGbl_DbCommandReady,4,4
	.comm	AE_TIME,4,4
	.comm	AE_OK,4,4
	.comm	AE_INFO,4,4
	.comm	AE_CTRL_TERMINATE,4,4
	.comm	ACPI_DEBUGGER_EXECUTE_PROMPT,4,4
	.comm	ACPI_DEBUGGER_COMMAND_PROMPT,4,4
	.comm	ACPI_DB_LINE_BUFFER_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
