	.file	"extr_mtest.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"can't open socket"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"multicast membership test program; enter ? for list of commands\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15d, edi
	push	r14
	push	r13
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR LINE_LENGTH[rip]
	mov	rcx, rsp
	mov	r14, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L33:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L33
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L34
.L4:
	mov	esi, DWORD PTR EPROTONOSUPPORT[rip]
	lea	rdx, .LC0[rip]
	mov	edi, 1
	mov	r12, rsp
	call	errc@PLT
	cmp	r15d, 1
	jle	.L35
	lea	eax, -2[r15]
	lea	rbx, 8[r13]
	lea	r12, 16[r13+rax*8]
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, QWORD PTR [rbx]
	mov	edx, -1
	mov	esi, -1
	add	rbx, 8
	call	process_file@PLT
	cmp	rbx, r12
	jne	.L12
.L11:
	xor	edi, edi
	call	exit@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L36
	lea	rsp, -40[rbp]
	xor	eax, eax
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L35:
	.cfi_restore_state
	mov	edi, DWORD PTR STDIN_FILENO[rip]
	call	isatty@PLT
	test	rax, rax
	je	.L10
	lea	rdi, .LC1[rip]
	call	printf@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L37:
	mov	ecx, DWORD PTR stdin[rip]
	mov	edx, -1
	mov	esi, -1
	mov	rdi, r12
	call	process_cmd@PLT
.L7:
	mov	edi, DWORD PTR stdin[rip]
	call	feof@PLT
	test	eax, eax
	jne	.L11
.L10:
	mov	edx, DWORD PTR stdin[rip]
	mov	esi, r14d
	mov	rdi, r12
	call	fgets@PLT
	test	rax, rax
	je	.L7
	cmp	BYTE PTR [r12], 102
	jne	.L37
	mov	ebx, 1
	.p2align 4,,10
	.p2align 3
.L8:
	movsx	edi, BYTE PTR [r12+rbx]
	mov	r13d, ebx
	add	rbx, 1
	call	isblank@PLT
	test	rax, rax
	jne	.L8
	mov	esi, 10
	mov	rdi, r12
	call	strchr@PLT
	test	rax, rax
	je	.L9
	mov	BYTE PTR [rax], 0
.L9:
	movsx	rdi, r13d
	or	edx, -1
	or	esi, -1
	add	rdi, r12
	call	process_file@PLT
	jmp	.L7
.L34:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	stdin,4,4
	.comm	errno,8,8
	.comm	STDIN_FILENO,4,4
	.comm	SOCK_DGRAM,4,4
	.comm	LINE_LENGTH,4,4
	.comm	IPPROTO_UDP,4,4
	.comm	EPROTONOSUPPORT,4,4
	.comm	EAFNOSUPPORT,8,8
	.comm	AF_INET6,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_mtest.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"can't open socket\000"
	.align	2
.LC1:
	.ascii	"multicast membership test program; enter ? for list"
	.ascii	" of commands\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #12
	mov	r6, r0
	mov	r4, r1
	ldr	r2, .L31
	ldr	r3, .L31+4
	ldr	r7, [r2]
	ldr	r1, [r3]
	add	r3, r7, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L31+8
	mov	r0, #1
	ldr	r2, .L31+12
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	errc
	cmp	r6, #1
	subgt	r5, r4, #4
	addgt	r5, r5, r6, lsl #2
	ble	.L27
.L10:
	mvn	r2, #0
	ldr	r0, [r4, #4]!
	mov	r1, r2
	bl	process_file
	cmp	r4, r5
	bne	.L10
.L9:
	mov	r0, #0
	bl	exit
	ldr	r3, .L31+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	mov	r0, #0
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L27:
	ldr	r3, .L31+16
	mov	r5, sp
	ldr	r0, [r3]
	bl	isatty
	cmp	r0, #0
	bne	.L29
.L3:
	ldr	r6, .L31+20
	rsb	r9, r5, #1
	b	.L8
.L30:
	mvn	r2, #0
	mov	r0, r5
	mov	r1, r2
	ldr	r3, [r6]
	bl	process_cmd
.L4:
	ldr	r0, [r6]
	bl	feof
	cmp	r0, #0
	bne	.L9
.L8:
	mov	r1, r7
	mov	r0, r5
	ldr	r2, [r6]
	bl	fgets
	cmp	r0, #0
	beq	.L4
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #102
	moveq	r10, r5
	bne	.L30
.L6:
	add	r8, r9, r10
	ldrb	r0, [r10, #1]!	@ zero_extendqisi2
	bl	isblank
	subs	r4, r0, #0
	bne	.L6
	mov	r1, #10
	mov	r0, r5
	bl	strchr
	mvn	r2, #0
	cmp	r0, #0
	strbne	r4, [r0]
	mov	r1, r2
	add	r0, r5, r8
	bl	process_file
	b	.L4
.L29:
	ldr	r0, .L31+24
	bl	printf
	b	.L3
.L28:
	bl	__stack_chk_fail
.L32:
	.align	2
.L31:
	.word	LINE_LENGTH
	.word	EPROTONOSUPPORT
	.word	.LC2
	.word	.LC0
	.word	STDIN_FILENO
	.word	stdin
	.word	.LC1
	.size	main, .-main
	.comm	stdin,4,4
	.comm	errno,4,4
	.comm	STDIN_FILENO,4,4
	.comm	SOCK_DGRAM,4,4
	.comm	LINE_LENGTH,4,4
	.comm	IPPROTO_UDP,4,4
	.comm	EPROTONOSUPPORT,4,4
	.comm	EAFNOSUPPORT,4,4
	.comm	AF_INET6,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
