	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_checksum
_verify_checksum:                       ## @verify_checksum
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movl	%edi, %r14d
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movslq	(%r15), %rdi
	addq	(%rbx), %rdi
	movq	8(%r15), %rsi
	callq	_krb5_storage_from_mem
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	_KRB5_STORAGE_BYTEORDER_LE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_krb5_storage_set_flags
	leaq	-112(%rbp), %rsi
	movq	%r13, %rdi
	callq	_krb5_ret_uint32
	movq	_out@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %esi
	callq	_CHECK
	movq	-112(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	8(%r15), %rbx
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_krb5_storage_seek
	subq	%rax, %rbx
	movq	%rbx, -48(%rbp)
	movq	%rbx, %rdi
	callq	_malloc
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_krb5_storage_read
	cmpl	-48(%rbp), %eax
	jne	LBB0_6
## %bb.8:
	movq	-64(%rbp), %rsi
	movl	%r14d, %edi
	callq	_krb5_checksum_is_keyed
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	-64(%rbp), %rax
	movq	_CKSUMTYPE_HMAC_MD5@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.11:
	leaq	-104(%rbp), %rbx
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_KRB5_KU_OTHER_CKSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r14d, %edi
	movq	%r12, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r9
	callq	_HMAC_MD5_any_checksum
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	leaq	-56(%rbp), %rsi
	leaq	-96(%rbp), %rdi
	callq	_krb5_data_ct_cmp
	testq	%rax, %rax
	je	LBB0_14
LBB0_13:
	movq	_KRB5KRB_AP_ERR_BAD_INTEGRITY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_N_
	movl	%r14d, %edi
	movl	%r15d, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_set_error_message
LBB0_14:
	leaq	-96(%rbp), %rdi
	callq	_krb5_data_free
	jmp	LBB0_17
LBB0_1:
	movl	%r14d, %edi
	callq	_krb5_enomem
	movl	%eax, %r15d
	jmp	LBB0_20
LBB0_3:
	movl	%r14d, %edi
	callq	_krb5_enomem
LBB0_4:
	movl	%eax, %r15d
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %edi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_krb5_set_error_message
	jmp	LBB0_7
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-64(%rbp), %rcx
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %edi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_krb5_set_error_message
LBB0_7:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_18
	jmp	LBB0_19
LBB0_15:
	movq	$0, -104(%rbp)
	leaq	-104(%rbp), %rcx
	movl	%r14d, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_krb5_crypto_init
	testl	%eax, %eax
	jne	LBB0_4
## %bb.16:
	movq	-104(%rbp), %rsi
	movq	_KRB5_KU_OTHER_CKSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %r9
	movl	%r14d, %edi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_krb5_verify_checksum
	movl	%eax, %r15d
	movq	-104(%rbp), %rsi
	movl	%r14d, %edi
	callq	_krb5_crypto_destroy
LBB0_17:
	movq	-56(%rbp), %rdi
LBB0_18:
	callq	_free
LBB0_19:
	movq	%r13, %rdi
	callq	_krb5_storage_free
LBB0_20:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KRB5_STORAGE_BYTEORDER_LE,4,2  ## @KRB5_STORAGE_BYTEORDER_LE
	.comm	_out,4,2                        ## @out
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PAC checksum missing checksum"

L_.str.1:                               ## @.str.1
	.asciz	"Checksum type %d not keyed"

	.comm	_CKSUMTYPE_HMAC_MD5,8,3         ## @CKSUMTYPE_HMAC_MD5
	.comm	_KRB5_KU_OTHER_CKSUM,4,2        ## @KRB5_KU_OTHER_CKSUM
	.comm	_KRB5KRB_AP_ERR_BAD_INTEGRITY,4,2 ## @KRB5KRB_AP_ERR_BAD_INTEGRITY
L_.str.2:                               ## @.str.2
	.asciz	"PAC integrity check failed for hmac-md5 checksum"

L_.str.3:                               ## @.str.3
	.space	1

	.no_dead_strip	_verify_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_checksum
_verify_checksum:                       ; @verify_checksum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x5
	mov	x21, x4
	mov	x22, x3
	mov	x19, x2
	mov	x24, x1
	mov	x20, x0
	add	x25, sp, #32
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x8, [x19]
	ldrsw	x9, [x24]
	add	x0, x8, x9
	ldr	x1, [x24, #8]
	bl	_krb5_storage_from_mem
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _KRB5_STORAGE_BYTEORDER_LE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_STORAGE_BYTEORDER_LE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_krb5_storage_set_flags
	add	x1, sp, #56
	mov	x0, x19
	bl	_krb5_ret_uint32
Lloh3:
	adrp	x8, _out@GOTPAGE
Lloh4:
	ldr	x8, [x8, _out@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_CHECK
	ldr	x8, [sp, #56]
	str	x8, [sp, #32]
	ldr	x24, [x24, #8]
Lloh6:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_krb5_storage_seek
	sub	x24, x24, x0
	str	x24, [sp, #48]
	mov	x0, x24
	bl	_malloc
	str	x0, [sp, #40]
	cbz	x0, LBB0_10
; %bb.2:
	mov	x1, x0
	mov	x0, x19
	mov	x2, x24
	bl	_krb5_storage_read
	ldr	w8, [sp, #48]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.3:
	ldr	x1, [sp, #32]
	mov	x0, x20
	bl	_krb5_checksum_is_keyed
	cbz	w0, LBB0_13
; %bb.4:
	ldr	x8, [sp, #32]
Lloh9:
	adrp	x9, _CKSUMTYPE_HMAC_MD5@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CKSUMTYPE_HMAC_MD5@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.5:
	add	x24, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh12:
	adrp	x8, _KRB5_KU_OTHER_CKSUM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KRB5_KU_OTHER_CKSUM@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	add	x5, sp, #8
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_HMAC_MD5_any_checksum
	cbnz	w0, LBB0_7
; %bb.6:
	add	x1, x25, #8
	add	x0, x24, #8
	bl	_krb5_data_ct_cmp
	cbz	x0, LBB0_22
LBB0_7:
Lloh15:
	adrp	x8, _KRB5KRB_AP_ERR_BAD_INTEGRITY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KRB5KRB_AP_ERR_BAD_INTEGRITY@GOTPAGEOFF]
Lloh17:
	ldr	w23, [x8]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_krb5_set_error_message
LBB0_8:
	add	x8, sp, #8
	add	x0, x8, #8
	bl	_krb5_data_free
	b	LBB0_21
LBB0_9:
	mov	x0, x20
	bl	_krb5_enomem
	mov	x23, x0
	b	LBB0_18
LBB0_10:
	mov	x0, x20
	bl	_krb5_enomem
LBB0_11:
	mov	x23, x0
	b	LBB0_15
LBB0_12:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w23, [x8]
Lloh25:
	adrp	x2, l_.str@PAGE
Lloh26:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh27:
	adrp	x8, _EINVAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh29:
	ldr	w23, [x8]
	ldr	x8, [sp, #32]
	str	x8, [sp]
Lloh30:
	adrp	x2, l_.str.1@PAGE
Lloh31:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_14:
	mov	x0, x20
	mov	x1, x23
	bl	_krb5_set_error_message
LBB0_15:
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_17
LBB0_16:
	bl	_free
LBB0_17:
	mov	x0, x19
	bl	_krb5_storage_free
LBB0_18:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_19:
	str	xzr, [sp, #8]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x23
	mov	w2, #0
	bl	_krb5_crypto_init
	cbnz	w0, LBB0_11
; %bb.20:
	ldr	x1, [sp, #8]
Lloh32:
	adrp	x8, _KRB5_KU_OTHER_CKSUM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _KRB5_KU_OTHER_CKSUM@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	add	x5, sp, #32
	mov	x0, x20
	mov	x3, x22
	mov	x4, x21
	bl	_krb5_verify_checksum
	mov	x23, x0
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_krb5_crypto_destroy
LBB0_21:
	ldr	x0, [sp, #40]
	b	LBB0_16
LBB0_22:
	mov	w23, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_KRB5_STORAGE_BYTEORDER_LE,4,2  ; @KRB5_STORAGE_BYTEORDER_LE
	.comm	_out,4,2                        ; @out
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PAC checksum missing checksum"

l_.str.1:                               ; @.str.1
	.asciz	"Checksum type %d not keyed"

	.comm	_CKSUMTYPE_HMAC_MD5,8,3         ; @CKSUMTYPE_HMAC_MD5
	.comm	_KRB5_KU_OTHER_CKSUM,4,2        ; @KRB5_KU_OTHER_CKSUM
	.comm	_KRB5KRB_AP_ERR_BAD_INTEGRITY,4,2 ; @KRB5KRB_AP_ERR_BAD_INTEGRITY
l_.str.2:                               ; @.str.2
	.asciz	"PAC integrity check failed for hmac-md5 checksum"

l_.str.3:                               ; @.str.3
	.space	1

	.no_dead_strip	_verify_checksum
.subsections_via_symbols
