	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gss_ntlm_set_key              ## -- Begin function _gss_ntlm_set_key
	.p2align	4, 0x90
__gss_ntlm_set_key:                     ## @_gss_ntlm_set_key
	.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
	movq	%r8, %r13
	movq	%rcx, %r14
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%esi, %esi
	movq	_a2i_sealmagic@GOTPCREL(%rip), %rcx
	cmoveq	_i2a_sealmagic@GOTPCREL(%rip), %rcx
	movq	_a2i_signmagic@GOTPCREL(%rip), %rdx
	cmoveq	_i2a_signmagic@GOTPCREL(%rip), %rdx
	movq	%rax, -48(%rbp)
	movq	(%rcx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r12
	movq	$0, 24(%rdi)
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_create
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_EVP_md5
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_EVP_DigestUpdate
	movq	%r12, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_EVP_DigestUpdate
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_EVP_DigestFinal_ex
	xorl	%eax, %eax
	callq	_EVP_md5
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_EVP_DigestUpdate
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_EVP_DigestUpdate
	leaq	-64(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestFinal_ex
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_destroy
	leaq	8(%r15), %rbx
	movq	%rbx, %rdi
	movl	$16, %esi
	movq	%r14, %rdx
	callq	_RC4_set_key
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	movq	%rbx, 16(%r15)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_a2i_signmagic,8,3              ## @a2i_signmagic
	.comm	_a2i_sealmagic,8,3              ## @a2i_sealmagic
	.comm	_i2a_signmagic,8,3              ## @i2a_signmagic
	.comm	_i2a_sealmagic,8,3              ## @i2a_sealmagic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gss_ntlm_set_key              ; -- Begin function _gss_ntlm_set_key
	.p2align	2
__gss_ntlm_set_key:                     ; @_gss_ntlm_set_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x24, x4
	mov	x23, x3
	mov	x20, x2
	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, #40]
Lloh3:
	adrp	x8, _i2a_sealmagic@GOTPAGE
Lloh4:
	ldr	x8, [x8, _i2a_sealmagic@GOTPAGEOFF]
Lloh5:
	adrp	x9, _a2i_sealmagic@GOTPAGE
Lloh6:
	ldr	x9, [x9, _a2i_sealmagic@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x8, x9, eq
Lloh7:
	adrp	x9, _i2a_signmagic@GOTPAGE
Lloh8:
	ldr	x9, [x9, _i2a_signmagic@GOTPAGEOFF]
	ldr	x22, [x8]
Lloh9:
	adrp	x8, _a2i_signmagic@GOTPAGE
Lloh10:
	ldr	x8, [x8, _a2i_signmagic@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	x25, [x8]
	str	xzr, [x0, #24]
	bl	_EVP_MD_CTX_create
	mov	x21, x0
	bl	_EVP_md5
	mov	x1, x0
	mov	x0, x21
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	stp	x23, x24, [sp]
	mov	x0, x21
	bl	_EVP_DigestUpdate
	mov	x0, x25
	bl	_strlen
	add	w8, w0, #1
	stp	x25, x8, [sp]
	mov	x0, x21
	bl	_EVP_DigestUpdate
	ldr	x1, [x19]
	mov	x0, x21
	mov	x2, #0
	bl	_EVP_DigestFinal_ex
	bl	_EVP_md5
	mov	x1, x0
	mov	x0, x21
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	stp	x23, x24, [sp]
	mov	x0, x21
	bl	_EVP_DigestUpdate
	mov	x0, x22
	bl	_strlen
	add	w8, w0, #1
	stp	x22, x8, [sp]
	mov	x0, x21
	bl	_EVP_DigestUpdate
	add	x1, sp, #24
	mov	x0, x21
	mov	x2, #0
	bl	_EVP_DigestFinal_ex
	mov	x0, x21
	bl	_EVP_MD_CTX_destroy
	add	x21, x19, #8
	add	x2, sp, #24
	mov	x0, x21
	mov	w1, #16
	bl	_RC4_set_key
	cbz	w20, LBB0_2
; %bb.1:
	str	x21, [x19, #16]
LBB0_2:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_a2i_signmagic,8,3              ; @a2i_signmagic
	.comm	_a2i_sealmagic,8,3              ; @a2i_sealmagic
	.comm	_i2a_signmagic,8,3              ; @i2a_signmagic
	.comm	_i2a_sealmagic,8,3              ; @i2a_sealmagic
.subsections_via_symbols
