	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_getmaps                   ## -- Begin function pmap_getmaps
	.p2align	4, 0x90
_pmap_getmaps:                          ## @pmap_getmaps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	movl	$-1, -20(%rbp)
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	movl	$60, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	_PMAPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, (%r14)
	movq	_PMAPPROG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PMAPVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rcx
	movq	%r14, %rdi
	movl	$50, %r8d
	movl	$500, %r9d                      ## imm = 0x1F4
	callq	_clnttcp_create
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_PMAPPROC_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_xdr_void@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_xdr_pmaplist@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movups	-48(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	leaq	-32(%rbp), %r9
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_CLNT_CALL
	movq	_RPC_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_clnt_perror
LBB0_4:
	movq	%rbx, %rdi
	callq	_CLNT_DESTROY
	movq	-32(%rbp), %rax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	movq	$0, (%r14)
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMAPPORT,4,2                   ## @PMAPPORT
	.comm	_PMAPPROG,4,2                   ## @PMAPPROG
	.comm	_PMAPVERS,4,2                   ## @PMAPVERS
	.comm	_PMAPPROC_DUMP,8,3              ## @PMAPPROC_DUMP
	.comm	_xdr_void,8,3                   ## @xdr_void
	.comm	_xdr_pmaplist,8,3               ## @xdr_pmaplist
	.comm	_RPC_SUCCESS,8,3                ## @RPC_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pmap_getmaps rpc problem"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_getmaps                   ; -- Begin function pmap_getmaps
	.p2align	2
_pmap_getmaps:                          ; @pmap_getmaps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [sp, #8]
	mov	w8, #-1
	str	w8, [sp, #4]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x8, _PMAPPORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMAPPORT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	str	x0, [x19]
Lloh3:
	adrp	x8, _PMAPPROG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMAPPROG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _PMAPVERS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PMAPVERS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x3, sp, #4
	mov	x0, x19
	mov	w4, #50
	mov	w5, #500
	bl	_clnttcp_create
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh9:
	adrp	x8, _PMAPPROC_DUMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PMAPPROC_DUMP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _xdr_void@GOTPAGE
Lloh13:
	ldr	x8, [x8, _xdr_void@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _xdr_pmaplist@GOTPAGE
Lloh16:
	ldr	x8, [x8, _xdr_pmaplist@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	add	x5, sp, #8
	mov	x3, #0
	mov	w6, #60
	mov	x7, #0
	bl	_CLNT_CALL
Lloh18:
	adrp	x8, _RPC_SUCCESS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_clnt_perror
LBB0_3:
	mov	x0, x20
	bl	_CLNT_DESTROY
	ldr	x0, [sp, #8]
LBB0_4:
	str	xzr, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_PMAPPORT,4,2                   ; @PMAPPORT
	.comm	_PMAPPROG,4,2                   ; @PMAPPROG
	.comm	_PMAPVERS,4,2                   ; @PMAPVERS
	.comm	_PMAPPROC_DUMP,8,3              ; @PMAPPROC_DUMP
	.comm	_xdr_void,8,3                   ; @xdr_void
	.comm	_xdr_pmaplist,8,3               ; @xdr_pmaplist
	.comm	_RPC_SUCCESS,8,3                ; @RPC_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pmap_getmaps rpc problem"

.subsections_via_symbols
