	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpcb_enc_mapping
_rpcb_enc_mapping:                      ## @rpcb_enc_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movl	8(%rax), %esi
	movq	(%rax), %rax
	movl	(%rax), %edx
	movl	12(%rbx), %ecx
	movl	8(%rbx), %r8d
	movl	(%rbx), %eax
	movl	4(%rbx), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_xdr_init_encode
	movq	_RPCB_mappingargs_sz@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$3, %esi
	movq	%r12, %rdi
	callq	_xdr_reserve_space
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movl	12(%rbx), %edi
	callq	_htonl
	movq	%rax, (%r14)
	movl	8(%rbx), %edi
	callq	_htonl
	movq	%rax, 8(%r14)
	movl	4(%rbx), %edi
	callq	_htonl
	movq	%rax, 16(%r14)
	movl	(%rbx), %edi
	callq	_htonl
	movq	%rax, 24(%r14)
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC: %5u encoding PMAP_%s call (%u, %u, %d, %u)\n"

	.comm	_RPCB_mappingargs_sz,4,2        ## @RPCB_mappingargs_sz
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_rpcb_enc_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpcb_enc_mapping
_rpcb_enc_mapping:                      ; @rpcb_enc_mapping
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	w1, [x8, #8]
	ldr	x8, [x8]
	ldr	w2, [x8]
	ldp	w4, w3, [x19, #8]
	ldp	w6, w5, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x20
	bl	_xdr_init_encode
Lloh2:
	adrp	x8, _RPCB_mappingargs_sz@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RPCB_mappingargs_sz@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w1, w8, #3
	add	x0, sp, #8
	bl	_xdr_reserve_space
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #12]
	bl	_htonl
	str	x0, [x20]
	ldr	w0, [x19, #8]
	bl	_htonl
	str	x0, [x20, #8]
	ldr	w0, [x19, #4]
	bl	_htonl
	str	x0, [x20, #16]
	ldr	w0, [x19]
	bl	_htonl
	mov	x8, x0
	mov	w0, #0
	str	x8, [x20, #24]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC: %5u encoding PMAP_%s call (%u, %u, %d, %u)\n"

	.comm	_RPCB_mappingargs_sz,4,2        ; @RPCB_mappingargs_sz
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_rpcb_enc_mapping
.subsections_via_symbols
