	.file	"extr_raw.c_raw_recvmsg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	raw_recvmsg, @function
raw_recvmsg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rdi, rsi
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r9d
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR 112[rsp]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	inet_sk@PLT
	mov	QWORD PTR 16[rsp], rax
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	mov	DWORD PTR 36[rsp], eax
	test	DWORD PTR MSG_OOB[rip], ebx
	jne	.L2
	test	DWORD PTR MSG_ERRQUEUE[rip], ebx
	jne	.L21
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, r13d
	lea	rcx, 36[rsp]
	mov	esi, ebx
	mov	rdi, r15
	mov	QWORD PTR 24[rsp], rax
	call	skb_recv_datagram@PLT
	mov	r13, rax
	test	rax, rax
	je	.L19
	mov	r14, QWORD PTR [rax]
	cmp	r14, r12
	jbe	.L5
	mov	eax, DWORD PTR MSG_TRUNC[rip]
	or	DWORD PTR 0[rbp], eax
	mov	r14, r12
.L5:
	mov	edx, DWORD PTR 4[rbp]
	mov	rcx, r14
	xor	esi, esi
	mov	rdi, r13
	call	skb_copy_datagram_iovec@PLT
	mov	DWORD PTR 36[rsp], eax
	test	eax, eax
	je	.L22
.L6:
	mov	rsi, r13
	mov	rdi, r15
	call	skb_free_datagram@PLT
.L19:
	mov	eax, DWORD PTR 36[rsp]
.L2:
	test	eax, eax
	cmove	eax, r14d
	mov	rdi, QWORD PTR 40[rsp]
	xor	rdi, QWORD PTR fs:40
	jne	.L23
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r15
	call	ip_recv_error@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdx, r13
	mov	rsi, r15
	mov	rdi, rbp
	call	sock_recv_ts_and_drops@PLT
	cmp	QWORD PTR 24[rsp], 0
	jne	.L24
.L7:
	mov	rax, QWORD PTR 16[rsp]
	cmp	QWORD PTR [rax], 0
	jne	.L25
.L8:
	test	DWORD PTR MSG_TRUNC[rip], ebx
	je	.L6
	mov	r14, QWORD PTR 0[r13]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	mov	r12, QWORD PTR 24[rsp]
	mov	eax, DWORD PTR AF_INET[rip]
	mov	rdi, r13
	mov	DWORD PTR 20[r12], eax
	call	ip_hdr@PLT
	mov	edx, 4
	xor	esi, esi
	mov	rdi, r12
	mov	eax, DWORD PTR [rax]
	mov	QWORD PTR 8[r12], 0
	mov	DWORD PTR 16[r12], eax
	call	memset@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	DWORD PTR [rax], 24
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rsi, r13
	mov	rdi, rbp
	call	ip_cmsg_recv@PLT
	jmp	.L8
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	raw_recvmsg, .-raw_recvmsg
	.comm	MSG_TRUNC,4,4
	.comm	MSG_OOB,4,4
	.comm	MSG_ERRQUEUE,4,4
	.comm	EOPNOTSUPP,4,4
	.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_raw.c_raw_recvmsg.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	raw_recvmsg, %function
raw_recvmsg:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r3
	ldr	r3, .L29
	sub	sp, sp, #20
	mov	r0, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r6, [sp, #60]
	mov	r4, r1
	ldr	r10, [sp, #64]
	bl	inet_sk
	ldr	r2, .L29+4
	ldr	r3, .L29+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	rsb	r2, r2, #0
	ands	fp, r6, r3
	movne	fp, #0
	str	r2, [sp, #8]
	bne	.L2
	ldr	r3, .L29+12
	ldr	r3, [r3]
	tst	r6, r3
	bne	.L23
	ldr	ip, [r5, #8]
	mov	r9, r0
	mov	r1, r6
	mov	r0, r4
	ldr	r2, [sp, #56]
	add	r3, sp, #8
	str	ip, [sp, #4]
	bl	skb_recv_datagram
	subs	r8, r0, #0
	beq	.L24
	ldr	fp, [r8]
	cmp	fp, r7
	bls	.L5
	mov	fp, r7
	ldr	r1, .L29+16
	ldr	r2, [r5]
	ldr	r1, [r1]
	orr	r2, r2, r1
	str	r2, [r5]
.L5:
	mov	r3, fp
	mov	r1, #0
	mov	r0, r8
	ldr	r2, [r5, #4]
	bl	skb_copy_datagram_iovec
	cmp	r0, #0
	mov	r7, r0
	str	r0, [sp, #8]
	beq	.L25
.L6:
	mov	r1, r8
	mov	r0, r4
	bl	skb_free_datagram
	ldr	r2, [sp, #8]
.L2:
	ldr	r3, .L29
	cmp	r2, #0
	moveq	r2, fp
	ldr	r1, [r3]
	ldr	r3, [sp, #12]
	eors	r1, r3, r1
	mov	r3, #0
	bne	.L26
	mov	r0, r2
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	mov	r2, r7
	mov	r3, r10
	mov	r1, r5
	mov	r0, r4
	bl	ip_recv_error
	mov	r2, r0
	b	.L2
.L25:
	mov	r2, r8
	mov	r1, r4
	mov	r0, r5
	bl	sock_recv_ts_and_drops
	ldr	r3, [sp, #4]
	cmp	r3, #0
	bne	.L27
.L7:
	ldr	r2, [r9]
	cmp	r2, #0
	bne	.L28
.L8:
	ldr	r2, .L29+16
	mov	r1, r8
	ldr	r2, [r2]
	mov	r0, r4
	tst	r6, r2
	ldrne	fp, [r8]
	bl	skb_free_datagram
	ldr	r2, [sp, #8]
	b	.L2
.L24:
	mov	fp, r8
	ldr	r2, [sp, #8]
	b	.L2
.L28:
	mov	r0, r5
	mov	r1, r8
	bl	ip_cmsg_recv
	b	.L8
.L27:
	ldr	r2, .L29+20
	mov	r0, r8
	ldr	r2, [r2]
	str	r2, [r3, #12]
	bl	ip_hdr
	mov	r2, #16
	ldr	r1, [r0]
	ldr	r3, [sp, #4]
	str	r7, [r3, #4]
	str	r1, [r3, #8]
	strb	r7, [r3]
	strb	r7, [r3, #1]
	strb	r7, [r3, #2]
	strb	r7, [r3, #3]
	str	r2, [r10]
	b	.L7
.L26:
	bl	__stack_chk_fail
.L30:
	.align	2
.L29:
	.word	.LC0
	.word	EOPNOTSUPP
	.word	MSG_OOB
	.word	MSG_ERRQUEUE
	.word	MSG_TRUNC
	.word	AF_INET
	.size	raw_recvmsg, .-raw_recvmsg
	.comm	MSG_TRUNC,4,4
	.comm	MSG_OOB,4,4
	.comm	MSG_ERRQUEUE,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
