	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_sasl_name
_make_sasl_name:                        ## @make_sasl_name
	.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	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	(%rsi), %eax
	cmpl	$127, %eax
	jle	LBB0_2
## %bb.1:
	movq	_GSS_S_BAD_MECH@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	$6, -40(%rbp)
	movl	%eax, -36(%rbp)
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_create
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_EVP_sha1
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_EVP_DigestUpdate
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_EVP_DigestUpdate
	leaq	-128(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_EVP_DigestFinal_ex
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	_basis_32@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	-128(%rbp), %edx
	movl	%edx, %esi
	sarl	$3, %esi
	movslq	%esi, %rsi
	movb	(%rcx,%rsi,8), %cl
	movb	%cl, 4(%r14)
	movq	(%rax), %rcx
	shll	$2, %edx
	andl	$28, %edx
	movl	-124(%rbp), %esi
	movl	%esi, %edi
	sarl	$6, %edi
	orl	%edx, %edi
	movslq	%edi, %rdx
	movb	(%rcx,%rdx,8), %cl
	movb	%cl, 5(%r14)
	movq	(%rax), %rcx
	movl	%esi, %edx
	andl	$62, %edx
	shll	$2, %edx
	movb	(%rcx,%rdx), %cl
	movb	%cl, 6(%r14)
	movq	(%rax), %rcx
	shll	$4, %esi
	andl	$16, %esi
	movl	-120(%rbp), %edx
	movl	%edx, %edi
	sarl	$4, %edi
	orl	%esi, %edi
	movslq	%edi, %rsi
	movb	(%rcx,%rsi,8), %cl
	movb	%cl, 7(%r14)
	movq	(%rax), %rax
	addl	%edx, %edx
	andl	$30, %edx
	movl	-116(%rbp), %ecx
	movl	%ecx, %esi
	sarl	$7, %esi
	orl	%edx, %esi
	movslq	%esi, %rdx
	movb	(%rax,%rdx,8), %dl
	movb	%dl, 8(%r14)
	movl	%ecx, %edx
	andl	$124, %edx
	addl	%edx, %edx
	movb	(%rax,%rdx), %dl
	movb	%dl, 9(%r14)
	shll	$3, %ecx
	andl	$24, %ecx
	movl	-112(%rbp), %edx
	movl	%edx, %esi
	sarl	$5, %esi
	orl	%ecx, %esi
	movslq	%esi, %rcx
	movb	(%rax,%rcx,8), %cl
	movb	%cl, 10(%r14)
	andl	$31, %edx
	movb	(%rax,%rdx,8), %cl
	movb	%cl, 11(%r14)
	movl	-108(%rbp), %ecx
	movl	%ecx, %edx
	sarl	$3, %edx
	movslq	%edx, %rdx
	movb	(%rax,%rdx,8), %dl
	movb	%dl, 12(%r14)
	shll	$2, %ecx
	andl	$28, %ecx
	movl	-104(%rbp), %edx
	movl	%edx, %esi
	sarl	$6, %esi
	orl	%ecx, %esi
	movslq	%esi, %rcx
	movb	(%rax,%rcx,8), %cl
	movb	%cl, 13(%r14)
	andl	$62, %edx
	shll	$2, %edx
	movb	(%rax,%rdx), %al
	movb	%al, 14(%r14)
	movb	$0, 15(%r14)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_BAD_MECH,4,2             ## @GSS_S_BAD_MECH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GS2-"

	.comm	_basis_32,8,3                   ## @basis_32
	.comm	_GSS_S_COMPLETE,4,2             ## @GSS_S_COMPLETE
	.no_dead_strip	_make_sasl_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_sasl_name
_make_sasl_name:                        ; @make_sasl_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	w8, [x1]
	cmp	w8, #127
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _GSS_S_BAD_MECH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_S_BAD_MECH@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x19, x2
	mov	x20, x1
	mov	w9, #6
	stp	w9, w8, [x29, #-48]
	bl	_EVP_MD_CTX_create
	mov	x21, x0
	bl	_EVP_sha1
	mov	x1, x0
	mov	x0, x21
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	sub	x1, x29, #48
	mov	x0, x21
	mov	w2, #2
	bl	_EVP_DigestUpdate
	ldr	x1, [x20, #8]
	ldr	w2, [x20]
	mov	x0, x21
	bl	_EVP_DigestUpdate
	mov	x1, sp
	mov	x0, x21
	mov	x2, #0
	bl	_EVP_DigestFinal_ex
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
Lloh7:
	adrp	x8, _basis_32@GOTPAGE
Lloh8:
	ldr	x8, [x8, _basis_32@GOTPAGEOFF]
	ldr	x9, [x8]
	ldp	w10, w11, [sp]
	asr	w12, w10, #3
	ldr	x9, [x9, w12, sxtw #3]
	strb	w9, [x19, #4]
	ldr	x9, [x8]
	ubfiz	w10, w10, #2, #3
	orr	w10, w10, w11, asr #6
	ldr	x9, [x9, w10, sxtw #3]
	strb	w9, [x19, #5]
	ldr	x9, [x8]
	ubfx	x10, x11, #1, #5
	ldr	x9, [x9, x10, lsl #3]
	strb	w9, [x19, #6]
	ldr	x9, [x8]
	ubfiz	w10, w11, #4, #1
	ldp	w11, w12, [sp, #8]
	orr	w10, w10, w11, asr #4
	ldr	x9, [x9, w10, sxtw #3]
	strb	w9, [x19, #7]
	ldr	x8, [x8]
	ubfiz	w9, w11, #1, #4
	orr	w9, w9, w12, asr #7
	ldr	x9, [x8, w9, sxtw #3]
	strb	w9, [x19, #8]
	ubfx	x9, x12, #2, #5
	ldr	x9, [x8, x9, lsl #3]
	strb	w9, [x19, #9]
	ubfiz	w9, w12, #3, #2
	ldp	w10, w11, [sp, #16]
	orr	w9, w9, w10, asr #5
	ldr	x9, [x8, w9, sxtw #3]
	strb	w9, [x19, #10]
	and	x9, x10, #0x1f
	ldr	x9, [x8, x9, lsl #3]
	strb	w9, [x19, #11]
	asr	w9, w11, #3
	ldr	x9, [x8, w9, sxtw #3]
	strb	w9, [x19, #12]
	ubfiz	w9, w11, #2, #3
	ldr	w10, [sp, #24]
	orr	w9, w9, w10, asr #6
	ldr	x9, [x8, w9, sxtw #3]
	strb	w9, [x19, #13]
	ubfx	x9, x10, #1, #5
	ldr	x8, [x8, x9, lsl #3]
	strb	w8, [x19, #14]
	strb	wzr, [x19, #15]
Lloh9:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldur	x8, [x29, #-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_5
; %bb.4:
	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
	add	sp, sp, #144
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_BAD_MECH,4,2             ; @GSS_S_BAD_MECH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GS2-"

	.comm	_basis_32,8,3                   ; @basis_32
	.comm	_GSS_S_COMPLETE,4,2             ; @GSS_S_COMPLETE
	.no_dead_strip	_make_sasl_name
.subsections_via_symbols
