	.file	"extr_network-socket.c_network_socket_connect_setopts.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: getsockname() failed: %s (%d)"
	.align 8
.LC1:
	.string	"%s: network_address_refresh_name() failed"
	.text
	.p2align 4
	.globl	network_socket_connect_setopts
	.type	network_socket_connect_setopts, @function
network_socket_connect_setopts:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8d, 4
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 8[rdi]
	mov	edx, DWORD PTR TCP_NODELAY[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	esi, DWORD PTR IPPROTO_TCP[rip]
	lea	r12, 4[rsp]
	mov	DWORD PTR 4[rsp], 1
	mov	rcx, r12
	call	setsockopt@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	rcx, r12
	mov	edx, DWORD PTR SO_KEEPALIVE[rip]
	mov	esi, DWORD PTR SOL_SOCKET[rip]
	mov	r8d, 4
	mov	DWORD PTR 4[rsp], 1
	call	setsockopt@PLT
	mov	rdx, QWORD PTR [rbx]
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, 4[rdx]
	call	getsockname@PLT
	cmp	eax, -1
	je	.L10
	mov	rdi, QWORD PTR [rbx]
	call	network_address_refresh_name@PLT
	test	rax, rax
	jne	.L11
.L3:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	mov	eax, DWORD PTR NETWORK_SOCKET_SUCCESS[rip]
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR G_STRLOC[rip]
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	g_debug@PLT
	mov	rdi, QWORD PTR [rbx]
	call	network_address_reset@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r12d, DWORD PTR errno[rip]
	mov	edi, r12d
	call	g_strerror@PLT
	mov	esi, DWORD PTR G_STRLOC[rip]
	mov	ecx, r12d
	lea	rdi, .LC0[rip]
	mov	edx, eax
	xor	eax, eax
	call	g_debug@PLT
	mov	rdi, QWORD PTR [rbx]
	call	network_address_reset@PLT
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	network_socket_connect_setopts, .-network_socket_connect_setopts
	.comm	errno,4,4
	.comm	TCP_NODELAY,4,4
	.comm	SO_KEEPALIVE,4,4
	.comm	SOL_SOCKET,4,4
	.comm	NETWORK_SOCKET_SUCCESS,4,4
	.comm	IP_TOS,4,4
	.comm	IPPROTO_TCP,4,4
	.comm	IPPROTO_IP,4,4
	.comm	G_STRLOC,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_network-socket.c_network_socket_connect_setopts.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: getsockname() failed: %s (%d)\000"
	.align	2
.LC1:
	.ascii	"%s: network_address_refresh_name() failed\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	network_socket_connect_setopts
	.syntax unified
	.arm
	.fpu softvfp
	.type	network_socket_connect_setopts, %function
network_socket_connect_setopts:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, #4
	mov	r5, #1
	mov	r4, r0
	sub	sp, sp, #16
	ldr	r3, .L13
	ldr	r2, .L13+4
	ldr	ip, .L13+8
	ldr	r0, [r0, #4]
	str	r6, [sp]
	ldr	r1, [r3]
	ldr	r2, [r2]
	add	r3, sp, #8
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	str	r5, [sp, #8]
	bl	setsockopt
	ldr	r2, .L13+12
	ldr	r1, .L13+16
	str	r6, [sp]
	ldr	r2, [r2]
	ldr	r1, [r1]
	add	r3, sp, #8
	ldr	r0, [r4, #4]
	str	r5, [sp, #8]
	bl	setsockopt
	ldr	r2, [r4]
	ldr	r0, [r4, #4]
	add	r1, r2, r6
	bl	getsockname
	cmn	r0, #1
	beq	.L10
	ldr	r0, [r4]
	bl	network_address_refresh_name
	cmp	r0, #0
	bne	.L11
.L3:
	ldr	r3, .L13+20
	ldr	r0, [r3]
	ldr	r3, .L13+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r3, .L13+24
	ldr	r0, .L13+28
	ldr	r1, [r3]
	bl	g_debug
	ldr	r0, [r4]
	bl	network_address_reset
	b	.L3
.L10:
	ldr	r5, .L13+32
	ldr	r3, .L13+24
	ldr	r0, [r5]
	ldr	r6, [r3]
	bl	g_strerror
	mov	r1, r6
	mov	r2, r0
	ldr	r3, [r5]
	ldr	r0, .L13+36
	bl	g_debug
	ldr	r0, [r4]
	bl	network_address_reset
	b	.L3
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	IPPROTO_TCP
	.word	TCP_NODELAY
	.word	.LC2
	.word	SO_KEEPALIVE
	.word	SOL_SOCKET
	.word	NETWORK_SOCKET_SUCCESS
	.word	G_STRLOC
	.word	.LC1
	.word	errno
	.word	.LC0
	.size	network_socket_connect_setopts, .-network_socket_connect_setopts
	.comm	errno,4,4
	.comm	TCP_NODELAY,4,4
	.comm	SO_KEEPALIVE,4,4
	.comm	SOL_SOCKET,4,4
	.comm	NETWORK_SOCKET_SUCCESS,4,4
	.comm	IP_TOS,4,4
	.comm	IPPROTO_TCP,4,4
	.comm	IPPROTO_IP,4,4
	.comm	G_STRLOC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
