	.file	"extr_group.c_handle_direct_packet.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	handle_direct_packet, @function
handle_direct_packet:
.LFB0:
	.cfi_startproc
	endbr64
	test	rcx, rcx
	je	.L16
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, r8d
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rdx]
	cmp	eax, 130
	je	.L4
	jg	.L5
	cmp	eax, 128
	je	.L6
	cmp	eax, 129
	jne	.L1
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	sub	rcx, 1
	add	rdx, 4
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	handle_send_peers@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	eax, 131
	jne	.L1
	call	get_group_c@PLT
	test	rax, rax
	je	.L1
	movsx	r8, ebx
	sal	r8, 4
	add	r8, QWORD PTR [rax]
	mov	eax, DWORD PTR 12[r8]
	test	eax, eax
	je	.L20
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -24
	.cfi_offset 6, -16
	lea	r9, 4[rdx]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	r8, -1[rcx]
	mov	edx, -1
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	mov	rcx, r9
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	settitle@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	DWORD PTR 12[rsp], esi
	call	get_group_c@PLT
	test	rax, rax
	je	.L1
	movsx	r8, ebx
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, rbp
	sal	r8, 4
	add	r8, QWORD PTR [rax]
	mov	edx, DWORD PTR 4[r8]
	mov	ecx, DWORD PTR [r8]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	send_peers@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	eax, DWORD PTR GROUPCHAT_CLOSE_NONE[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR 4[r8]
	mov	DWORD PTR 8[r8], eax
	add	rsp, 24
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	kill_friend_connection@PLT
	.cfi_endproc
.LFE0:
	.size	handle_direct_packet, .-handle_direct_packet
	.comm	GROUPCHAT_CLOSE_NONE,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_group.c_handle_direct_packet.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_direct_packet, %function
handle_direct_packet:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	cmp	r3, #0
	sub	sp, sp, #12
	ldr	r5, [sp, #24]
	beq	.L1
	mov	r4, r0
	ldr	r0, [r2]
	sub	r0, r0, #128
	cmp	r0, #3
	ldrls	pc, [pc, r0, asl #2]
	b	.L1
.L5:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L4:
	mov	r0, r4
	bl	get_group_c
	cmp	r0, #0
	beq	.L1
	ldr	r3, [r0]
	add	r5, r3, r5, lsl #4
	ldr	r3, [r5, #12]
	cmp	r3, #0
	beq	.L18
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	sub	r3, r3, #1
	str	r3, [sp, #24]
	mov	r0, r4
	add	r3, r2, #4
	mvn	r2, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	settitle
.L7:
	mov	r0, r4
	sub	r3, r3, #1
	add	r2, r2, #4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	handle_send_peers
.L6:
	mov	r0, r4
	str	r1, [sp, #4]
	bl	get_group_c
	cmp	r0, #0
	beq	.L1
	ldr	r3, [r0]
	mov	r0, r4
	add	r2, r3, r5, lsl #4
	ldr	r1, [sp, #4]
	ldr	r2, [r2, #4]
	ldr	r3, [r3, r5, lsl #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	send_peers
.L18:
	ldr	r3, .L19
	ldr	r0, [r4]
	ldr	r3, [r3]
	ldr	r1, [r5, #4]
	str	r3, [r5, #8]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	kill_friend_connection
.L20:
	.align	2
.L19:
	.word	GROUPCHAT_CLOSE_NONE
	.size	handle_direct_packet, .-handle_direct_packet
	.comm	GROUPCHAT_CLOSE_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
