	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_error_packet
_handle_error_packet:                   ## @handle_error_packet
	.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	%rsi, %r14
	movl	%edi, %r15d
	movq	%rdx, -80(%rbp)
	movl	%ecx, -72(%rbp)
	leaq	-80(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	callq	_krb5_rd_error
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	leaq	-40(%rbp), %rsi
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	_krb5_error_from_rd_error
	movq	%rax, %rbx
	movq	_KRB5KRB_AP_ERR_SKEW@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_5
## %bb.2:
	movl	-40(%rbp), %r12d
	xorl	%edi, %edi
	callq	_time
	subl	%eax, %r12d
	bswapl	%r12d
	movl	%r12d, -44(%rbp)
	leaq	-44(%rbp), %rax
	movq	%rax, -64(%rbp)
	movl	$4, -56(%rbp)
	movl	8(%r14), %edx
	movl	12(%r14), %esi
	leaq	L_.str(%rip), %rcx
	leaq	-64(%rbp), %r8
	movl	%r15d, %edi
	callq	_krb5_cc_set_config
	movl	(%r14), %eax
	movq	_RETRIED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_4
## %bb.3:
	movq	_INITIATOR_RESTART@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%r14)
LBB0_4:
	orl	%eax, %ecx
	movl	%ecx, (%r14)
LBB0_5:
	leaq	-40(%rbp), %rdi
	callq	_free_KRB_ERROR
LBB0_6:
	movq	%rbx, %rax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5KRB_AP_ERR_SKEW,8,3        ## @KRB5KRB_AP_ERR_SKEW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"time-offset"

	.comm	_RETRIED,4,2                    ## @RETRIED
	.comm	_INITIATOR_RESTART,4,2          ## @INITIATOR_RESTART
	.no_dead_strip	_handle_error_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_error_packet
_handle_error_packet:                   ; @handle_error_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x21, x0
	stp	x2, x3, [sp, #32]
	add	x1, sp, #32
	add	x2, sp, #24
	bl	_krb5_rd_error
	mov	x20, x0
	cbnz	x0, LBB0_6
; %bb.1:
	add	x1, sp, #24
	mov	x0, x21
	mov	x2, #0
	bl	_krb5_error_from_rd_error
	mov	x20, x0
Lloh0:
	adrp	x8, _KRB5KRB_AP_ERR_SKEW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5KRB_AP_ERR_SKEW@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	w22, [sp, #24]
	mov	x0, #0
	bl	_time
	sub	w8, w22, w0
	rev	w8, w8
	str	w8, [sp, #4]
	add	x8, sp, #4
	str	x8, [sp, #8]
	mov	w8, #4
	str	w8, [sp, #16]
	ldp	w2, w1, [x19, #8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	add	x4, sp, #8
	mov	x0, x21
	bl	_krb5_cc_set_config
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _RETRIED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RETRIED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x10, _INITIATOR_RESTART@GOTPAGE
Lloh9:
	ldr	x10, [x10, _INITIATOR_RESTART@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	str	w10, [x19, #4]
LBB0_4:
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_5:
	add	x0, sp, #24
	bl	_free_KRB_ERROR
LBB0_6:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5KRB_AP_ERR_SKEW,8,3        ; @KRB5KRB_AP_ERR_SKEW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"time-offset"

	.comm	_RETRIED,4,2                    ; @RETRIED
	.comm	_INITIATOR_RESTART,4,2          ; @INITIATOR_RESTART
	.no_dead_strip	_handle_error_packet
.subsections_via_symbols
