	.file	"extr_schedsvc.c_UpdateServiceStatus.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	UpdateServiceStatus, @function
UpdateServiceStatus:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR SERVICE_WIN32_OWN_PROCESS[rip]
	cmp	QWORD PTR SERVICE_PAUSED[rip], rdi
	mov	QWORD PTR ServiceStatus[rip+32], rdi
	mov	DWORD PTR ServiceStatus[rip+40], eax
	je	.L2
	xor	eax, eax
	cmp	QWORD PTR SERVICE_RUNNING[rip], rdi
	je	.L2
.L3:
	cmp	QWORD PTR SERVICE_START_PENDING[rip], rdi
	mov	DWORD PTR ServiceStatus[rip], eax
	mov	eax, 10000
	mov	QWORD PTR ServiceStatus[rip+24], 0
	mov	QWORD PTR ServiceStatus[rip+16], 0
	mov	QWORD PTR ServiceStatus[rip+8], 0
	je	.L4
	cmp	QWORD PTR SERVICE_STOP_PENDING[rip], rdi
	je	.L4
	cmp	QWORD PTR SERVICE_PAUSE_PENDING[rip], rdi
	je	.L4
	cmp	QWORD PTR SERVICE_CONTINUE_PENDING[rip], rdi
	mov	edx, 0
	cmovne	eax, edx
.L4:
	mov	edi, DWORD PTR ServiceStatusHandle[rip]
	lea	rsi, ServiceStatus[rip]
	mov	DWORD PTR ServiceStatus[rip+4], eax
	jmp	SetServiceStatus@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR SERVICE_ACCEPT_STOP[rip]
	or	eax, DWORD PTR SERVICE_ACCEPT_SHUTDOWN[rip]
	or	eax, DWORD PTR SERVICE_ACCEPT_PAUSE_CONTINUE[rip]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	UpdateServiceStatus, .-UpdateServiceStatus
	.comm	ServiceStatusHandle,4,4
	.comm	ServiceStatus,48,32
	.comm	SERVICE_WIN32_OWN_PROCESS,4,4
	.comm	SERVICE_STOP_PENDING,8,8
	.comm	SERVICE_START_PENDING,8,8
	.comm	SERVICE_RUNNING,8,8
	.comm	SERVICE_PAUSE_PENDING,8,8
	.comm	SERVICE_PAUSED,8,8
	.comm	SERVICE_CONTINUE_PENDING,8,8
	.comm	SERVICE_ACCEPT_STOP,4,4
	.comm	SERVICE_ACCEPT_SHUTDOWN,4,4
	.comm	SERVICE_ACCEPT_PAUSE_CONTINUE,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_schedsvc.c_UpdateServiceStatus.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	UpdateServiceStatus, %function
UpdateServiceStatus:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L11
	ldr	r2, .L11+4
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, .L11+8
	cmp	r1, r0
	str	r0, [r3, #20]
	str	r2, [r3, #24]
	beq	.L2
	ldr	r2, .L11+12
	ldr	r2, [r2]
	cmp	r2, r0
	movne	r2, #0
	beq	.L2
.L3:
	mov	r1, #0
	ldr	ip, .L11+16
	str	r2, [r3]
	ldr	r2, [ip]
	str	r1, [r3, #16]
	cmp	r2, r0
	str	r1, [r3, #12]
	str	r1, [r3, #8]
	beq	.L8
	ldr	r2, .L11+20
	ldr	r2, [r2]
	cmp	r2, r0
	beq	.L8
	ldr	r2, .L11+24
	ldr	r2, [r2]
	cmp	r2, r0
	beq	.L8
	ldr	r1, .L11+28
	ldr	r2, .L11+32
	ldr	r1, [r1]
	cmp	r1, r0
	movne	r2, #0
	b	.L4
.L8:
	ldr	r2, .L11+32
.L4:
	ldr	r0, .L11+36
	ldr	r1, .L11+8
	ldr	r0, [r0]
	str	r2, [r3, #4]
	b	SetServiceStatus
.L2:
	ldr	r2, .L11+40
	ldr	ip, .L11+44
	ldr	r1, .L11+48
	ldr	r2, [r2]
	ldr	ip, [ip]
	ldr	r1, [r1]
	orr	r2, r2, ip
	orr	r2, r2, r1
	b	.L3
.L12:
	.align	2
.L11:
	.word	SERVICE_PAUSED
	.word	SERVICE_WIN32_OWN_PROCESS
	.word	ServiceStatus
	.word	SERVICE_RUNNING
	.word	SERVICE_START_PENDING
	.word	SERVICE_STOP_PENDING
	.word	SERVICE_PAUSE_PENDING
	.word	SERVICE_CONTINUE_PENDING
	.word	10000
	.word	ServiceStatusHandle
	.word	SERVICE_ACCEPT_STOP
	.word	SERVICE_ACCEPT_SHUTDOWN
	.word	SERVICE_ACCEPT_PAUSE_CONTINUE
	.size	UpdateServiceStatus, .-UpdateServiceStatus
	.comm	ServiceStatusHandle,4,4
	.comm	ServiceStatus,28,4
	.comm	SERVICE_WIN32_OWN_PROCESS,4,4
	.comm	SERVICE_STOP_PENDING,4,4
	.comm	SERVICE_START_PENDING,4,4
	.comm	SERVICE_RUNNING,4,4
	.comm	SERVICE_PAUSE_PENDING,4,4
	.comm	SERVICE_PAUSED,4,4
	.comm	SERVICE_CONTINUE_PENDING,4,4
	.comm	SERVICE_ACCEPT_STOP,4,4
	.comm	SERVICE_ACCEPT_SHUTDOWN,4,4
	.comm	SERVICE_ACCEPT_PAUSE_CONTINUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
