	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gss_verify_mic_v1
_gss_verify_mic_v1:                     ## @gss_verify_mic_v1
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_GSS_KRB5_MAX_CKSUM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movl	%ebx, -72(%rbp)
	movq	%rax, -64(%rbp)
	movq	8(%r12), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	leaq	32(%r15), %rdi
	movl	(%r12), %ecx
	leaq	-76(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_g_verify_token_header
	movq	_GSS_S_DEFECTIVE_TOKEN@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	jne	LBB0_21
## %bb.1:
	movq	-48(%rbp), %rsi
	movq	_KG_TOK_MIC_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$8, %ecx
	cmpb	%cl, (%rsi)
	jne	LBB0_21
## %bb.2:
	cmpb	%al, 1(%rsi)
	jne	LBB0_21
## %bb.3:
	movzwl	2(%rsi), %ecx
	movq	16(%r15), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_21
## %bb.4:
	movzwl	4(%rsi), %ecx
	movq	_SEAL_ALG_NONE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_21
## %bb.5:
	cmpb	$-1, 6(%rsi)
	jne	LBB0_21
## %bb.6:
	cmpb	$-1, 7(%rsi)
	jne	LBB0_21
## %bb.7:
	cmpq	$0, 8(%rax)
	je	LBB0_8
## %bb.9:
	movq	24(%r15), %r9
	jmp	LBB0_10
LBB0_8:
	xorl	%r9d, %r9d
LBB0_10:
	movq	_KG_USAGE_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-72(%rbp), %rbx
	movq	%r15, %rdi
	movl	$8, %edx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	pushq	%rbx
	pushq	%rax
	callq	_make_checksum
	addq	$16, %rsp
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	jne	LBB0_21
## %bb.11:
	movq	-64(%rbp), %rdi
	movq	_GSS_KRB5_TOK_HDR_LEN@GOTPCREL(%rip), %r12
	movslq	(%r12), %rsi
	addq	-48(%rbp), %rsi
	movq	16(%r15), %rax
	movl	4(%rax), %edx
	callq	_memcmp
	movq	_GSS_S_BAD_SIG@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r14, %rbx
	jmp	LBB0_21
LBB0_13:
	xorl	%eax, %eax
	callq	_get_seconds
	cmpq	(%r15), %rax
	jle	LBB0_15
## %bb.14:
	movq	_GSS_S_CONTEXT_EXPIRED@GOTPCREL(%rip), %rbx
	jmp	LBB0_21
LBB0_15:
	movq	-48(%rbp), %rdx
	movslq	(%r12), %rsi
	addq	%rdx, %rsi
	addq	$8, %rdx
	leaq	-52(%rbp), %rcx
	leaq	-80(%rbp), %r8
	movq	%r15, %rdi
	callq	_krb5_get_seq_num
	testq	%rax, %rax
	jne	LBB0_21
## %bb.16:
	movq	8(%r15), %rax
	movl	-52(%rbp), %ecx
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%r14, %rbx
	cmpl	$255, %ecx
	jne	LBB0_21
LBB0_18:
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdx
	testl	%ecx, %ecx
	je	LBB0_20
## %bb.19:
	movq	_GSS_S_BAD_SIG@GOTPCREL(%rip), %rdx
LBB0_20:
	testq	%rax, %rax
	cmoveq	%rdx, %rbx
LBB0_21:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_23
## %bb.22:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_KRB5_MAX_CKSUM_LEN,4,2     ## @GSS_KRB5_MAX_CKSUM_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       krb5_read_token\n"

	.comm	_GSS_S_DEFECTIVE_TOKEN,4,2      ## @GSS_S_DEFECTIVE_TOKEN
	.comm	_KG_TOK_MIC_MSG,4,2             ## @KG_TOK_MIC_MSG
	.comm	_SEAL_ALG_NONE,4,2              ## @SEAL_ALG_NONE
	.comm	_KG_USAGE_SIGN,4,2              ## @KG_USAGE_SIGN
	.comm	_GSS_S_FAILURE,4,2              ## @GSS_S_FAILURE
	.comm	_GSS_KRB5_TOK_HDR_LEN,4,2       ## @GSS_KRB5_TOK_HDR_LEN
	.comm	_GSS_S_BAD_SIG,4,2              ## @GSS_S_BAD_SIG
	.comm	_GSS_S_CONTEXT_EXPIRED,4,2      ## @GSS_S_CONTEXT_EXPIRED
	.comm	_GSS_S_COMPLETE,4,2             ## @GSS_S_COMPLETE
	.no_dead_strip	_gss_verify_mic_v1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gss_verify_mic_v1
_gss_verify_mic_v1:                     ; @gss_verify_mic_v1
	.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
	sub	sp, sp, #48
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _GSS_KRB5_MAX_CKSUM_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_KRB5_MAX_CKSUM_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x9, x9, x10
	mov	sp, x9
	stur	w8, [x29, #-56]
	stur	x9, [x29, #-48]
	ldr	x8, [x2, #8]
	stur	x8, [x29, #-72]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	add	x0, x19, #32
	ldr	w3, [x21]
	sub	x1, x29, #76
	sub	x2, x29, #72
	bl	_g_verify_token_header
	cbnz	x0, LBB0_7
; %bb.1:
	ldur	x1, [x29, #-72]
	ldrb	w9, [x1]
Lloh10:
	adrp	x8, _KG_TOK_MIC_MSG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KG_TOK_MIC_MSG@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	lsr	w10, w8, #8
	cmp	w9, w10, uxtb
	b.ne	LBB0_7
; %bb.2:
	ldrb	w9, [x1, #1]
	cmp	w9, w8, uxtb
	b.ne	LBB0_7
; %bb.3:
	ldrh	w9, [x1, #2]
	ldr	x8, [x19, #16]
	ldr	w10, [x8]
	cmp	w9, w10
	b.ne	LBB0_7
; %bb.4:
	ldrh	w9, [x1, #4]
Lloh13:
	adrp	x10, _SEAL_ALG_NONE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _SEAL_ALG_NONE@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_7
; %bb.5:
	ldrb	w9, [x1, #6]
	cmp	w9, #255
	b.ne	LBB0_7
; %bb.6:
	ldrb	w9, [x1, #7]
	cmp	w9, #255
	b.eq	LBB0_10
LBB0_7:
Lloh16:
	adrp	x8, _GSS_S_DEFECTIVE_TOKEN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GSS_S_DEFECTIVE_TOKEN@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.9:
	sub	sp, x29, #32
	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
LBB0_10:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	x5, [x19, #24]
	b	LBB0_13
LBB0_12:
	mov	x5, #0
LBB0_13:
Lloh21:
	adrp	x8, _KG_USAGE_SIGN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _KG_USAGE_SIGN@GOTPAGEOFF]
Lloh23:
	ldr	w6, [x8]
	sub	x7, x29, #56
	mov	x0, x19
	mov	w2, #8
	mov	x3, x20
	mov	w4, #0
	bl	_make_checksum
	cbz	x0, LBB0_15
LBB0_14:
Lloh24:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
	b	LBB0_8
LBB0_15:
	ldur	x0, [x29, #-48]
	ldur	x8, [x29, #-72]
Lloh26:
	adrp	x20, _GSS_KRB5_TOK_HDR_LEN@GOTPAGE
Lloh27:
	ldr	x20, [x20, _GSS_KRB5_TOK_HDR_LEN@GOTPAGEOFF]
	ldrsw	x9, [x20]
	add	x1, x8, x9
	ldr	x8, [x19, #16]
	ldr	w2, [x8, #4]
	bl	_memcmp
	cbz	x0, LBB0_17
; %bb.16:
Lloh28:
	adrp	x8, _GSS_S_BAD_SIG@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GSS_S_BAD_SIG@GOTPAGEOFF]
	b	LBB0_8
LBB0_17:
	bl	_get_seconds
	ldr	x8, [x19]
	cmp	x0, x8
	b.le	LBB0_19
; %bb.18:
Lloh30:
	adrp	x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGEOFF]
	b	LBB0_8
LBB0_19:
	ldur	x8, [x29, #-72]
	ldrsw	x9, [x20]
	add	x1, x8, x9
	add	x2, x8, #8
	sub	x3, x29, #60
	sub	x4, x29, #64
	mov	x0, x19
	bl	_krb5_get_seq_num
	cbnz	x0, LBB0_14
; %bb.20:
	ldr	x9, [x19, #8]
	ldur	w10, [x29, #-60]
Lloh32:
	adrp	x8, _GSS_S_BAD_SIG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GSS_S_BAD_SIG@GOTPAGEOFF]
	cbz	x9, LBB0_22
; %bb.21:
	cmp	w10, #255
	b.ne	LBB0_8
LBB0_22:
	cmp	w10, #0
	ccmp	x9, #0, #0, ne
Lloh34:
	adrp	x9, _GSS_S_COMPLETE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _GSS_S_COMPLETE@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	b	LBB0_8
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_KRB5_MAX_CKSUM_LEN,4,2     ; @GSS_KRB5_MAX_CKSUM_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       krb5_read_token\n"

	.comm	_GSS_S_DEFECTIVE_TOKEN,4,2      ; @GSS_S_DEFECTIVE_TOKEN
	.comm	_KG_TOK_MIC_MSG,4,2             ; @KG_TOK_MIC_MSG
	.comm	_SEAL_ALG_NONE,4,2              ; @SEAL_ALG_NONE
	.comm	_KG_USAGE_SIGN,4,2              ; @KG_USAGE_SIGN
	.comm	_GSS_S_FAILURE,4,2              ; @GSS_S_FAILURE
	.comm	_GSS_KRB5_TOK_HDR_LEN,4,2       ; @GSS_KRB5_TOK_HDR_LEN
	.comm	_GSS_S_BAD_SIG,4,2              ; @GSS_S_BAD_SIG
	.comm	_GSS_S_CONTEXT_EXPIRED,4,2      ; @GSS_S_CONTEXT_EXPIRED
	.comm	_GSS_S_COMPLETE,4,2             ; @GSS_S_COMPLETE
	.no_dead_strip	_gss_verify_mic_v1
.subsections_via_symbols
