	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_encode_header
_rpc_encode_header:                     ## @rpc_encode_header
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	24(%rdi), %r12
	movq	16(%rdi), %r15
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movl	8(%rdi), %edi
	callq	_xprt_skip_transport_header
	movq	%rax, %rbx
	movl	12(%r15), %eax
	movl	%eax, (%rbx)
	movq	_RPC_CALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movl	%eax, 4(%rbx)
	movq	_RPC_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movl	%eax, 8(%rbx)
	movl	4(%r12), %edi
	callq	_htonl
	movl	%eax, 12(%rbx)
	movl	(%r12), %edi
	callq	_htonl
	movl	%eax, 16(%rbx)
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_htonl
	movl	%eax, 20(%rbx)
	addq	$24, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rpcauth_marshcred
	movq	%rax, %rbx
	movq	(%r15), %rdi
	movq	%rax, %rsi
	callq	_xdr_adjust_iovec
	movl	%eax, 8(%r15)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPC_CALL,4,2                   ## @RPC_CALL
	.comm	_RPC_VERSION,4,2                ## @RPC_VERSION
	.no_dead_strip	_rpc_encode_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_encode_header
_rpc_encode_header:                     ; @rpc_encode_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldp	x21, x22, [x0, #16]
	ldr	x8, [x21]
	ldr	x1, [x8]
	ldr	w0, [x0, #8]
	bl	_xprt_skip_transport_header
	mov	x20, x0
	ldr	w8, [x21, #12]
	str	w8, [x0]
Lloh0:
	adrp	x8, _RPC_CALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPC_CALL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htonl
	str	w0, [x20, #4]
Lloh3:
	adrp	x8, _RPC_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RPC_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htonl
	str	w0, [x20, #8]
	ldr	w0, [x22, #4]
	bl	_htonl
	str	w0, [x20, #12]
	ldr	w0, [x22]
	bl	_htonl
	str	w0, [x20, #16]
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_htonl
	add	x1, x20, #24
	str	w0, [x20, #20]
	mov	x0, x19
	bl	_rpcauth_marshcred
	mov	x19, x0
	ldr	x0, [x21]
	mov	x1, x19
	bl	_xdr_adjust_iovec
	str	w0, [x21, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RPC_CALL,4,2                   ; @RPC_CALL
	.comm	_RPC_VERSION,4,2                ; @RPC_VERSION
	.no_dead_strip	_rpc_encode_header
.subsections_via_symbols
