	.file	"176704857.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"MPTCPWRAP_DEBUG"
	.align 8
.LC1:
	.string	"mptcpwrap: changing socket protocol from 0x%x to 0x%x (IPPROTO_MPTCP) for family 0x%x type 0x%x fd %d\n"
	.text
	.globl	socket
	.type	socket, @function
socket:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -20[rbp], 2
	je	.L2
	cmp	DWORD PTR -20[rbp], 10
	jne	.L9
.L2:
	mov	eax, DWORD PTR -24[rbp]
	movzx	eax, al
	cmp	eax, 1
	jne	.L9
	cmp	DWORD PTR -28[rbp], 0
	je	.L6
	cmp	DWORD PTR -28[rbp], 6
	jne	.L10
.L6:
	mov	DWORD PTR -28[rbp], 262
	jmp	.L5
.L9:
	nop
	jmp	.L5
.L10:
	nop
.L5:
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	mov	edi, 41
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR -4[rbp], eax
	lea	rdi, .LC0[rip]
	call	getenv@PLT
	test	rax, rax
	je	.L7
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	je	.L7
	mov	rax, QWORD PTR stderr[rip]
	mov	r8d, DWORD PTR -24[rbp]
	mov	edi, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -8[rbp]
	sub	rsp, 8
	mov	esi, DWORD PTR -4[rbp]
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L7:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	socket, .-socket
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"176704857.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"MPTCPWRAP_DEBUG\000"
	.align	2
.LC1:
	.ascii	"mptcpwrap: changing socket protocol from 0x%x to 0x"
	.ascii	"%x (IPPROTO_MPTCP) for family 0x%x type 0x%x fd %d\012"
	.ascii	"\000"
	.text
	.align	2
	.global	socket
	.syntax unified
	.arm
	.fpu softvfp
	.type	socket, %function
socket:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L2
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	bne	.L9
.L2:
	ldr	r3, [fp, #-20]
	and	r3, r3, #255
	cmp	r3, #1
	bne	.L9
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-24]
	cmp	r3, #6
	bne	.L10
.L6:
	ldr	r3, .L11
	str	r3, [fp, #-24]
	b	.L5
.L9:
	nop
	b	.L5
.L10:
	nop
.L5:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, .L11+4
	bl	syscall
	str	r0, [fp, #-8]
	ldr	r0, .L11+8
	bl	getenv
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L7
	ldr	r3, .L11+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-20]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	ldr	r1, .L11+16
	bl	fprintf
.L7:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	262
	.word	281
	.word	.LC0
	.word	stderr
	.word	.LC1
	.size	socket, .-socket
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
