	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pac_checksum
_pac_checksum:                          ## @pac_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%edi, %r12d
	movq	$0, -40(%rbp)
	leaq	-40(%rbp), %rcx
	xorl	%edx, %edx
	callq	_krb5_crypto_init
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movl	%r12d, %edi
	callq	_krb5_crypto_get_checksum_type
	movq	%rax, %rbx
	movq	-40(%rbp), %rsi
	movl	%r12d, %edi
	callq	_krb5_crypto_destroy
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.2:
	movq	-48(%rbp), %rsi
	movl	%r12d, %edi
	callq	_krb5_checksum_is_keyed
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_CKSUMTYPE_HMAC_MD5@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	$16, (%r15)
LBB0_4:
	movq	-48(%rbp), %rsi
	movl	%r12d, %edi
	movq	%r15, %rdx
	callq	_krb5_checksumsize
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	-48(%rbp), %rax
	movq	%rax, (%r14)
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_CKSUMTYPE_HMAC_MD5,8,3         ## @CKSUMTYPE_HMAC_MD5
	.no_dead_strip	_pac_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pac_checksum
_pac_checksum:                          ; @pac_checksum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x3
	mov	x19, x2
	mov	x21, x0
	str	xzr, [sp]
	mov	x3, sp
	mov	w2, #0
	bl	_krb5_crypto_init
	mov	x22, x0
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	x1, [sp]
	add	x2, sp, #8
	mov	x0, x21
	bl	_krb5_crypto_get_checksum_type
	mov	x22, x0
	ldr	x1, [sp]
	mov	x0, x21
	bl	_krb5_crypto_destroy
	cbnz	x22, LBB0_6
; %bb.2:
	ldr	x1, [sp, #8]
	mov	x0, x21
	bl	_krb5_checksum_is_keyed
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _CKSUMTYPE_HMAC_MD5@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CKSUMTYPE_HMAC_MD5@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	w8, #16
	str	x8, [x20]
LBB0_4:
	ldr	x1, [sp, #8]
	mov	x0, x21
	mov	x2, x20
	bl	_krb5_checksumsize
	mov	x22, x0
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x8, [sp, #8]
	str	x8, [x19]
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_CKSUMTYPE_HMAC_MD5,8,3         ; @CKSUMTYPE_HMAC_MD5
	.no_dead_strip	_pac_checksum
.subsections_via_symbols
