	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_krb5_get_seq_num               ## -- Begin function krb5_get_seq_num
	.p2align	4, 0x90
_krb5_get_seq_num:                      ## @krb5_get_seq_num
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	(%rbx), %rax
	movq	_ENCTYPE_ARCFOUR_HMAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.2:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_krb5_get_rc4_seq_num           ## TAILCALL
LBB0_3:
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	$8, %r8d
	callq	_krb5_decrypt
	testl	%eax, %eax
	jne	LBB0_9
## %bb.4:
	movb	-52(%rbp), %al
	cmpb	-51(%rbp), %al
	jne	LBB0_7
## %bb.5:
	cmpb	-50(%rbp), %al
	jne	LBB0_7
## %bb.6:
	cmpb	-49(%rbp), %al
	jne	LBB0_7
## %bb.8:
	movzbl	%al, %eax
	movl	%eax, (%r15)
	movb	-56(%rbp), %al
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	_KG_BAD_SEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       krb5_get_seq_num:\n"

	.comm	_ENCTYPE_ARCFOUR_HMAC,8,3       ## @ENCTYPE_ARCFOUR_HMAC
	.comm	_KG_BAD_SEQ,4,2                 ## @KG_BAD_SEQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_krb5_get_seq_num               ; -- Begin function krb5_get_seq_num
	.p2align	2
_krb5_get_seq_num:                      ; @krb5_get_seq_num
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	x24, [x0, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	ldr	x8, [x23]
Lloh5:
	adrp	x9, _ENCTYPE_ARCFOUR_HMAC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ENCTYPE_ARCFOUR_HMAC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.2:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_krb5_get_rc4_seq_num
LBB0_3:
	mov	x3, sp
	mov	x0, x24
	mov	x1, x22
	mov	x2, x21
	mov	w4, #8
	bl	_krb5_decrypt
	cbnz	w0, LBB0_7
; %bb.4:
	ldrb	w8, [sp, #4]
	ldrb	w9, [sp, #5]
	ldrb	w10, [sp, #6]
	ldrb	w11, [sp, #7]
	cmp	w8, w9
	ccmp	w8, w10, #0, eq
	ccmp	w8, w11, #0, eq
	b.eq	LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _KG_BAD_SEQ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KG_BAD_SEQ@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	str	w8, [x20]
	ldrb	w8, [sp]
	strb	w8, [x19]
LBB0_7:
	ldr	x8, [sp, #8]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       krb5_get_seq_num:\n"

	.comm	_ENCTYPE_ARCFOUR_HMAC,8,3       ; @ENCTYPE_ARCFOUR_HMAC
	.comm	_KG_BAD_SEQ,4,2                 ; @KG_BAD_SEQ
.subsections_via_symbols
