	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gss_verify_header
_gss_verify_header:                     ## @gss_verify_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rsi), %r15
	movq	8(%rdi), %r14
	movq	%rdx, -88(%rbp)
	movq	8(%r14), %rax
	subq	%rdx, %rax
	shrq	$2, %rax
	movl	%eax, -96(%rbp)
	leaq	-96(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_xdr_buf_from_iov
	movq	_rpc_autherr_badverf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	_SVC_DENIED@GOTPCREL(%rip), %rax
	cmpl	$4, (%r14)
	jge	LBB0_2
## %bb.1:
	movq	%rax, %r14
	jmp	LBB0_6
LBB0_2:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_svc_getnl
	movq	_RPC_AUTH_GSS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_svc_safe_getnetobj
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	movq	_SVC_DENIED@GOTPCREL(%rip), %r14
LBB0_6:
	movl	(%r14), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_SVC_OK@GOTPCREL(%rip), %r14
	cmpq	$0, (%rbx)
	jne	LBB0_6
## %bb.8:
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_gss_verify_mic
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:
	movq	(%r12), %rsi
	movq	_MAXSEQ@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jle	LBB0_13
## %bb.10:
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	_rpcsec_gsserr_ctxproblem@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_rpcsec_gsserr_credproblem@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	movl	%eax, (%r13)
	jmp	LBB0_5
LBB0_13:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_gss_check_seq_num
	testl	%eax, %eax
	jne	LBB0_6
## %bb.14:
	movq	(%r12), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_dprintk
	movq	_SVC_DROP@GOTPCREL(%rip), %r14
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_rpc_autherr_badverf,4,2        ## @rpc_autherr_badverf
	.comm	_SVC_DENIED,4,2                 ## @SVC_DENIED
	.comm	_RPC_AUTH_GSS,8,3               ## @RPC_AUTH_GSS
	.comm	_SVC_OK,4,2                     ## @SVC_OK
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_rpcsec_gsserr_credproblem,4,2  ## @rpcsec_gsserr_credproblem
	.comm	_MAXSEQ,8,3                     ## @MAXSEQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       svcauth_gss: discarding request with large sequence number %d\n"

	.comm	_rpcsec_gsserr_ctxproblem,4,2   ## @rpcsec_gsserr_ctxproblem
L_.str.1:                               ## @.str.1
	.asciz	"RPC:       svcauth_gss: discarding request with old sequence number %d\n"

	.comm	_SVC_DROP,4,2                   ## @SVC_DROP
	.no_dead_strip	_gss_verify_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gss_verify_header
_gss_verify_header:                     ; @gss_verify_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x1
	mov	x23, x0
	ldr	x22, [x1]
	ldr	x24, [x0, #8]
	str	x2, [sp, #8]
	ldr	x8, [x24, #8]
	sub	x8, x8, x2
	lsr	x8, x8, #2
	str	w8, [sp]
	mov	x0, sp
	add	x1, sp, #24
	bl	_xdr_buf_from_iov
Lloh0:
	adrp	x8, _rpc_autherr_badverf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rpc_autherr_badverf@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w8, [x24]
	cmp	w8, #4
	b.lt	LBB0_3
; %bb.1:
	mov	x0, x24
	bl	_svc_getnl
Lloh3:
	adrp	x8, _RPC_AUTH_GSS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RPC_AUTH_GSS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	add	x1, sp, #16
	mov	x0, x24
	bl	_svc_safe_getnetobj
	cbz	x0, LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _SVC_DENIED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVC_DENIED@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	ldr	x8, [x23]
	cbz	x8, LBB0_7
LBB0_6:
Lloh8:
	adrp	x8, _SVC_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SVC_OK@GOTPAGEOFF]
	b	LBB0_4
LBB0_7:
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x22
	bl	_gss_verify_mic
Lloh10:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.8:
	ldr	x1, [x20]
Lloh13:
	adrp	x8, _MAXSEQ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MAXSEQ@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x1, x8
	b.le	LBB0_12
; %bb.9:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
Lloh18:
	adrp	x8, _rpcsec_gsserr_ctxproblem@GOTPAGE
Lloh19:
	ldr	x8, [x8, _rpcsec_gsserr_ctxproblem@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh20:
	adrp	x8, _rpcsec_gsserr_credproblem@GOTPAGE
Lloh21:
	ldr	x8, [x8, _rpcsec_gsserr_credproblem@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_3
LBB0_12:
	mov	x0, x21
	bl	_gss_check_seq_num
	cbnz	w0, LBB0_6
; %bb.13:
	ldr	x1, [x20]
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
Lloh24:
	adrp	x8, _SVC_DROP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SVC_DROP@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_rpc_autherr_badverf,4,2        ; @rpc_autherr_badverf
	.comm	_SVC_DENIED,4,2                 ; @SVC_DENIED
	.comm	_RPC_AUTH_GSS,8,3               ; @RPC_AUTH_GSS
	.comm	_SVC_OK,4,2                     ; @SVC_OK
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_rpcsec_gsserr_credproblem,4,2  ; @rpcsec_gsserr_credproblem
	.comm	_MAXSEQ,8,3                     ; @MAXSEQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       svcauth_gss: discarding request with large sequence number %d\n"

	.comm	_rpcsec_gsserr_ctxproblem,4,2   ; @rpcsec_gsserr_ctxproblem
l_.str.1:                               ; @.str.1
	.asciz	"RPC:       svcauth_gss: discarding request with old sequence number %d\n"

	.comm	_SVC_DROP,4,2                   ; @SVC_DROP
	.no_dead_strip	_gss_verify_header
.subsections_via_symbols
