	.file	"extr_listbox.c_LISTBOX_InsertString.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"[%p]: added item %d %s\n"
	.text
	.p2align 4
	.type	LISTBOX_InsertString, @function
LISTBOX_InsertString:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	call	HAS_STRINGS@PLT
	test	rax, rax
	je	.L2
	test	rbp, rbp
	lea	rax, empty_stringW.1967[rip]
	cmove	rbp, rax
	mov	rdi, rbp
	call	strlenW@PLT
	mov	r13d, eax
	xor	eax, eax
	call	GetProcessHeap@PLT
	lea	edx, 4[0+r13*4]
	xor	esi, esi
	mov	edi, eax
	call	HeapAlloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L14
	mov	rsi, rbp
	mov	rdi, rax
	call	strcpyW@PLT
	xor	ecx, ecx
	cmp	ebx, -1
	je	.L15
.L7:
	mov	rdx, r14
	mov	esi, ebx
	mov	rdi, r12
	call	LISTBOX_InsertItem@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L16
	mov	rdi, r12
	call	HAS_STRINGS@PLT
	lea	rcx, .LC0[rip]
	test	rax, rax
	jne	.L17
.L9:
	mov	esi, DWORD PTR 4[r12]
	mov	edx, ebx
	lea	rdi, .LC1[rip]
	mov	r13d, ebx
	call	TRACE@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L2:
	.cfi_restore_state
	mov	rcx, rbp
	xor	r14d, r14d
	cmp	ebx, -1
	jne	.L7
.L15:
	mov	ebx, DWORD PTR [r12]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	xor	eax, eax
	call	GetProcessHeap@PLT
	mov	rdx, r14
	xor	esi, esi
	mov	edi, eax
	call	HeapFree@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L17:
	.cfi_restore_state
	mov	rdi, r14
	call	debugstr_w@PLT
	mov	rcx, rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L14:
	mov	esi, DWORD PTR LBN_ERRSPACE[rip]
	mov	rdi, r12
	call	SEND_NOTIFICATION@PLT
	mov	r13d, DWORD PTR LB_ERRSPACE[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	LISTBOX_InsertString, .-LISTBOX_InsertString
	.section	.rodata
	.align 4
	.type	empty_stringW.1967, @object
	.size	empty_stringW.1967, 4
empty_stringW.1967:
	.zero	4
	.comm	LB_ERRSPACE,4,4
	.comm	LBN_ERRSPACE,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_listbox.c_LISTBOX_InsertString.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"[%p]: added item %d %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	LISTBOX_InsertString, %function
LISTBOX_InsertString:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r4, r2
	mov	r7, r0
	bl	HAS_STRINGS
	subs	r5, r0, #0
	beq	.L2
	ldr	r3, .L16
	cmp	r4, #0
	moveq	r4, r3
	bl	GetProcessHeap
	mov	r5, r0
	mov	r0, r4
	bl	strlenW
	add	r2, r0, #1
	mov	r1, #0
	mov	r0, r5
	lsl	r2, r2, #2
	bl	HeapAlloc
	subs	r5, r0, #0
	beq	.L13
	mov	r1, r4
	bl	strcpyW
	mov	r3, #0
	b	.L6
.L2:
	mov	r3, r4
.L6:
	cmn	r6, #1
	ldreq	r6, [r7]
	mov	r2, r5
	mov	r1, r6
	mov	r0, r7
	bl	LISTBOX_InsertItem
	subs	r4, r0, #0
	bne	.L14
	mov	r0, r7
	ldr	r4, [r7, #4]
	bl	HAS_STRINGS
	cmp	r0, #0
	ldreq	r3, .L16+4
	bne	.L15
.L9:
	mov	r1, r4
	mov	r2, r6
	ldr	r0, .L16+8
	mov	r4, r6
	bl	TRACE
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	bl	GetProcessHeap
	mov	r2, r5
	mov	r1, #0
	bl	HeapFree
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	mov	r0, r5
	bl	debugstr_w
	mov	r3, r0
	b	.L9
.L13:
	ldr	r3, .L16+12
	mov	r0, r7
	ldr	r1, [r3]
	bl	SEND_NOTIFICATION
	ldr	r3, .L16+16
	ldr	r4, [r3]
	b	.L1
.L17:
	.align	2
.L16:
	.word	.LANCHOR0
	.word	.LC0
	.word	.LC1
	.word	LBN_ERRSPACE
	.word	LB_ERRSPACE
	.size	LISTBOX_InsertString, .-LISTBOX_InsertString
	.comm	LB_ERRSPACE,4,4
	.comm	LBN_ERRSPACE,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	empty_stringW.4251, %object
	.size	empty_stringW.4251, 4
empty_stringW.4251:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
