	.file	"extr_rpc_demo.c_server.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"afternoon"
.LC1:
	.string	"evening"
.LC2:
	.string	"morning"
.LC3:
	.string	"night"
.LC4:
	.string	"Good %s, %s."
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC5:
	.string	"I'm sorry, your name is too long.  But good %s anyway."
	.section	.rodata.str1.1
.LC6:
	.string	"nn_socket: %s\n"
.LC7:
	.string	"nn_bind: %s\n"
.LC8:
	.string	"nn_recv: %s\n"
.LC9:
	.string	"nn_send: %s (ignoring)\n"
	.text
	.p2align 4
	.globl	server
	.type	server, @function
server:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 296
	.cfi_def_cfa_offset 352
	mov	esi, DWORD PTR NN_REP[rip]
	mov	edi, DWORD PTR AF_SP[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 280[rsp], rax
	xor	eax, eax
	call	nn_socket@PLT
	test	eax, eax
	js	.L20
	mov	rsi, rbp
	mov	edi, eax
	lea	rbp, 16[rsp]
	mov	r12d, eax
	call	nn_bind@PLT
	lea	r13, .LC2[rip]
	test	rax, rax
	js	.L21
	.p2align 4,,10
	.p2align 3
.L4:
	xor	ecx, ecx
	mov	edx, 128
	mov	rsi, rbp
	mov	edi, r12d
	call	nn_recv@PLT
	movsx	rbx, eax
	test	ebx, ebx
	js	.L22
	xor	edi, edi
	mov	r14, r13
	call	time@PLT
	lea	rdi, 12[rsp]
	mov	DWORD PTR 12[rsp], eax
	call	localtime@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	jle	.L6
	lea	r14, .LC0[rip]
	cmp	eax, 16
	jle	.L6
	cmp	eax, 20
	lea	r14, .LC3[rip]
	lea	rax, .LC1[rip]
	cmovl	r14, rax
.L6:
	cmp	ebx, 127
	jg	.L7
	mov	BYTE PTR 16[rsp+rbx], 0
.L8:
	mov	rdi, rbp
	lea	r15, 144[rsp]
	call	strlen@PLT
	mov	rdi, r14
	mov	ebx, eax
	call	strlen@PLT
	lea	rdi, .LC4[rip]
	add	ebx, eax
	call	strlen@PLT
	mov	rcx, rbp
	mov	rdx, r14
	mov	rdi, r15
	add	ebx, eax
	lea	rsi, .LC4[rip]
	lea	rax, .LC5[rip]
	cmp	ebx, 128
	cmovnb	rsi, rax
	call	sprintf@PLT
	mov	rdi, r15
	call	strlen@PLT
	xor	ecx, ecx
	mov	rsi, r15
	mov	edi, r12d
	mov	edx, eax
	call	nn_send@PLT
	test	eax, eax
	jns	.L4
	xor	eax, eax
	call	nn_errno@PLT
	mov	edi, eax
	call	nn_strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdx, rax
	call	fprintf@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	BYTE PTR 143[rsp], 0
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L22:
	xor	eax, eax
	call	nn_errno@PLT
	mov	edi, eax
	call	nn_strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdx, rax
	call	fprintf@PLT
	mov	edi, r12d
	call	nn_close@PLT
.L3:
	mov	rax, QWORD PTR 280[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 296
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, -1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	xor	eax, eax
	call	nn_errno@PLT
	mov	edi, eax
	call	nn_strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdx, rax
	call	fprintf@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L21:
	xor	eax, eax
	call	nn_errno@PLT
	mov	edi, eax
	call	nn_strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdx, rax
	call	fprintf@PLT
	mov	edi, r12d
	call	nn_close@PLT
	jmp	.L3
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	server, .-server
	.comm	stderr,4,4
	.comm	NN_REP,4,4
	.comm	AF_SP,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_rpc_demo.c_server.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"afternoon\000"
	.align	2
.LC1:
	.ascii	"evening\000"
	.align	2
.LC2:
	.ascii	"morning\000"
	.align	2
.LC3:
	.ascii	"night\000"
	.align	2
.LC4:
	.ascii	"Good %s, %s.\000"
	.align	2
.LC5:
	.ascii	"I'm sorry, your name is too long.  But good %s anyw"
	.ascii	"ay.\000"
	.align	2
.LC6:
	.ascii	"nn_socket: %s\012\000"
	.align	2
.LC7:
	.ascii	"nn_bind: %s\012\000"
	.align	2
.LC8:
	.ascii	"nn_recv: %s\012\000"
	.align	2
.LC9:
	.ascii	"nn_send: %s (ignoring)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	server
	.syntax unified
	.arm
	.fpu softvfp
	.type	server, %function
server:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r2, .L23
	ldr	r1, .L23+4
	ldr	r3, .L23+8
	sub	sp, sp, #268
	mov	r5, r0
	ldr	r1, [r1]
	ldr	r0, [r2]
	ldr	r3, [r3]
	str	r3, [sp, #260]
	mov	r3,#0
	bl	nn_socket
	subs	r4, r0, #0
	blt	.L20
	mov	r1, r5
	bl	nn_bind
	cmp	r0, #0
	blt	.L17
	ldr	r8, .L23+12
	ldr	r7, .L23+16
	ldr	fp, .L23+20
	ldr	r6, .L23+24
	ldr	r5, .L23+28
.L4:
	mov	r3, #0
	mov	r2, #128
	mov	r0, r4
	add	r1, sp, #4
	bl	nn_recv
	subs	r10, r0, #0
	blt	.L21
	mov	r0, #0
	bl	time
	mov	r2, r0
	mov	r0, sp
	str	r2, [sp]
	bl	localtime
	ldr	r2, [r0]
	cmp	r2, #11
	movle	r9, r7
	ble	.L6
	cmp	r2, #16
	movle	r9, fp
	ble	.L6
	ldr	r3, .L23+32
	cmp	r2, #19
	ldr	r9, .L23+36
	movgt	r9, r3
.L6:
	cmp	r10, #127
	movle	r1, #0
	movgt	r3, #0
	addle	r3, sp, #264
	addle	r0, r3, r10
	strble	r1, [r0, #-260]
	add	r0, sp, #4
	strbgt	r3, [sp, #131]
	bl	strlen
	mov	r10, r0
	mov	r0, r9
	bl	strlen
	add	r1, r10, r0
	cmp	r1, #115
	movle	r1, r6
	movgt	r1, r5
	mov	r2, r9
	add	r3, sp, #4
	add	r0, sp, #132
	bl	sprintf
	add	r0, sp, #132
	bl	strlen
	mov	r3, #0
	mov	r2, r0
	add	r1, sp, #132
	mov	r0, r4
	bl	nn_send
	cmp	r0, #0
	bge	.L4
	ldr	r9, [r8]
	bl	nn_errno
	bl	nn_strerror
	ldr	r1, .L23+40
	mov	r2, r0
	mov	r0, r9
	bl	fprintf
	b	.L4
.L21:
	ldr	r5, [r8]
	bl	nn_errno
	bl	nn_strerror
	ldr	r1, .L23+44
	mov	r2, r0
	mov	r0, r5
	bl	fprintf
	mov	r0, r4
	bl	nn_close
.L3:
	ldr	r3, .L23+8
	ldr	r2, [r3]
	ldr	r3, [sp, #260]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mvn	r0, #0
	add	sp, sp, #268
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	ldr	r3, .L23+12
	ldr	r4, [r3]
	bl	nn_errno
	bl	nn_strerror
	ldr	r1, .L23+48
	mov	r2, r0
	mov	r0, r4
	bl	fprintf
	b	.L3
.L17:
	ldr	r3, .L23+12
	ldr	r5, [r3]
	bl	nn_errno
	bl	nn_strerror
	ldr	r1, .L23+52
	mov	r2, r0
	mov	r0, r5
	bl	fprintf
	mov	r0, r4
	bl	nn_close
	b	.L3
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	AF_SP
	.word	NN_REP
	.word	.LC10
	.word	stderr
	.word	.LC2
	.word	.LC0
	.word	.LC4
	.word	.LC5
	.word	.LC3
	.word	.LC1
	.word	.LC9
	.word	.LC8
	.word	.LC6
	.word	.LC7
	.size	server, .-server
	.comm	stderr,4,4
	.comm	NN_REP,4,4
	.comm	AF_SP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
