	.file	"extr_simple_writer.c_simple_write_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	simple_write_config, @function
simple_write_config:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 40
	.cfi_def_cfa_offset 48
	mov	ecx, esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	rcx, QWORD PTR [rax+rcx*8]
	mov	eax, DWORD PTR VC_CONTAINER_SUCCESS[rip]
	mov	r8, QWORD PTR 8[rcx]
	mov	rcx, QWORD PTR [rcx]
	mov	r8, QWORD PTR [r8]
	mov	DWORD PTR [r8], 1
	mov	r8, QWORD PTR 8[rcx]
	test	r8, r8
	je	.L1
	mov	eax, DWORD PTR [rcx]
	mov	QWORD PTR 16[rsp], r8
	mov	DWORD PTR [rsp], esi
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR VC_CONTAINER_TIME_UNKNOWN[rip]
	test	rdx, rdx
	je	.L4
	mov	eax, DWORD PTR 8[rdx]
.L4:
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR VC_CONTAINER_PACKET_FLAG_CONFIG[rip]
	mov	rsi, rsp
	mov	DWORD PTR 4[rsp], eax
	call	simple_writer_write@PLT
.L1:
	mov	rdx, QWORD PTR 24[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	simple_write_config, .-simple_write_config
	.comm	VC_CONTAINER_TIME_UNKNOWN,4,4
	.comm	VC_CONTAINER_SUCCESS,4,4
	.comm	VC_CONTAINER_PACKET_FLAG_CONFIG,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_simple_writer.c_simple_write_config.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	simple_write_config, %function
simple_write_config:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, #1
	mov	r3, r0
	ldr	r0, [r0]
	ldr	r6, .L12
	ldr	r0, [r0, r1, lsl #2]
	sub	sp, sp, #28
	ldr	lr, [r0]
	ldr	r0, [r0, #4]
	ldr	ip, [lr, #4]
	ldr	r4, [r0]
	ldr	r0, .L12+4
	cmp	ip, #0
	ldr	r0, [r0]
	str	r0, [sp, #20]
	mov	r0,#0
	ldr	r0, [r6]
	str	r5, [r4]
	beq	.L1
	cmp	r2, #0
	ldr	r0, [lr]
	ldreq	r2, .L12+8
	str	r1, [sp]
	ldr	r1, .L12+12
	ldrne	r2, [r2, #8]
	ldreq	r2, [r2]
	str	r0, [sp, #12]
	mov	r0, r3
	ldr	r3, [r1]
	mov	r1, sp
	str	ip, [sp, #16]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	bl	simple_writer_write
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	VC_CONTAINER_SUCCESS
	.word	.LC0
	.word	VC_CONTAINER_TIME_UNKNOWN
	.word	VC_CONTAINER_PACKET_FLAG_CONFIG
	.size	simple_write_config, .-simple_write_config
	.comm	VC_CONTAINER_TIME_UNKNOWN,4,4
	.comm	VC_CONTAINER_SUCCESS,4,4
	.comm	VC_CONTAINER_PACKET_FLAG_CONFIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
