	.file	"extr_svc_dg.c_svc_dg_recv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	svc_dg_recv, @function
svc_dg_recv:
.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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 8[rsp], rsi
	lea	r12, 28[rsp]
	lea	rbp, 40[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	su_data@PLT
	mov	r15, rax
	lea	rax, 16[rax]
	mov	QWORD PTR [rsp], rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rax, QWORD PTR EINTR[rip]
	cmp	QWORD PTR errno[rip], rax
	jne	.L21
.L2:
	mov	rdi, rbx
	mov	DWORD PTR 28[rsp], 8
	mov	r13, QWORD PTR 24[r15]
	mov	r14d, DWORD PTR 32[r15]
	call	rpc_buffer@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	mov	edi, DWORD PTR 4[rbx]
	mov	rcx, rbp
	push	QWORD PTR 8[rsp]
	.cfi_def_cfa_offset 144
	mov	edx, r14d
	mov	esi, eax
	mov	r9, r13
	mov	r8, r12
	call	svc_dg_recvfrom@PLT
	pop	rdx
	.cfi_def_cfa_offset 136
	pop	rcx
	.cfi_def_cfa_offset 128
	cmp	eax, -1
	je	.L23
	cmp	eax, 15
	jle	.L21
	mov	esi, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR 28[rsp]
	cmp	esi, edx
	jl	.L7
	mov	rdi, QWORD PTR 16[rbx]
.L8:
	mov	rsi, rbp
	lea	r12, 36[r15]
	call	memcpy@PLT
	mov	eax, DWORD PTR XDR_DECODE[rip]
	xor	esi, esi
	mov	rdi, r12
	mov	DWORD PTR 36[r15], eax
	call	XDR_SETPOS@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, r12
	call	xdr_callmsg@PLT
	test	eax, eax
	je	.L21
	mov	rsi, QWORD PTR 8[rsp]
	cmp	QWORD PTR [r15], 0
	mov	eax, DWORD PTR [rsi]
	mov	DWORD PTR 8[r15], eax
	je	.L11
	lea	rcx, 48[rsp]
	lea	rdx, 32[rsp]
	mov	rdi, rbx
	call	cache_get@PLT
	test	rax, rax
	jne	.L24
.L11:
	mov	eax, DWORD PTR TRUE[rip]
	jmp	.L1
.L24:
	mov	edi, DWORD PTR 4[rbx]
	mov	r9d, DWORD PTR 28[rsp]
	mov	r8, rbp
	xor	ecx, ecx
	mov	rdx, QWORD PTR 48[rsp]
	mov	rsi, QWORD PTR 32[rsp]
	call	_sendto@PLT
	.p2align 4,,10
	.p2align 3
.L21:
	mov	eax, DWORD PTR FALSE[rip]
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L25
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L7:
	.cfi_restore_state
	test	esi, esi
	jne	.L26
.L9:
	mov	edi, edx
	call	mem_alloc@PLT
	mov	edx, DWORD PTR 28[rsp]
	mov	QWORD PTR 16[rbx], rax
	mov	rdi, rax
	mov	DWORD PTR 8[rbx], edx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rdi, QWORD PTR 16[rbx]
	call	mem_free@PLT
	mov	edx, DWORD PTR 28[rsp]
	jmp	.L9
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	svc_dg_recv, .-svc_dg_recv
	.comm	errno,8,8
	.comm	XDR_DECODE,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	EINTR,8,8
	.comm	AF_INET,8,8
	.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_svc_dg.c_svc_dg_recv.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	svc_dg_recv, %function
svc_dg_recv:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L30
	sub	sp, sp, #52
	str	r1, [sp, #20]
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	mov	r5, r0
	bl	su_data
	mov	r8, #4
	mov	r4, r0
	ldr	r10, .L30+4
	ldr	r9, .L30+8
	add	r7, r0, #8
	add	r6, sp, #36
	b	.L2
.L26:
	ldr	r2, [r10]
	ldr	r3, [r9]
	cmp	r2, r3
	bne	.L24
.L2:
	mov	r0, r5
	ldr	fp, [r5, #4]
	str	r8, [sp, #36]
	bl	rpc_buffer
	ldr	ip, [r4, #16]
	str	r7, [sp, #8]
	ldr	r3, [r4, #12]
	mov	r1, r0
	str	r3, [sp, #4]
	mov	r0, fp
	mov	r2, ip
	str	r6, [sp]
	add	r3, sp, #32
	bl	svc_dg_recvfrom
	cmn	r0, #1
	beq	.L26
	cmp	r0, #15
	ble	.L24
	ldr	r1, [r5, #8]
	ldr	r2, [sp, #36]
	cmp	r1, r2
	blt	.L7
	ldr	r0, [r5, #12]
.L8:
	add	r1, sp, #32
	bl	memcpy
	ldr	r3, .L30+12
	add	r6, r4, #20
	ldr	r3, [r3]
	mov	r1, #0
	str	r3, [r4, #20]
	mov	r0, r6
	bl	XDR_SETPOS
	mov	r0, r6
	ldr	r1, [sp, #20]
	bl	xdr_callmsg
	cmp	r0, #0
	beq	.L24
	ldr	r1, [sp, #20]
	ldr	r2, [r4]
	ldr	r3, [r1]
	cmp	r2, #0
	str	r3, [r4, #4]
	beq	.L11
	mov	r0, r5
	add	r3, sp, #40
	add	r2, sp, #28
	bl	cache_get
	cmp	r0, #0
	bne	.L27
.L11:
	ldr	r3, .L30+16
	ldr	r0, [r3]
	b	.L1
.L27:
	ldr	r3, [sp, #36]
	add	r2, sp, #32
	str	r2, [sp]
	ldr	r0, [r5, #4]
	ldr	r2, [sp, #40]
	str	r3, [sp, #4]
	ldr	r1, [sp, #28]
	mov	r3, #0
	bl	_sendto
.L24:
	ldr	r3, .L30+20
	ldr	r0, [r3]
.L1:
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	cmp	r1, #0
	bne	.L29
.L9:
	mov	r0, r2
	bl	mem_alloc
	ldr	r2, [sp, #36]
	str	r0, [r5, #12]
	str	r2, [r5, #8]
	b	.L8
.L29:
	ldr	r0, [r5, #12]
	bl	mem_free
	ldr	r2, [sp, #36]
	b	.L9
.L28:
	bl	__stack_chk_fail
.L31:
	.align	2
.L30:
	.word	.LC0
	.word	errno
	.word	EINTR
	.word	XDR_DECODE
	.word	TRUE
	.word	FALSE
	.size	svc_dg_recv, .-svc_dg_recv
	.comm	errno,4,4
	.comm	XDR_DECODE,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	EINTR,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
