	.file	"extr_lists-data.c_do_change_entry_flags.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	do_change_entry_flags
	.type	do_change_entry_flags, @function
do_change_entry_flags:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edx
	call	conv_list_id@PLT
	test	rax, rax
	js	.L11
	cmp	QWORD PTR metafile_mode[rip], 0
	jne	.L3
.L6:
	mov	r14d, r12d
	or	r14d, ebx
	cmp	r14d, -1
	je	.L25
	test	r14d, -256
	je	.L26
	mov	edi, ebp
	not	r14d
	call	FIRST_INT@PLT
	mov	rdi, QWORD PTR LEV_LI_CHANGE_FLAGS_LONG[rip]
	mov	edx, eax
	mov	rax, QWORD PTR lev_list_object_bytes[rip]
	lea	rsi, 12[rax]
	call	alloc_log_event@PLT
	mov	edx, r13d
	mov	esi, ebp
	mov	r12, rax
	mov	rdi, rax
	call	upcopy_list_object_id@PLT
	mov	rdi, r12
	call	LEV_ADJUST_LO@PLT
	mov	rdi, r12
	mov	DWORD PTR 4[rax], r14d
	mov	DWORD PTR 8[rax], ebx
	pop	rbx
	.cfi_remember_state
	.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
	jmp	set_entry_flags@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	ecx, ebx
	not	ecx
	and	r12d, ecx
	jne	.L27
.L8:
	test	ebx, ebx
	jne	.L28
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	mov	edi, ebp
	test	ebx, -256
	je	.L29
	call	FIRST_INT@PLT
	mov	rdi, QWORD PTR LEV_LI_SET_FLAGS_LONG[rip]
	mov	edx, eax
	mov	rax, QWORD PTR lev_list_object_bytes[rip]
	lea	rsi, 12[rax]
	call	alloc_log_event@PLT
	mov	edx, r13d
	mov	esi, ebp
	mov	r12, rax
	mov	rdi, rax
	call	upcopy_list_object_id@PLT
	mov	rdi, r12
	call	LEV_ADJUST_LO@PLT
	mov	rdi, r12
	mov	DWORD PTR [rax], ebx
	pop	rbx
	.cfi_remember_state
	.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
	jmp	set_entry_flags@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, 1
	mov	edi, ebp
	call	prepare_list_metafile@PLT
	test	rax, rax
	jns	.L6
	mov	r12d, -2
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	mov	edi, ebp
	call	FIRST_INT@PLT
	movsx	rdi, ebx
	add	rdi, QWORD PTR LEV_LI_INCR_FLAGS[rip]
	mov	edx, eax
	mov	rax, QWORD PTR lev_list_object_bytes[rip]
	lea	rsi, 12[rax]
.L23:
	call	alloc_log_event@PLT
	mov	edx, r13d
	mov	esi, ebp
	mov	r12, rax
	mov	rdi, rax
	call	upcopy_list_object_id@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	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
	jmp	set_entry_flags@PLT
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	mov	edi, ebp
	movsx	r12, r12d
	call	FIRST_INT@PLT
	mov	rdi, QWORD PTR LEV_LI_DECR_FLAGS[rip]
	mov	edx, eax
	mov	rax, QWORD PTR lev_list_object_bytes[rip]
	add	rdi, r12
	lea	rsi, 12[rax]
	call	alloc_log_event@PLT
	mov	edx, r13d
	mov	esi, ebp
	mov	r12, rax
	mov	rdi, rax
	call	upcopy_list_object_id@PLT
	mov	rdi, r12
	call	set_entry_flags@PLT
	mov	r12d, eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L29:
	call	FIRST_INT@PLT
	movsx	rdi, ebx
	add	rdi, QWORD PTR LEV_LI_SET_FLAGS[rip]
	mov	edx, eax
	mov	rax, QWORD PTR lev_list_object_bytes[rip]
	lea	rsi, 12[rax]
	jmp	.L23
.L11:
	mov	r12d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	do_change_entry_flags, .-do_change_entry_flags
	.comm	metafile_mode,8,8
	.comm	lev_list_object_bytes,8,8
	.comm	LEV_LI_SET_FLAGS_LONG,8,8
	.comm	LEV_LI_SET_FLAGS,8,8
	.comm	LEV_LI_INCR_FLAGS,8,8
	.comm	LEV_LI_DECR_FLAGS,8,8
	.comm	LEV_LI_CHANGE_FLAGS_LONG,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_lists-data.c_do_change_entry_flags.c"
	.text
	.align	2
	.global	do_change_entry_flags
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_change_entry_flags, %function
do_change_entry_flags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r8, r1
	mov	r4, r2
	mov	r5, r3
	mov	r7, r0
	bl	conv_list_id
	cmp	r0, #0
	blt	.L11
	ldr	r3, .L27
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
.L6:
	orr	r6, r5, r4
	cmn	r6, #1
	beq	.L24
	bics	r3, r6, #255
	beq	.L25
	ldr	r3, .L27+4
	ldr	r2, .L27+8
	mov	r0, r7
	ldr	r9, [r3]
	ldr	r5, [r2]
	bl	FIRST_INT
	add	r5, r5, #12
	mov	r2, r0
	mov	r1, r5
	mov	r0, r9
	bl	alloc_log_event
	mov	r5, r0
	mov	r2, r8
	mov	r1, r7
	bl	upcopy_list_object_id
	mov	r0, r5
	bl	LEV_ADJUST_LO
	mvn	r6, r6
	mov	r3, r0
	mov	r0, r5
	str	r4, [r3, #8]
	str	r6, [r3, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	set_entry_flags
.L25:
	bics	r0, r5, r4
	bne	.L26
.L8:
	cmp	r4, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r2, .L27+12
.L22:
	ldr	r3, .L27+8
	ldr	r2, [r2]
	mov	r0, r7
	ldr	r5, [r3]
	add	r4, r4, r2
	bl	FIRST_INT
	add	r5, r5, #12
	mov	r2, r0
	mov	r1, r5
	mov	r0, r4
	bl	alloc_log_event
	mov	r4, r0
	mov	r2, r8
	mov	r1, r7
	bl	upcopy_list_object_id
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	set_entry_flags
.L24:
	bics	r3, r4, #255
	ldreq	r2, .L27+16
	beq	.L22
	ldr	r3, .L27+20
	ldr	r2, .L27+8
	mov	r0, r7
	ldr	r6, [r3]
	ldr	r5, [r2]
	bl	FIRST_INT
	add	r5, r5, #12
	mov	r2, r0
	mov	r1, r5
	mov	r0, r6
	bl	alloc_log_event
	mov	r5, r0
	mov	r2, r8
	mov	r1, r7
	bl	upcopy_list_object_id
	mov	r0, r5
	bl	LEV_ADJUST_LO
	mov	r3, r0
	mov	r0, r5
	str	r4, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	set_entry_flags
.L3:
	mov	r1, #1
	mov	r0, r7
	bl	prepare_list_metafile
	cmp	r0, #0
	bge	.L6
	mvn	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L26:
	ldr	r2, .L27+24
	ldr	r3, .L27+8
	ldr	r5, [r2]
	ldr	r6, [r3]
	add	r5, r0, r5
	mov	r0, r7
	bl	FIRST_INT
	add	r6, r6, #12
	mov	r2, r0
	mov	r1, r6
	mov	r0, r5
	bl	alloc_log_event
	mov	r5, r0
	mov	r2, r8
	mov	r1, r7
	bl	upcopy_list_object_id
	mov	r0, r5
	bl	set_entry_flags
	b	.L8
.L11:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L28:
	.align	2
.L27:
	.word	metafile_mode
	.word	LEV_LI_CHANGE_FLAGS_LONG
	.word	lev_list_object_bytes
	.word	LEV_LI_INCR_FLAGS
	.word	LEV_LI_SET_FLAGS
	.word	LEV_LI_SET_FLAGS_LONG
	.word	LEV_LI_DECR_FLAGS
	.size	do_change_entry_flags, .-do_change_entry_flags
	.comm	metafile_mode,4,4
	.comm	lev_list_object_bytes,4,4
	.comm	LEV_LI_SET_FLAGS_LONG,4,4
	.comm	LEV_LI_SET_FLAGS,4,4
	.comm	LEV_LI_INCR_FLAGS,4,4
	.comm	LEV_LI_DECR_FLAGS,4,4
	.comm	LEV_LI_CHANGE_FLAGS_LONG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
