	.file	"extr_nettest.c_set_multicast_if.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"setsockopt(IP_MULTICAST_IF)"
	.text
	.p2align 4
	.type	set_multicast_if, @function
set_multicast_if:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8d, 4
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR IP_MULTICAST_IF[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], esi
	mov	esi, DWORD PTR SOL_IP[rip]
	lea	rcx, 4[rsp]
	call	setsockopt@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L6
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	log_err_errno@PLT
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	set_multicast_if, .-set_multicast_if
	.comm	SOL_IP,4,4
	.comm	IP_MULTICAST_IF,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_nettest.c_set_multicast_if.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"setsockopt(IP_MULTICAST_IF)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_multicast_if, %function
set_multicast_if:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	ip, r1
	mov	lr, #4
	sub	sp, sp, #16
	ldr	r3, .L8
	ldr	r2, .L8+4
	str	lr, [sp]
	str	ip, [sp, #8]
	ldr	ip, .L8+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	add	r3, sp, #8
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	setsockopt
	subs	r4, r0, #0
	blt	.L6
.L1:
	ldr	r3, .L8+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L6:
	ldr	r0, .L8+12
	bl	log_err_errno
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	SOL_IP
	.word	IP_MULTICAST_IF
	.word	.LC1
	.word	.LC0
	.size	set_multicast_if, .-set_multicast_if
	.comm	SOL_IP,4,4
	.comm	IP_MULTICAST_IF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
