	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_rpc_gss_check_replay
_svc_rpc_gss_check_replay:              ## @svc_rpc_gss_check_replay
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_sx_xlock
	movq	(%rbx), %rcx
	cmpq	%r15, %rcx
	jge	LBB0_1
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	subl	%r15d, %ecx
	movq	_SVC_RPC_GSS_SEQWINDOW@GOTPCREL(%rip), %rdx
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rdx)
	jle	LBB0_4
## %bb.2:
	leal	31(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$5, %edx
	movq	8(%rbx), %rsi
	movslq	%edx, %rdx
	movl	(%rsi,%rdx,4), %edx
	btl	%ecx, %edx
	jae	LBB0_3
LBB0_4:
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_sx_xunlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVC_RPC_GSS_SEQWINDOW,4,2      ## @SVC_RPC_GSS_SEQWINDOW
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_svc_rpc_gss_check_replay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_rpc_gss_check_replay
_svc_rpc_gss_check_replay:              ; @svc_rpc_gss_check_replay
	.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	x21, x1
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_sx_xlock
	ldr	x8, [x20]
	cmp	x8, x21
	b.ge	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh2:
	adrp	x9, _SVC_RPC_GSS_SEQWINDOW@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SVC_RPC_GSS_SEQWINDOW@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	sub	w8, w8, w21
	cmp	w9, w8
	b.le	LBB0_4
; %bb.3:
	add	w9, w8, #31
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #5
	ldr	x10, [x20, #8]
	ldr	w9, [x10, w9, sxtw #2]
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_1
LBB0_4:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_5:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_sx_xunlock
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SVC_RPC_GSS_SEQWINDOW,4,2      ; @SVC_RPC_GSS_SEQWINDOW
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_svc_rpc_gss_check_replay
.subsections_via_symbols
