	.file	"308853.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"pmap_getmaps rpc problem"
	.text
	.globl	pmap_getmaps
	.type	pmap_getmaps, @function
pmap_getmaps:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -56[rbp], 0
	mov	DWORD PTR -60[rbp], -1
	mov	QWORD PTR -48[rbp], 60
	mov	QWORD PTR -40[rbp], 0
	mov	edi, 111
	call	htons@PLT
	mov	rdx, QWORD PTR -72[rbp]
	mov	WORD PTR 2[rdx], ax
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	r9d, 500
	mov	r8d, 50
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 100000
	mov	rdi, rax
	call	clnttcp_create@PLT
	mov	rbx, rax
	test	rbx, rbx
	je	.L2
	mov	rax, QWORD PTR 8[rbx]
	mov	r10, QWORD PTR [rax]
	lea	rax, -56[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	mov	r9, rax
	mov	rax, QWORD PTR xdr_pmaplist@GOTPCREL[rip]
	mov	r8, rax
	mov	ecx, 0
	mov	rax, QWORD PTR xdr_void@GOTPCREL[rip]
	mov	rdx, rax
	mov	esi, 4
	mov	rdi, rbx
	call	r10
	add	rsp, 16
	test	eax, eax
	je	.L3
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	clnt_perror@PLT
.L3:
	mov	rax, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rbx
	call	rax
.L2:
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	WORD PTR 2[rax], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	pmap_getmaps, .-pmap_getmaps
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"308853.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"pmap_getmaps rpc problem\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pmap_getmaps
	.syntax unified
	.arm
	.fpu softvfp
	.type	pmap_getmaps, %function
pmap_getmaps:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	mvn	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #60
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r0, #111
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #28
	mov	r2, #500
	str	r2, [sp, #4]
	mov	r2, #50
	str	r2, [sp]
	mov	r2, #2
	ldr	r1, .L6+4
	ldr	r0, [fp, #-40]
	bl	clnttcp_create
	mov	r4, r0
	cmp	r4, #0
	beq	.L2
	ldr	r3, [r4, #4]
	ldr	r5, [r3]
	add	r2, sp, #8
	sub	r3, fp, #24
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	sub	r3, fp, #32
	str	r3, [sp, #4]
	ldr	r3, .L6+8
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L6+12
	mov	r1, #4
	mov	r0, r4
	blx	r5
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r1, .L6+16
	mov	r0, r4
	bl	clnt_perror
.L3:
	ldr	r3, [r4, #4]
	ldr	r3, [r3, #16]
	mov	r0, r4
	blx	r3
.L2:
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-40]
	mov	r2, #0
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-32]
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.word	100000
	.word	xdr_pmaplist
	.word	xdr_void
	.word	.LC0
	.size	pmap_getmaps, .-pmap_getmaps
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
