	.file	"extr_lwan-socket.c_setup_socket_from_systemd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Passed file descriptor is not a listening TCP socket"
	.text
	.p2align 4
	.type	setup_socket_from_systemd, @function
setup_socket_from_systemd:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, DWORD PTR SD_LISTEN_FDS_START[rip]
	xor	r8d, r8d
	mov	ecx, 1
	mov	edx, DWORD PTR SOCK_STREAM[rip]
	mov	esi, DWORD PTR AF_UNSPEC[rip]
	mov	edi, ebp
	call	sd_is_socket_inet@PLT
	test	eax, eax
	je	.L5
	mov	edi, ebp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	set_socket_flags@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	lwan_status_critical@PLT
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	set_socket_flags@PLT
	.cfi_endproc
.LFE0:
	.size	setup_socket_from_systemd, .-setup_socket_from_systemd
	.comm	SOCK_STREAM,4,4
	.comm	SD_LISTEN_FDS_START,4,4
	.comm	AF_UNSPEC,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_lwan-socket.c_setup_socket_from_systemd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Passed file descriptor is not a listening TCP socke"
	.ascii	"t\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup_socket_from_systemd, %function
setup_socket_from_systemd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, #0
	push	{r4, lr}
	ldr	r3, .L6
	sub	sp, sp, #8
	ldr	r4, [r3]
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	str	r1, [sp]
	ldr	r1, [r3]
	mov	r0, r4
	mov	r3, #1
	ldr	r2, [r2]
	bl	sd_is_socket_inet
	cmp	r0, #0
	beq	.L5
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, lr}
	b	set_socket_flags
.L5:
	ldr	r0, .L6+12
	bl	lwan_status_critical
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, lr}
	b	set_socket_flags
.L7:
	.align	2
.L6:
	.word	SD_LISTEN_FDS_START
	.word	SOCK_STREAM
	.word	AF_UNSPEC
	.word	.LC0
	.size	setup_socket_from_systemd, .-setup_socket_from_systemd
	.comm	SOCK_STREAM,4,4
	.comm	SD_LISTEN_FDS_START,4,4
	.comm	AF_UNSPEC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
