	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gsskrb5_verify_mic_internal   ## -- Begin function _gsskrb5_verify_mic_internal
	.p2align	4, 0x90
__gsskrb5_verify_mic_internal:          ## @_gsskrb5_verify_mic_internal
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_IS_CFX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_1
## %bb.13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__gssapi_verify_mic_cfx         ## TAILCALL
LBB0_1:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %r12
	movq	%r12, %rdi
	callq	_HEIMDAL_MUTEX_lock
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	__gsskrb5i_get_token_key
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_HEIMDAL_MUTEX_unlock
	testq	%r15, %r15
	je	LBB0_4
## %bb.2:
	movq	%r15, (%r14)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_3
LBB0_4:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	$0, (%r14)
	movq	-56(%rbp), %rax
	movl	(%rax), %esi
	leaq	-60(%rbp), %rdx
	movl	%r13d, %edi
	callq	_krb5_enctype_to_keytype
	movl	-60(%rbp), %eax
	leal	-130(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_11
## %bb.5:
	cmpl	$128, %eax
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	je	LBB0_9
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_12
## %bb.7:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_8
LBB0_11:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	pushq	%r15
	pushq	-56(%rbp)
	callq	__gssapi_verify_mic_arcfour
	jmp	LBB0_10
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	pushq	%r15
	pushq	-56(%rbp)
	callq	_verify_mic_des3
LBB0_10:
	addq	$16, %rsp
	movq	%rax, %rbx
LBB0_8:
	movq	-56(%rbp), %rsi
	movl	%r13d, %edi
	callq	_krb5_free_keyblock
LBB0_3:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_CFX,4,2                     ## @IS_CFX
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gsskrb5_verify_mic_internal   ; -- Begin function _gsskrb5_verify_mic_internal
	.p2align	2
__gsskrb5_verify_mic_internal:          ; @_gsskrb5_verify_mic_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x5
	mov	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x24, x1
	mov	x25, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _IS_CFX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IS_CFX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x19
	mov	x3, x23
	mov	x4, x22
	mov	x5, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	__gssapi_verify_mic_cfx
LBB0_2:
	mov	x21, x6
	add	x27, x24, #4
	mov	x0, x27
	bl	_HEIMDAL_MUTEX_lock
	add	x2, sp, #8
	mov	x0, x24
	mov	x1, x19
	bl	__gsskrb5i_get_token_key
	mov	x26, x0
	mov	x0, x27
	bl	_HEIMDAL_MUTEX_unlock
	cbz	x26, LBB0_4
; %bb.3:
	str	x26, [x25]
Lloh3:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	b	LBB0_12
LBB0_4:
	str	xzr, [x25]
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	add	x2, sp, #4
	mov	x0, x19
	bl	_krb5_enctype_to_keytype
	ldr	w8, [sp, #4]
	sub	w9, w8, #130
	cmp	w9, #2
	b.lo	LBB0_8
; %bb.5:
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.6:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.7:
Lloh6:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	b	LBB0_11
LBB0_8:
	ldr	x6, [sp, #8]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x19
	mov	x3, x23
	mov	x4, x22
	mov	x5, x20
	mov	x7, x21
	bl	__gssapi_verify_mic_arcfour
	b	LBB0_10
LBB0_9:
	ldr	x6, [sp, #8]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x19
	mov	x3, x23
	mov	x4, x22
	mov	x5, x20
	mov	x7, x21
	bl	_verify_mic_des3
LBB0_10:
	mov	x20, x0
LBB0_11:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_krb5_free_keyblock
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_CFX,4,2                     ; @IS_CFX
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
.subsections_via_symbols
