	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svcauth_gss_prepare_to_wrap
_svcauth_gss_prepare_to_wrap:           ## @svcauth_gss_prepare_to_wrap
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	movq	$0, (%rsi)
	movq	-8(%rbx), %rax
	movq	_rpc_success@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movl	8(%rbx), %edi
	callq	_ntohl
	movl	%eax, %edi
	callq	_XDR_QUADLEN
	movslq	%eax, %r13
	leaq	(%rbx,%r13,8), %r15
	addq	$16, %r15
	leaq	(%rbx,%r13,8), %rsi
	addq	$32, %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	16(%rbx,%r13,8), %rax
	cmpq	(%r12), %rax
	jne	LBB0_4
## %bb.2:
	addq	$8, %r15
	jmp	LBB0_6
LBB0_4:
	movq	(%r14), %rax
	addl	$-8, (%rax)
LBB0_5:
	xorl	%r15d, %r15d
LBB0_6:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rpc_success,8,3                ## @rpc_success
	.no_dead_strip	_svcauth_gss_prepare_to_wrap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svcauth_gss_prepare_to_wrap
_svcauth_gss_prepare_to_wrap:           ; @svcauth_gss_prepare_to_wrap
	.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
	mov	x0, #0
	ldr	x20, [x1]
	str	xzr, [x1]
	ldur	x8, [x20, #-8]
Lloh0:
	adrp	x21, _rpc_success@GOTPAGE
Lloh1:
	ldr	x21, [x21, _rpc_success@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_ntohl
	bl	_XDR_QUADLEN
	add	x22, x20, w0, sxtw #3
	add	x20, x22, #16
	add	x1, x22, #32
	mov	x0, x20
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x22, #16]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	add	x0, x20, #8
	b	LBB0_4
LBB0_3:
	mov	x0, #0
	ldr	x8, [x19]
	ldr	w9, [x8]
	sub	w9, w9, #8
	str	w9, [x8]
LBB0_4:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rpc_success,8,3                ; @rpc_success
	.no_dead_strip	_svcauth_gss_prepare_to_wrap
.subsections_via_symbols
