	.file	"extr_t-log.c_testWriteInCustomLogfile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"testLogfile2.log"
.LC1:
	.string	"%s"
.LC2:
	.string	"r"
	.text
	.p2align 4
	.globl	testWriteInCustomLogfile
	.type	testWriteInCustomLogfile, @function
testWriteInCustomLogfile:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rdi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	lea	rbx, .LC1[rip]
	sub	rsp, 784
	.cfi_def_cfa_offset 832
	movdqa	xmm0, XMMWORD PTR .LC3[rip]
	movdqa	xmm1, XMMWORD PTR .LC4[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 776[rsp], rax
	xor	eax, eax
	lea	r14, 256[rsp]
	mov	r13, rsp
	lea	rbp, 512[rsp]
	movaps	XMMWORD PTR [rsp], xmm0
	pxor	xmm0, xmm0
	movaps	XMMWORD PTR 16[rsp], xmm0
	movaps	XMMWORD PTR 32[rsp], xmm0
	movaps	XMMWORD PTR 48[rsp], xmm0
	movaps	XMMWORD PTR 64[rsp], xmm0
	movaps	XMMWORD PTR 80[rsp], xmm0
	movaps	XMMWORD PTR 96[rsp], xmm0
	movaps	XMMWORD PTR 112[rsp], xmm0
	movaps	XMMWORD PTR 128[rsp], xmm0
	movaps	XMMWORD PTR 144[rsp], xmm0
	movaps	XMMWORD PTR 160[rsp], xmm0
	movaps	XMMWORD PTR 176[rsp], xmm0
	movaps	XMMWORD PTR 192[rsp], xmm0
	movaps	XMMWORD PTR 208[rsp], xmm0
	movaps	XMMWORD PTR 224[rsp], xmm0
	movaps	XMMWORD PTR 240[rsp], xmm0
	movaps	XMMWORD PTR 256[rsp], xmm1
	movaps	XMMWORD PTR 272[rsp], xmm0
	movaps	XMMWORD PTR 288[rsp], xmm0
	movaps	XMMWORD PTR 304[rsp], xmm0
	movaps	XMMWORD PTR 320[rsp], xmm0
	movaps	XMMWORD PTR 336[rsp], xmm0
	movaps	XMMWORD PTR 352[rsp], xmm0
	movaps	XMMWORD PTR 368[rsp], xmm0
	movaps	XMMWORD PTR 384[rsp], xmm0
	movaps	XMMWORD PTR 400[rsp], xmm0
	movaps	XMMWORD PTR 416[rsp], xmm0
	movaps	XMMWORD PTR 432[rsp], xmm0
	movaps	XMMWORD PTR 448[rsp], xmm0
	movaps	XMMWORD PTR 464[rsp], xmm0
	movaps	XMMWORD PTR 480[rsp], xmm0
	movaps	XMMWORD PTR 496[rsp], xmm0
	call	remove@PLT
	mov	rdi, r14
	call	sntp_init_logging@PLT
	lea	rdi, .LC0[rip]
	call	open_logfile@PLT
	mov	edi, DWORD PTR LOG_ERR[rip]
	mov	rdx, r13
	lea	rsi, .LC1[rip]
	call	msyslog@PLT
	lea	rsi, .LC2[rip]
	lea	rdi, .LC0[rip]
	call	fopen@PLT
	xor	edi, edi
	test	rax, rax
	mov	r12, rax
	setne	dil
	call	TEST_ASSERT_TRUE@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, rbp
	mov	rdi, rbx
	call	printf@PLT
.L2:
	mov	rdx, r12
	mov	esi, 256
	mov	rdi, rbp
	call	fgets@PLT
	test	rax, rax
	jne	.L3
	mov	rsi, r14
	mov	rdi, rbp
	call	strstr@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
	call	TEST_ASSERT_TRUE@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	strstr@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
	call	TEST_ASSERT_TRUE@PLT
	mov	rdi, r12
	call	fclose@PLT
	mov	rax, QWORD PTR 776[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 784
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	testWriteInCustomLogfile, .-testWriteInCustomLogfile
	.comm	LOG_ERR,4,4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.quad	4774132492870562353
	.quad	67
	.align 16
.LC4:
	.quad	5715719247453439316
	.quad	56372741885511
	.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_t-log.c_testWriteInCustomLogfile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC2:
	.ascii	"testLogfile2.log\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"r\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	testWriteInCustomLogfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	testWriteInCustomLogfile, %function
testWriteInCustomLogfile:
	@ args = 0, pretend = 0, frame = 776
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r4, .L8
	sub	sp, sp, #780
	add	r3, sp, #4
	ldm	r4, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	ldr	r3, .L8+4
	mov	r1, #0
	mov	r2, #246
	add	r0, sp, #14
	ldr	r3, [r3]
	str	r3, [sp, #772]
	mov	r3,#0
	add	r4, r4, #256
	bl	memset
	ldm	r4, {r0, r1, r2, r3}
	add	ip, sp, #260
	stmia	ip!, {r0, r1, r2}
	add	r0, sp, #272
	lsr	lr, r3, #16
	strh	r3, [ip], #2	@ movhi
	mov	r2, #241
	mov	r1, #0
	add	r0, r0, #3
	strb	lr, [ip]
	bl	memset
	ldr	r0, .L8+8
	bl	remove
	add	r0, sp, #260
	bl	sntp_init_logging
	ldr	r0, .L8+8
	bl	open_logfile
	ldr	r3, .L8+12
	add	r2, sp, #4
	ldr	r0, [r3]
	ldr	r1, .L8+16
	bl	msyslog
	ldr	r1, .L8+20
	ldr	r0, .L8+8
	bl	fopen
	mov	r4, r0
	subs	r0, r0, #0
	movne	r0, #1
	bl	TEST_ASSERT_TRUE
	ldr	r5, .L8+16
	b	.L2
.L3:
	mov	r0, r5
	add	r1, sp, #516
	bl	printf
.L2:
	mov	r2, r4
	mov	r1, #256
	add	r0, sp, #516
	bl	fgets
	cmp	r0, #0
	bne	.L3
	add	r1, sp, #260
	add	r0, sp, #516
	bl	strstr
	subs	r0, r0, #0
	movne	r0, #1
	bl	TEST_ASSERT_TRUE
	add	r1, sp, #4
	add	r0, sp, #516
	bl	strstr
	subs	r0, r0, #0
	movne	r0, #1
	bl	TEST_ASSERT_TRUE
	mov	r0, r4
	bl	fclose
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [sp, #772]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #780
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LANCHOR0
	.word	.LC5
	.word	.LC2
	.word	LOG_ERR
	.word	.LC3
	.word	.LC4
	.size	testWriteInCustomLogfile, .-testWriteInCustomLogfile
	.comm	LOG_ERR,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC0:
	.ascii	"12345 ABC\000"
	.space	246
.LC1:
	.ascii	"TEST_PROGNAME3\000"
	.space	241
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
