	.file	"extr_Command.c_PsSyslogGet.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"CMD_SyslogGet_COLUMN_1"
.LC1:
	.string	"CMD_SyslogGet_COLUMN_2"
.LC2:
	.string	"CMD_SyslogGet_COLUMN_3"
	.text
	.p2align 4
	.globl	PsSyslogGet
	.type	PsSyslogGet, @function
PsSyslogGet:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	r8d, r8d
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rdi
	push	r13
	push	r12
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rcx
	xor	ecx, ecx
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	call	ParseCommandList@PLT
	test	rax, rax
	je	.L15
	lea	r15, -80[rbp]
	mov	esi, 16
	mov	r13, rax
	mov	rdi, r15
	call	Zero@PLT
	mov	edi, DWORD PTR [r12]
	mov	rsi, r15
	call	ScGetSysLog@PLT
	cmp	QWORD PTR ERR_NO_ERROR[rip], rax
	mov	r12, rax
	jne	.L16
	movsx	rax, DWORD PTR MAX_SIZE[rip]
	mov	rbx, rsp
	mov	r12, rsp
	mov	rcx, rax
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rbx, rax
	and	rdx, -16
	mov	rax, rbx
	cmp	rsp, rax
	je	.L6
.L17:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L17
.L6:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	je	.L7
	or	QWORD PTR -8[rsp+rdx], 0
.L7:
	xor	eax, eax
	mov	DWORD PTR -84[rbp], ecx
	mov	r15, rsp
	call	CtNewStandard@PLT
	mov	rdi, QWORD PTR -80[rbp]
	mov	rbx, rax
	call	GetSyslogSettingName@PLT
	lea	rdi, .LC0[rip]
	mov	QWORD PTR -96[rbp], rax
	call	_UU@PLT
	mov	rdx, QWORD PTR -96[rbp]
	mov	rdi, rbx
	mov	esi, eax
	call	CtInsert@PLT
	mov	rax, QWORD PTR SYSLOG_NONE[rip]
	cmp	QWORD PTR -80[rbp], rax
	je	.L8
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -68[rbp]
	mov	rdi, r15
	lea	esi, 0[0+rcx*4]
	call	StrToUni@PLT
	lea	rdi, .LC1[rip]
	call	_UU@PLT
	mov	rdx, r15
	mov	rdi, rbx
	mov	esi, eax
	call	CtInsert@PLT
	mov	esi, DWORD PTR -72[rbp]
	mov	rdi, r15
	call	UniToStru@PLT
	lea	rdi, .LC2[rip]
	call	_UU@PLT
	mov	rdx, r15
	mov	rdi, rbx
	mov	esi, eax
	call	CtInsert@PLT
.L8:
	mov	rsi, r14
	mov	rdi, rbx
	call	CtFree@PLT
	mov	rdi, r13
	mov	rsp, r12
	xor	r12d, r12d
	call	FreeParamValueList@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r14
	mov	rsi, rax
	call	CmdPrintError@PLT
	mov	rdi, r13
	call	FreeParamValueList@PLT
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	lea	rsp, -40[rbp]
	mov	rax, r12
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	r12, QWORD PTR ERR_INVALID_PARAMETER[rip]
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	PsSyslogGet, .-PsSyslogGet
	.comm	SYSLOG_NONE,8,8
	.comm	MAX_SIZE,4,4
	.comm	ERR_NO_ERROR,8,8
	.comm	ERR_INVALID_PARAMETER,8,8
	.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_Command.c_PsSyslogGet.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CMD_SyslogGet_COLUMN_1\000"
	.align	2
.LC1:
	.ascii	"CMD_SyslogGet_COLUMN_2\000"
	.align	2
.LC2:
	.ascii	"CMD_SyslogGet_COLUMN_3\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	PsSyslogGet
	.syntax unified
	.arm
	.fpu softvfp
	.type	PsSyslogGet, %function
PsSyslogGet:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #24
	mov	lr, #0
	mov	r4, r3
	ldr	r3, .L12
	mov	r6, r0
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, lr
	str	lr, [sp]
	bl	ParseCommandList
	subs	r5, r0, #0
	beq	.L9
	mov	r1, #12
	sub	r0, fp, #44
	bl	Zero
	ldr	r0, [r4]
	sub	r1, fp, #44
	bl	ScGetSysLog
	ldr	r3, .L12+4
	mov	r4, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L4
	mov	r0, r6
	mov	r1, r4
	bl	CmdPrintError
	mov	r0, r5
	bl	FreeParamValueList
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L4:
	ldr	r3, .L12+8
	mov	r9, sp
	ldr	r7, [r3]
	lsl	r7, r7, #2
	add	r3, r7, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	bl	CtNewStandard
	mov	r4, r0
	ldr	r0, .L12+12
	bl	_UU
	mov	r8, r0
	ldr	r0, [fp, #-44]
	bl	GetSyslogSettingName
	mov	r1, r8
	mov	r2, r0
	mov	r0, r4
	bl	CtInsert
	ldr	r3, .L12+16
	ldr	r2, [fp, #-44]
	ldr	r3, [r3]
	add	r8, sp, #8
	cmp	r2, r3
	bne	.L11
.L5:
	mov	r1, r6
	mov	r0, r4
	bl	CtFree
	mov	r0, r5
	mov	sp, r9
	bl	FreeParamValueList
	mov	r4, #0
	b	.L1
.L9:
	ldr	r3, .L12+20
	ldr	r4, [r3]
	b	.L1
.L11:
	mov	r1, r7
	ldr	r2, [fp, #-36]
	mov	r0, r8
	bl	StrToUni
	ldr	r0, .L12+24
	bl	_UU
	mov	r2, r8
	mov	r1, r0
	mov	r0, r4
	bl	CtInsert
	ldr	r1, [fp, #-40]
	mov	r0, r8
	bl	UniToStru
	ldr	r0, .L12+28
	bl	_UU
	mov	r2, r8
	mov	r1, r0
	mov	r0, r4
	bl	CtInsert
	b	.L5
.L10:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	ERR_NO_ERROR
	.word	MAX_SIZE
	.word	.LC0
	.word	SYSLOG_NONE
	.word	ERR_INVALID_PARAMETER
	.word	.LC1
	.word	.LC2
	.size	PsSyslogGet, .-PsSyslogGet
	.comm	SYSLOG_NONE,4,4
	.comm	MAX_SIZE,4,4
	.comm	ERR_NO_ERROR,4,4
	.comm	ERR_INVALID_PARAMETER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
