	.file	"extr_uni_msg.c_encode_release.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	encode_release, @function
encode_release:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rcx, rdx
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	add	rsi, 40
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR UNI_RELEASE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r8, 4[rsp]
	call	uni_encode_msg_hdr@PLT
	test	rax, rax
	jne	.L20
	mov	rdx, QWORD PTR 32[r12]
	mov	esi, DWORD PTR UNI_IE_PRESENT[rip]
	test	DWORD PTR [rdx], esi
	jne	.L55
	lea	r8, 4[rdx]
	test	DWORD PTR 4[rdx], esi
	jne	.L56
.L5:
	test	DWORD PTR 24[r12], esi
	jne	.L57
.L6:
	mov	eax, DWORD PTR UNI_NUM_IE_GIT[rip]
	xor	ebx, ebx
	test	eax, eax
	jg	.L8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	add	rbx, 1
	cmp	DWORD PTR UNI_NUM_IE_GIT[rip], ebx
	jle	.L9
.L8:
	mov	rax, QWORD PTR 16[r12]
	mov	ebp, ebx
	lea	rdx, [rax+rbx*4]
	test	DWORD PTR [rdx], esi
	je	.L10
	mov	edi, DWORD PTR UNI_IE_GIT[rip]
	mov	rcx, r14
	mov	rsi, r13
	call	uni_encode_ie@PLT
	test	rax, rax
	jne	.L11
	add	rbx, 1
	cmp	DWORD PTR UNI_NUM_IE_GIT[rip], ebx
	mov	esi, DWORD PTR UNI_IE_PRESENT[rip]
	jg	.L8
.L9:
	test	DWORD PTR 12[r12], esi
	jne	.L58
	test	DWORD PTR 8[r12], esi
	jne	.L59
.L14:
	test	DWORD PTR 4[r12], esi
	jne	.L60
.L16:
	test	DWORD PTR [r12], esi
	jne	.L61
.L18:
	movsx	rsi, DWORD PTR 4[rsp]
	mov	eax, DWORD PTR 8[r13]
	sub	eax, DWORD PTR 12[r13]
	mov	rdx, QWORD PTR 0[r13]
	sub	eax, esi
	sub	eax, 2
	sar	eax, 8
	mov	DWORD PTR [rdx+rsi*4], eax
	movsx	rsi, DWORD PTR 4[rsp]
	mov	eax, DWORD PTR 8[r13]
	sub	eax, DWORD PTR 12[r13]
	sub	eax, esi
	sub	eax, 2
	mov	DWORD PTR 4[rdx+rsi*4], eax
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L62
	add	rsp, 16
	.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
	.p2align 4,,10
	.p2align 3
.L58:
	.cfi_restore_state
	mov	edi, DWORD PTR UNI_IE_UU[rip]
	lea	rdx, 12[r12]
	mov	rcx, r14
	mov	rsi, r13
	call	uni_encode_ie@PLT
	mov	r8, rax
	mov	eax, DWORD PTR UNI_IE_UU[rip]
	test	r8, r8
	jne	.L1
	mov	esi, DWORD PTR UNI_IE_PRESENT[rip]
	test	DWORD PTR 8[r12], esi
	je	.L14
	jmp	.L59
	.p2align 4,,10
	.p2align 3
.L55:
	mov	edi, DWORD PTR UNI_IE_CAUSE[rip]
	mov	rcx, r14
	mov	rsi, r13
	call	uni_encode_ie@PLT
	test	rax, rax
	jne	.L21
	mov	rdx, QWORD PTR 32[r12]
	mov	esi, DWORD PTR UNI_IE_PRESENT[rip]
	lea	r8, 4[rdx]
	test	DWORD PTR 4[rdx], esi
	je	.L5
.L56:
	mov	edi, DWORD PTR UNI_IE_CAUSE[rip]
	mov	rcx, r14
	mov	rdx, r8
	mov	rsi, r13
	call	uni_encode_ie@PLT
	test	rax, rax
	jne	.L22
	mov	esi, DWORD PTR UNI_IE_PRESENT[rip]
	test	DWORD PTR 24[r12], esi
	je	.L6
.L57:
	mov	edi, DWORD PTR UNI_IE_NOTIFY[rip]
	lea	rdx, 24[r12]
	mov	rcx, r14
	mov	rsi, r13
	call	uni_encode_ie@PLT
	mov	r8, rax
	mov	eax, DWORD PTR UNI_IE_NOTIFY[rip]
	test	r8, r8
	jne	.L1
	mov	esi, DWORD PTR UNI_IE_PRESENT[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR UNI_IE_GIT[rip]
	sal	ebp, 16
	add	eax, ebp
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L59:
	mov	edi, DWORD PTR UNI_IE_FACILITY[rip]
	lea	rdx, 8[r12]
	mov	rcx, r14
	mov	rsi, r13
	call	uni_encode_ie@PLT
	mov	r8, rax
	mov	eax, DWORD PTR UNI_IE_FACILITY[rip]
	test	r8, r8
	jne	.L1
	mov	esi, DWORD PTR UNI_IE_PRESENT[rip]
	test	DWORD PTR 4[r12], esi
	je	.L16
.L60:
	mov	edi, DWORD PTR UNI_IE_CRANKBACK[rip]
	lea	rdx, 4[r12]
	mov	rcx, r14
	mov	rsi, r13
	call	uni_encode_ie@PLT
	mov	r8, rax
	mov	eax, DWORD PTR UNI_IE_CRANKBACK[rip]
	test	r8, r8
	jne	.L1
	mov	esi, DWORD PTR UNI_IE_PRESENT[rip]
	test	DWORD PTR [r12], esi
	je	.L18
.L61:
	mov	edi, DWORD PTR UNI_IE_UNREC[rip]
	mov	rcx, r14
	mov	rdx, r12
	mov	rsi, r13
	call	uni_encode_ie@PLT
	test	rax, rax
	je	.L18
	mov	eax, DWORD PTR UNI_IE_UNREC[rip]
	jmp	.L1
.L21:
	xor	eax, eax
.L4:
	sal	eax, 16
	add	eax, DWORD PTR UNI_IE_CAUSE[rip]
	jmp	.L1
.L22:
	mov	eax, 1
	jmp	.L4
.L20:
	mov	eax, -2
	jmp	.L1
.L62:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	encode_release, .-encode_release
	.comm	UNI_RELEASE,4,4
	.comm	UNI_NUM_IE_GIT,4,4
	.comm	UNI_IE_UU,4,4
	.comm	UNI_IE_UNREC,4,4
	.comm	UNI_IE_PRESENT,4,4
	.comm	UNI_IE_NOTIFY,4,4
	.comm	UNI_IE_GIT,4,4
	.comm	UNI_IE_FACILITY,4,4
	.comm	UNI_IE_CRANKBACK,4,4
	.comm	UNI_IE_CAUSE,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_uni_msg.c_encode_release.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	encode_release, %function
encode_release:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r2
	sub	sp, sp, #20
	ldr	r2, .L62
	add	ip, sp, #8
	ldr	r2, [r2]
	str	ip, [sp]
	ldr	ip, .L62+4
	mov	r5, r1
	mov	r3, fp
	add	r1, r1, #28
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	mov	r7, r0
	bl	uni_encode_msg_hdr
	subs	r9, r0, #0
	bne	.L20
	ldr	r8, .L62+8
	ldr	r2, [r5, #24]
	ldr	r1, [r8]
	ldr	r3, [r2]
	tst	r1, r3
	bne	.L54
	ldr	r3, [r2, #4]
	add	r2, r2, #4
	tst	r1, r3
	bne	.L55
.L5:
	ldr	r3, [r5, #20]
	tst	r1, r3
	bne	.L56
.L6:
	ldr	r6, .L62+12
	ldr	r3, [r6]
	cmp	r3, #0
	movgt	r4, #0
	ldrgt	r10, .L62+16
	bgt	.L8
	b	.L9
.L10:
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L9
.L8:
	ldr	r2, [r5, #16]
	ldr	r3, [r2, r4, lsl #2]
	add	r2, r2, r4, lsl #2
	tst	r1, r3
	beq	.L10
	mov	r3, fp
	mov	r1, r7
	ldr	r0, [r10]
	bl	uni_encode_ie
	cmp	r0, #0
	bne	.L11
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	ldr	r1, [r8]
	bgt	.L8
.L9:
	ldr	r3, [r5, #12]
	tst	r1, r3
	bne	.L57
	ldr	r3, [r5, #8]
	tst	r1, r3
	bne	.L58
.L14:
	ldr	r3, [r5, #4]
	tst	r1, r3
	bne	.L59
.L16:
	ldr	r3, [r5]
	tst	r1, r3
	bne	.L60
.L18:
	ldr	r1, [r7, #8]
	ldr	r3, [r7, #4]
	ldr	r2, [sp, #8]
	sub	r3, r3, r1
	sub	r3, r3, r2
	ldr	r1, [r7]
	sub	r3, r3, #2
	asr	r3, r3, #8
	str	r3, [r1, r2, lsl #2]
	ldr	r3, [r7, #4]
	ldr	r0, [r7, #8]
	ldr	r2, [sp, #8]
	sub	r3, r3, r0
	sub	r3, r3, r2
	sub	r3, r3, #2
	add	r2, r2, #1
	str	r3, [r1, r2, lsl #2]
.L1:
	ldr	r3, .L62+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L61
	mov	r0, r9
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L57:
	ldr	r4, .L62+20
	mov	r3, fp
	mov	r1, r7
	ldr	r0, [r4]
	add	r2, r5, #12
	bl	uni_encode_ie
	cmp	r0, #0
	bne	.L52
	ldr	r1, [r8]
	ldr	r3, [r5, #8]
	tst	r1, r3
	beq	.L14
	b	.L58
.L60:
	ldr	r4, .L62+24
	mov	r3, fp
	mov	r2, r5
	mov	r1, r7
	ldr	r0, [r4]
	bl	uni_encode_ie
	cmp	r0, #0
	beq	.L18
.L52:
	ldr	r9, [r4]
	b	.L1
.L54:
	ldr	r4, .L62+28
	mov	r3, fp
	mov	r1, r7
	ldr	r0, [r4]
	bl	uni_encode_ie
	cmp	r0, #0
	bne	.L4
	ldr	r2, [r5, #24]
	ldr	r1, [r8]
	ldr	r3, [r2, #4]
	add	r2, r2, #4
	tst	r1, r3
	beq	.L5
.L55:
	ldr	r4, .L62+28
	mov	r3, fp
	mov	r1, r7
	ldr	r0, [r4]
	bl	uni_encode_ie
	cmp	r0, #0
	bne	.L21
	ldr	r1, [r8]
	ldr	r3, [r5, #20]
	tst	r1, r3
	beq	.L6
.L56:
	ldr	r4, .L62+32
	mov	r3, fp
	mov	r1, r7
	ldr	r0, [r4]
	add	r2, r5, #20
	bl	uni_encode_ie
	cmp	r0, #0
	bne	.L52
	ldr	r1, [r8]
	b	.L6
.L11:
	ldr	r9, [r10]
	add	r9, r9, r4, lsl #16
	b	.L1
.L58:
	ldr	r4, .L62+36
	mov	r3, fp
	mov	r1, r7
	ldr	r0, [r4]
	add	r2, r5, #8
	bl	uni_encode_ie
	cmp	r0, #0
	bne	.L52
	ldr	r1, [r8]
	ldr	r3, [r5, #4]
	tst	r1, r3
	beq	.L16
.L59:
	ldr	r4, .L62+40
	mov	r3, fp
	mov	r1, r7
	ldr	r0, [r4]
	add	r2, r5, #4
	bl	uni_encode_ie
	cmp	r0, #0
	bne	.L52
	ldr	r1, [r8]
	b	.L16
.L21:
	mov	r9, #1
.L4:
	ldr	r3, [r4]
	add	r9, r3, r9, lsl #16
	b	.L1
.L20:
	mvn	r9, #1
	b	.L1
.L61:
	bl	__stack_chk_fail
.L63:
	.align	2
.L62:
	.word	UNI_RELEASE
	.word	.LC0
	.word	UNI_IE_PRESENT
	.word	UNI_NUM_IE_GIT
	.word	UNI_IE_GIT
	.word	UNI_IE_UU
	.word	UNI_IE_UNREC
	.word	UNI_IE_CAUSE
	.word	UNI_IE_NOTIFY
	.word	UNI_IE_FACILITY
	.word	UNI_IE_CRANKBACK
	.size	encode_release, .-encode_release
	.comm	UNI_RELEASE,4,4
	.comm	UNI_NUM_IE_GIT,4,4
	.comm	UNI_IE_UU,4,4
	.comm	UNI_IE_UNREC,4,4
	.comm	UNI_IE_PRESENT,4,4
	.comm	UNI_IE_NOTIFY,4,4
	.comm	UNI_IE_GIT,4,4
	.comm	UNI_IE_FACILITY,4,4
	.comm	UNI_IE_CRANKBACK,4,4
	.comm	UNI_IE_CAUSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
