	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_extend_head                ## -- Begin function xdr_extend_head
	.p2align	4, 0x90
_xdr_extend_head:                       ## @xdr_extend_head
	.cfi_startproc
## %bb.0:
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	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
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_GSS_KRB5_MAX_SLACK_NEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RPC_MAX_AUTH_SIZE@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpl	(%r12), %eax
	seta	%dil
	callq	_BUILD_BUG_ON
	xorl	%edi, %edi
	cmpl	%ebx, (%r12)
	setb	%dil
	callq	_BUG_ON
	movq	8(%r14), %rax
	movl	%r15d, %ecx
	leaq	(,%rcx,4), %rsi
	addq	8(%rax), %rsi
	movl	%ebx, %r15d
	leaq	(%rsi,%r15,4), %rdi
	movq	(%rax), %rdx
	subq	%rcx, %rdx
	callq	_memmove
	movq	8(%r14), %rax
	addq	%r15, (%rax)
	addl	%ebx, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_2:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_KRB5_MAX_SLACK_NEEDED,4,2  ## @GSS_KRB5_MAX_SLACK_NEEDED
	.comm	_RPC_MAX_AUTH_SIZE,4,2          ## @RPC_MAX_AUTH_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_extend_head                ; -- Begin function xdr_extend_head
	.p2align	2
_xdr_extend_head:                       ; @xdr_extend_head
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_2
; %bb.1:
	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, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GSS_KRB5_MAX_SLACK_NEEDED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_KRB5_MAX_SLACK_NEEDED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x22, _RPC_MAX_AUTH_SIZE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _RPC_MAX_AUTH_SIZE@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, w9
	cset	w0, hi
	bl	_BUILD_BUG_ON
	ldr	w8, [x22]
	cmp	w8, w19
	cset	w0, lo
	bl	_BUG_ON
	ldr	x8, [x20, #8]
	ldp	x8, x9, [x8]
	add	x1, x9, w21, uxtw #2
	mov	w22, w19
	add	x0, x1, w19, uxtw #2
	sub	x2, x8, w21, uxtw
	bl	_memmove
	ldr	x8, [x20, #8]
	ldr	x9, [x8]
	add	x9, x9, x22
	str	x9, [x8]
	ldr	w8, [x20]
	add	w8, w8, w19
	str	w8, [x20]
	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
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_KRB5_MAX_SLACK_NEEDED,4,2  ; @GSS_KRB5_MAX_SLACK_NEEDED
	.comm	_RPC_MAX_AUTH_SIZE,4,2          ; @RPC_MAX_AUTH_SIZE
.subsections_via_symbols
