	.file	"extr_22271.c_sendpack_IP4.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sendto()"
	.text
	.p2align 4
	.globl	sendpack_IP4
	.type	sendpack_IP4, @function
sendpack_IP4:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	mov	edx, 12
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rbx, 12[rsp]
	mov	rdi, rbx
	call	memset@PLT
	mov	eax, DWORD PTR AF_INET[rip]
	xor	edi, edi
	mov	DWORD PTR 20[rsp], eax
	call	htons@PLT
	mov	edx, 4
	mov	rsi, rbp
	mov	rdi, rbx
	mov	DWORD PTR 16[rsp], eax
	call	memcpy@PLT
	xor	ecx, ecx
	mov	r9d, 12
	mov	r8, rbx
	mov	edx, r13d
	mov	rsi, rbp
	mov	edi, r12d
	call	sendto@PLT
	test	rax, rax
	jle	.L7
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L7:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sendpack_IP4, .-sendpack_IP4
	.comm	AF_INET,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_22271.c_sendpack_IP4.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sendto()\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sendpack_IP4
	.syntax unified
	.arm
	.fpu softvfp
	.type	sendpack_IP4, %function
sendpack_IP4:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #0
	ldr	r3, .L9
	mov	r8, r2
	ldr	r3, [r3]
	ldr	r2, .L9+4
	sub	sp, sp, #24
	mov	r7, r0
	mov	r0, r4
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	mov	r5, r1
	str	r3, [sp, #16]
	str	r4, [sp, #8]
	str	r4, [sp, #12]
	bl	htons
	mov	r3, r0
	add	r6, sp, #8
	mov	r1, r5
	mov	r2, #4
	mov	r0, r6
	str	r3, [sp, #12]
	bl	memcpy
	mov	ip, #12
	mov	r2, r8
	mov	r1, r5
	mov	r0, r7
	mov	r3, r4
	str	r6, [sp]
	str	ip, [sp, #4]
	bl	sendto
	cmp	r0, r4
	movgt	r0, r4
	ble	.L7
.L1:
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r0, .L9+8
	bl	perror
	mvn	r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	AF_INET
	.word	.LC1
	.word	.LC0
	.size	sendpack_IP4, .-sendpack_IP4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
