	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mic_des3
_mic_des3:                              ## @mic_des3
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, %r12
	movl	%edx, %r14d
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_GSS_KRB5_MECHANISM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leaq	-136(%rbp), %rsi
	leaq	-128(%rbp), %rdx
	movl	$36, %edi
	callq	__gsskrb5_encap_length
	movq	-128(%rbp), %rdi
	movq	%rdi, (%r13)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_malloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	-136(%rbp), %rsi
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	callq	__gsskrb5_make_header
	movq	%rax, %rbx
	leaq	l_.str.1(%rip), %rsi
	movq	%rax, %rdi
	movl	$2, %edx
	callq	_memcpy
	leaq	2(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	(%r12), %edi
	addl	$8, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	leaq	-2(%rbx), %rsi
	movq	%rax, %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	%r15, %rdi
	addq	$8, %rdi
	movq	8(%r12), %rsi
	movl	(%r12), %edx
	callq	_memcpy
	leaq	-68(%rbp), %rcx
	movl	%r14d, %edi
	movq	16(%rbp), %rsi
	xorl	%edx, %edx
	callq	_krb5_crypto_init
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r14
	movq	8(%r13), %rdi
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_8
LBB0_1:
	movq	$0, (%r13)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_3:
	movq	8(%r13), %rdi
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_8
LBB0_6:
	movl	%r14d, %ecx
	movl	-68(%rbp), %esi
	movq	_KRB5_KU_USAGE_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %r9d
	addl	$8, %r9d
	leaq	-152(%rbp), %rax
	movq	%rax, (%rsp)
	movl	%r14d, %r12d
	movl	%ecx, %edi
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_krb5_create_checksum
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_free
	movl	-68(%rbp), %esi
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	callq	_krb5_crypto_destroy
	testq	%r14, %r14
	jne	LBB0_7
## %bb.9:
	leaq	14(%rbx), %r12
	movq	-152(%rbp), %rsi
	movl	-144(%rbp), %edx
	movq	%r12, %rdi
	callq	_memcpy
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	leaq	4(%r15), %rdi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	callq	_HEIMDAL_MUTEX_lock
	movl	8(%r15), %esi
	leaq	-72(%rbp), %rdx
	movl	-84(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_krb5_auth_con_getlocalseqnumber
	movl	-72(%rbp), %eax
	movl	%eax, -56(%rbp)
	movq	_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r15), %eax
	leaq	-52(%rbp), %rdi
	movl	$255, %eax
	movl	$0, %esi
	cmovel	%eax, %esi
	movl	$4, %edx
	callq	_memset
	movq	_ETYPE_DES3_CBC_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-68(%rbp), %rcx
	movl	%r14d, %edi
	movq	16(%rbp), %rsi
	callq	_krb5_crypto_init
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %r14
LBB0_7:
	movq	8(%r13), %rdi
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
LBB0_8:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_17:
	movq	%r14, (%r15)
	movq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.18:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r12, %rsi
	movl	-84(%rbp), %r12d                ## 4-byte Reload
	movq	_COMPAT_OLD_DES3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_13
## %bb.12:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	jmp	LBB0_14
LBB0_13:
	leaq	-64(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
LBB0_14:
	movl	-68(%rbp), %esi
	movq	_KRB5_KU_USAGE_SEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-56(%rbp), %rcx
	leaq	-112(%rbp), %r9
	movl	%r12d, %edi
	movl	$8, %r8d
	callq	_krb5_encrypt_ivec
	movq	%rax, %r14
	movl	-68(%rbp), %esi
	movl	%r12d, %edi
	callq	_krb5_crypto_destroy
	testq	%r14, %r14
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_16
## %bb.15:
	movq	8(%r13), %rdi
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	addq	$6, %rbx
	xorl	%edi, %edi
	cmpl	$8, -112(%rbp)
	sete	%dil
	callq	_assert
	movq	-104(%rbp), %rsi
	movl	-112(%rbp), %edx
	movq	%rbx, %rdi
	callq	_memcpy
	leaq	-112(%rbp), %rdi
	callq	_krb5_data_free
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %esi
	movl	-72(%rbp), %edx
	incl	%edx
	movl	%edx, -72(%rbp)
	movl	%r12d, %edi
	callq	_krb5_auth_con_setlocalseqnumber
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_HEIMDAL_MUTEX_unlock
	leaq	-152(%rbp), %rdi
	callq	_free_Checksum
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_KRB5_MECHANISM,4,2         ## @GSS_KRB5_MECHANISM
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\001\001"

	.section	__TEXT,__const
l_.str.1:                               ## @.str.1
	.asciz	"\004\000"

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"\377\377\377\377"

	.comm	_KRB5_KU_USAGE_SIGN,4,2         ## @KRB5_KU_USAGE_SIGN
	.comm	_LOCAL,4,2                      ## @LOCAL
	.comm	_ETYPE_DES3_CBC_NONE,4,2        ## @ETYPE_DES3_CBC_NONE
	.comm	_COMPAT_OLD_DES3,4,2            ## @COMPAT_OLD_DES3
	.comm	_KRB5_KU_USAGE_SEQ,4,2          ## @KRB5_KU_USAGE_SEQ
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.no_dead_strip	_mic_des3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mic_des3
_mic_des3:                              ; @mic_des3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x24, x6
	mov	x20, x5
	mov	x25, x4
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
Lloh3:
	adrp	x23, _GSS_KRB5_MECHANISM@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GSS_KRB5_MECHANISM@GOTPAGEOFF]
	ldr	w3, [x23]
	add	x1, sp, #40
	add	x2, sp, #32
	mov	w0, #36
	bl	__gsskrb5_encap_length
	ldr	x0, [sp, #32]
	str	x0, [x20]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_malloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x1, [sp, #40]
	ldr	w3, [x23]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	__gsskrb5_make_header
	mov	x23, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #2
	bl	_memcpy
	add	x0, x23, #2
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x25]
	add	w0, w8, #8
	bl	_malloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x27, x0
	sub	x1, x23, #2
	mov	w2, #8
	bl	_memcpy
	add	x0, x27, #8
	ldr	x1, [x25, #8]
	ldr	w2, [x25]
	bl	_memcpy
	add	x3, sp, #28
	mov	x0, x21
	mov	x1, x24
	mov	w2, #0
	bl	_krb5_crypto_init
	cbz	x0, LBB0_9
; %bb.3:
	mov	x26, x0
	ldr	x0, [x20, #8]
	bl	_free
	stp	xzr, xzr, [x20]
	mov	x0, x27
	bl	_free
	b	LBB0_6
LBB0_4:
	ldr	x0, [x20, #8]
	bl	_free
	str	xzr, [x20, #8]
LBB0_5:
	str	xzr, [x20]
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	x26, [x8]
LBB0_6:
Lloh14:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
LBB0_7:
	str	x26, [x19]
	ldr	x0, [x8]
	ldr	x8, [sp, #88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.8:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_9:
	ldr	w1, [sp, #28]
Lloh19:
	adrp	x8, _KRB5_KU_USAGE_SIGN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _KRB5_KU_USAGE_SIGN@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	ldr	w8, [x25]
	add	w5, w8, #8
	add	x6, sp, #56
	mov	x0, x21
	mov	w3, #0
	mov	x4, x27
	bl	_krb5_create_checksum
	mov	x26, x0
	mov	x0, x27
	bl	_free
	ldr	w1, [sp, #28]
	mov	x0, x21
	bl	_krb5_crypto_destroy
	cbnz	x26, LBB0_16
; %bb.10:
	add	x27, x23, #14
	ldr	x1, [sp, #56]
	ldr	w2, [sp, #64]
	mov	x0, x27
	bl	_memcpy
	add	x25, x22, #4
	mov	x0, x25
	bl	_HEIMDAL_MUTEX_lock
	ldr	w1, [x22, #8]
	add	x2, sp, #52
	mov	x0, x21
	bl	_krb5_auth_con_getlocalseqnumber
	ldr	w8, [sp, #52]
	str	w8, [sp, #80]
	add	x8, sp, #80
	add	x0, x8, #4
	ldr	w8, [x22]
Lloh22:
	adrp	x9, _LOCAL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _LOCAL@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #255
	csel	w1, w8, wzr, eq
	mov	w2, #4
	bl	_memset
Lloh25:
	adrp	x8, _ETYPE_DES3_CBC_NONE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ETYPE_DES3_CBC_NONE@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	add	x3, sp, #28
	mov	x0, x21
	mov	x1, x24
	bl	_krb5_crypto_init
	cbz	x0, LBB0_12
; %bb.11:
	mov	x26, x0
	b	LBB0_16
LBB0_12:
	ldr	w8, [x22]
Lloh28:
	adrp	x9, _COMPAT_OLD_DES3@GOTPAGE
Lloh29:
	ldr	x9, [x9, _COMPAT_OLD_DES3@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	add	x0, sp, #72
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	b	LBB0_15
LBB0_14:
	mov	x1, x27
	mov	w2, #8
	bl	_memcpy
LBB0_15:
	ldr	w1, [sp, #28]
Lloh31:
	adrp	x8, _KRB5_KU_USAGE_SEQ@GOTPAGE
Lloh32:
	ldr	x8, [x8, _KRB5_KU_USAGE_SEQ@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	add	x3, sp, #80
	add	x5, sp, #8
	add	x6, sp, #72
	mov	x0, x21
	mov	w4, #8
	bl	_krb5_encrypt_ivec
	mov	x26, x0
	ldr	w1, [sp, #28]
	mov	x0, x21
	bl	_krb5_crypto_destroy
	cbz	x26, LBB0_17
LBB0_16:
	ldr	x0, [x20, #8]
	bl	_free
	stp	xzr, xzr, [x20]
	b	LBB0_6
LBB0_17:
	add	x20, x23, #6
	ldr	w8, [sp, #8]
	cmp	w8, #8
	cset	w0, eq
	bl	_assert
	ldr	x1, [sp, #16]
	ldr	w2, [sp, #8]
	mov	x0, x20
	bl	_memcpy
	add	x0, sp, #8
	bl	_krb5_data_free
	ldr	w1, [x22, #8]
	ldr	w8, [sp, #52]
	add	w2, w8, #1
	str	w2, [sp, #52]
	mov	x0, x21
	bl	_krb5_auth_con_setlocalseqnumber
	mov	x0, x25
	bl	_HEIMDAL_MUTEX_unlock
	add	x0, sp, #56
	bl	_free_Checksum
Lloh34:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_7
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_KRB5_MECHANISM,4,2         ; @GSS_KRB5_MECHANISM
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\001\001"

	.section	__TEXT,__const
l_.str.1:                               ; @.str.1
	.asciz	"\004\000"

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"\377\377\377\377"

	.comm	_KRB5_KU_USAGE_SIGN,4,2         ; @KRB5_KU_USAGE_SIGN
	.comm	_LOCAL,4,2                      ; @LOCAL
	.comm	_ETYPE_DES3_CBC_NONE,4,2        ; @ETYPE_DES3_CBC_NONE
	.comm	_COMPAT_OLD_DES3,4,2            ; @COMPAT_OLD_DES3
	.comm	_KRB5_KU_USAGE_SEQ,4,2          ; @KRB5_KU_USAGE_SEQ
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.no_dead_strip	_mic_des3
.subsections_via_symbols
