	.file	"extr_msg_zerocopy.c_do_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"can only cork udp sockets"
	.text
	.p2align 4
	.type	do_test, @function
do_test:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR cfg_cork[rip], 0
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	je	.L2
	cmp	DWORD PTR PF_PACKET[rip], edi
	je	.L3
	cmp	DWORD PTR SOCK_DGRAM[rip], esi
	je	.L2
.L3:
	lea	rdx, .LC0[rip]
	xor	esi, esi
	mov	edi, 1
	call	error@PLT
.L2:
	mov	edi, DWORD PTR cfg_cpu[rip]
	call	do_setcpu@PLT
	mov	eax, DWORD PTR IP_MAXPACKET[rip]
	test	eax, eax
	jle	.L4
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, edx
	mov	esi, edx
	mov	rcx, QWORD PTR payload[rip]
	imul	rax, rax, 1321528399
	shr	rax, 35
	imul	eax, eax, 26
	sub	esi, eax
	mov	eax, esi
	add	eax, 97
	mov	BYTE PTR [rcx+rdx], al
	add	rdx, 1
	cmp	DWORD PTR IP_MAXPACKET[rip], edx
	jg	.L5
.L4:
	cmp	QWORD PTR cfg_rx[rip], 0
	mov	edx, r12d
	mov	esi, ebp
	mov	edi, r13d
	je	.L6
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	do_rx@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	do_tx@PLT
	.cfi_endproc
.LFE0:
	.size	do_test, .-do_test
	.comm	payload,8,8
	.comm	cfg_rx,8,8
	.comm	cfg_cpu,4,4
	.comm	cfg_cork,8,8
	.comm	SOCK_DGRAM,4,4
	.comm	PF_PACKET,4,4
	.comm	IP_MAXPACKET,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_msg_zerocopy.c_do_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"can only cork udp sockets\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_test, %function
do_test:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r3, #0
	mov	r5, r1
	mov	r6, r2
	beq	.L2
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L3
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r3, r1
	beq	.L2
.L3:
	mov	r1, #0
	mov	r0, #1
	ldr	r2, .L13+12
	bl	error
.L2:
	ldr	r3, .L13+16
	ldr	r0, [r3]
	bl	do_setcpu
	ldr	r1, .L13+20
	ldr	r3, [r1]
	cmp	r3, #0
	ble	.L4
	mov	ip, #0
	ldr	lr, .L13+24
	ldr	r0, .L13+28
.L5:
	umull	r2, r3, r0, ip
	lsr	r3, r3, #3
	add	r2, r3, r3, lsl #1
	add	r3, r3, r2, lsl #2
	sub	r3, ip, r3, lsl #1
	ldr	r2, [lr]
	add	r3, r3, #97
	strb	r3, [r2, ip]
	ldr	r3, [r1]
	add	ip, ip, #1
	cmp	r3, ip
	bgt	.L5
.L4:
	ldr	r3, .L13+32
	mov	r2, r6
	ldr	r3, [r3]
	mov	r1, r5
	cmp	r3, #0
	mov	r0, r4
	beq	.L6
	pop	{r4, r5, r6, lr}
	b	do_rx
.L6:
	pop	{r4, r5, r6, lr}
	b	do_tx
.L14:
	.align	2
.L13:
	.word	cfg_cork
	.word	PF_PACKET
	.word	SOCK_DGRAM
	.word	.LC0
	.word	cfg_cpu
	.word	IP_MAXPACKET
	.word	payload
	.word	1321528399
	.word	cfg_rx
	.size	do_test, .-do_test
	.comm	payload,4,4
	.comm	cfg_rx,4,4
	.comm	cfg_cpu,4,4
	.comm	cfg_cork,4,4
	.comm	SOCK_DGRAM,4,4
	.comm	PF_PACKET,4,4
	.comm	IP_MAXPACKET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
