	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_authencrypt                    ## -- Begin function authencrypt
	.p2align	4, 0x90
_authencrypt:                           ## @authencrypt
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_authencryptions@GOTPCREL(%rip), %rax
	incl	(%rax)
	callq	_htonl
	movq	%r14, %rcx
	andq	$-4, %rcx
	movl	%eax, (%r15,%rcx)
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_authhavekey
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	_cache_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cache_secret@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_cache_secretsize@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rcx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MD5authencrypt                 ## TAILCALL
LBB0_1:
	movl	$4, %eax
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_authencryptions,4,2            ## @authencryptions
	.comm	_cache_type,4,2                 ## @cache_type
	.comm	_cache_secret,4,2               ## @cache_secret
	.comm	_cache_secretsize,4,2           ## @cache_secretsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_authencrypt                    ; -- Begin function authencrypt
	.p2align	2
_authencrypt:                           ; @authencrypt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _authencryptions@GOTPAGE
Lloh1:
	ldr	x8, [x8, _authencryptions@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_htonl
	and	x8, x19, #0xfffffffffffffffc
	str	w0, [x20, x8]
	cbz	x21, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_authhavekey
	cbz	w0, LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _cache_type@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cache_type@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _cache_secret@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cache_secret@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _cache_secretsize@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cache_secretsize@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_MD5authencrypt
LBB0_3:
	mov	w0, #4
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_authencryptions,4,2            ; @authencryptions
	.comm	_cache_type,4,2                 ; @cache_type
	.comm	_cache_secret,4,2               ; @cache_secret
	.comm	_cache_secretsize,4,2           ; @cache_secretsize
.subsections_via_symbols
