	.file	"extr_ev-layer.c_do_shutdown.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Scheduling PC_SHUTDOWN"
	.text
	.p2align 4
	.type	do_shutdown, @function
do_shutdown:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	gigaset_block_channels@PLT
	mov	rax, QWORD PTR MS_READY[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L5
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	finish_shutdown@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rax, QWORD PTR MS_SHUTDOWN[rip]
	mov	DWORD PTR 8[rbp], 1
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR DEBUG_CMD[rip]
	mov	QWORD PTR 0[rbp], rax
	mov	eax, DWORD PTR PC_SHUTDOWN[rip]
	or	DWORD PTR 12[rbp], eax
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	gig_dbg@PLT
	.cfi_endproc
.LFE0:
	.size	do_shutdown, .-do_shutdown
	.comm	PC_SHUTDOWN,4,4
	.comm	MS_SHUTDOWN,8,8
	.comm	MS_READY,8,8
	.comm	DEBUG_CMD,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_ev-layer.c_do_shutdown.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Scheduling PC_SHUTDOWN\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_shutdown, %function
do_shutdown:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	gigaset_block_channels
	ldr	r3, .L6
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L5
	mov	r0, r4
	pop	{r4, lr}
	b	finish_shutdown
.L5:
	mov	r1, #1
	ldr	r3, .L6+4
	ldr	r2, .L6+8
	ldr	ip, [r3]
	ldr	r3, [r4, #8]
	ldr	r0, [r2]
	ldr	r2, .L6+12
	orr	r3, r3, ip
	stm	r4, {r0, r1, r3}
	pop	{r4, lr}
	ldr	r0, [r2]
	ldr	r1, .L6+16
	b	gig_dbg
.L7:
	.align	2
.L6:
	.word	MS_READY
	.word	PC_SHUTDOWN
	.word	MS_SHUTDOWN
	.word	DEBUG_CMD
	.word	.LC0
	.size	do_shutdown, .-do_shutdown
	.comm	PC_SHUTDOWN,4,4
	.comm	MS_SHUTDOWN,4,4
	.comm	MS_READY,4,4
	.comm	DEBUG_CMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
