	.file	"extr_esp_local_ctrl.c_esp_local_ctrl_set_prop_values.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Service not running"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Unable to allocate memory for properties array"
	.section	.rodata.str1.1
.LC2:
	.string	"Invalid property index %d"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"Invalid property size %d. Expected %d"
	.text
	.p2align 4
	.globl	esp_local_ctrl_set_prop_values
	.type	esp_local_ctrl_set_prop_values, @function
esp_local_ctrl_set_prop_values:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR local_ctrl_inst_ctx[rip], 0
	je	.L23
	mov	rbx, rsi
	test	rsi, rsi
	je	.L21
	mov	r12, rdx
	test	rdx, rdx
	je	.L21
	mov	esi, 24
	mov	rbp, rdi
	call	calloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L6
	mov	r10, QWORD PTR local_ctrl_inst_ctx[rip]
	test	rbp, rbp
	je	.L11
	mov	rdi, QWORD PTR [r10]
	xor	ecx, ecx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r9, QWORD PTR 24[r10]
	mov	rsi, QWORD PTR [r9+rdx*8]
	mov	rdx, QWORD PTR [r12+rcx*8]
	mov	r8, QWORD PTR [rsi]
	cmp	r8, rdx
	je	.L9
	test	r8, r8
	jne	.L24
.L9:
	mov	edx, DWORD PTR 20[rsi]
	add	rax, 24
	mov	DWORD PTR -4[rax], edx
	mov	edx, DWORD PTR 16[rsi]
	mov	DWORD PTR -8[rax], edx
	mov	edx, DWORD PTR 12[rsi]
	mov	QWORD PTR -24[rax], r8
	mov	DWORD PTR -12[rax], edx
	mov	rdx, QWORD PTR [rbx+rcx*8]
	add	rcx, 1
	mov	rdx, QWORD PTR [r9+rdx*8]
	mov	edx, DWORD PTR 8[rdx]
	mov	DWORD PTR -16[rax], edx
	cmp	rbp, rcx
	je	.L11
.L10:
	mov	rdx, QWORD PTR [rbx+rcx*8]
	cmp	rdx, rdi
	jb	.L8
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	ESP_LOGE@PLT
	mov	rdi, r13
	call	free@PLT
.L21:
	mov	r12d, DWORD PTR ESP_ERR_INVALID_ARG[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	mov	ecx, DWORD PTR 8[r10]
	call	[QWORD PTR 16[r10]]
	mov	rdi, r13
	mov	r12d, eax
	call	free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	ESP_LOGE@PLT
	mov	r12d, DWORD PTR ESP_ERR_INVALID_STATE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	edi, DWORD PTR TAG[rip]
	mov	rcx, r8
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	ESP_LOGE@PLT
	mov	rdi, r13
	call	free@PLT
	mov	r12d, DWORD PTR ESP_ERR_INVALID_ARG[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	ESP_LOGE@PLT
	mov	r12d, DWORD PTR ESP_ERR_NO_MEM[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	esp_local_ctrl_set_prop_values, .-esp_local_ctrl_set_prop_values
	.comm	local_ctrl_inst_ctx,8,8
	.comm	TAG,4,4
	.comm	ESP_ERR_NO_MEM,4,4
	.comm	ESP_ERR_INVALID_STATE,4,4
	.comm	ESP_ERR_INVALID_ARG,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_esp_local_ctrl.c_esp_local_ctrl_set_prop_values.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Service not running\000"
	.align	2
.LC1:
	.ascii	"Unable to allocate memory for properties array\000"
	.align	2
.LC2:
	.ascii	"Invalid property index %d\000"
	.align	2
.LC3:
	.ascii	"Invalid property size %d. Expected %d\000"
	.text
	.align	2
	.global	esp_local_ctrl_set_prop_values
	.syntax unified
	.arm
	.fpu softvfp
	.type	esp_local_ctrl_set_prop_values, %function
esp_local_ctrl_set_prop_values:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L17
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r7, [r3]
	cmp	r7, #0
	beq	.L15
	clz	lr, r2
	cmp	r1, #0
	lsr	lr, lr, #5
	movne	r9, lr
	moveq	r9, #1
	cmp	r9, #0
	mov	r4, r1
	mov	r8, r2
	beq	.L4
.L13:
	ldr	r3, .L17+4
	ldr	r4, [r3]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r1, #20
	mov	r5, r0
	bl	calloc
	subs	r6, r0, #0
	beq	.L5
	cmp	r5, #0
	beq	.L7
	mov	lr, r9
	mov	ip, r6
	ldr	r9, [r7]
	sub	r4, r4, #4
	sub	r0, r8, #4
	b	.L10
.L8:
	ldr	r1, [r7, #12]
	ldr	r2, [r0, #4]!
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, [r1]
	cmp	r3, #0
	cmpne	r3, r2
	bne	.L16
	ldr	r2, [r1, #16]
	cmp	r5, lr
	str	r2, [ip, #16]
	ldr	r2, [r1, #12]
	add	ip, ip, #20
	str	r2, [ip, #-8]
	ldr	r2, [r1, #8]
	str	r3, [ip, #-20]
	str	r2, [ip, #-12]
	ldr	r3, [r1, #4]
	str	r3, [ip, #-16]
	beq	.L7
.L10:
	ldr	r3, [r4, #4]!
	add	lr, lr, #1
	cmp	r3, r9
	bcc	.L8
	ldr	r1, .L17+8
	mov	r2, r3
	ldr	r0, [r1]
	ldr	r1, .L17+12
	bl	ESP_LOGE
	mov	r0, r6
	bl	free
	b	.L13
.L7:
	ldmib	r7, {r3, r4}
	mov	r2, r8
	mov	r1, r6
	mov	r0, r5
	blx	r4
	mov	r4, r0
	mov	r0, r6
	bl	free
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	ldr	r1, .L17+8
	ldr	r0, [r1]
	ldr	r1, .L17+16
	bl	ESP_LOGE
	mov	r0, r6
	bl	free
	ldr	r3, .L17+4
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	ldr	r3, .L17+8
	ldr	r1, .L17+20
	ldr	r0, [r3]
	bl	ESP_LOGE
	ldr	r3, .L17+24
	ldr	r4, [r3]
	b	.L1
.L5:
	ldr	r3, .L17+8
	ldr	r1, .L17+28
	ldr	r0, [r3]
	bl	ESP_LOGE
	ldr	r3, .L17+32
	ldr	r4, [r3]
	b	.L1
.L18:
	.align	2
.L17:
	.word	local_ctrl_inst_ctx
	.word	ESP_ERR_INVALID_ARG
	.word	TAG
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.word	ESP_ERR_INVALID_STATE
	.word	.LC1
	.word	ESP_ERR_NO_MEM
	.size	esp_local_ctrl_set_prop_values, .-esp_local_ctrl_set_prop_values
	.comm	local_ctrl_inst_ctx,4,4
	.comm	TAG,4,4
	.comm	ESP_ERR_NO_MEM,4,4
	.comm	ESP_ERR_INVALID_STATE,4,4
	.comm	ESP_ERR_INVALID_ARG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
