	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chacha20_poly1305_aead_cipher
_chacha20_poly1305_aead_cipher:         ## @chacha20_poly1305_aead_cipher
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	88(%rdi), %r14
	movq	(%rdi), %r15
	cmpl	$0, 8(%rdi)
	je	LBB0_12
LBB0_1:
	testq	%r13, %r13
	je	LBB0_16
## %bb.2:
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.3:
	cmpl	$0, 24(%rbx)
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.4:
	movslq	48(%rbx), %rax
	movq	_POLY1305_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_49
## %bb.5:
	xorl	%edx, %edx
	divq	%rcx
	testq	%rdx, %rdx
	je	LBB0_7
LBB0_6:
	movq	_zero@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%rdx, %rcx
	movq	%r14, %rdi
	movq	%rcx, %rdx
	movq	%r8, %r12
	callq	_Poly1305_Update
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %r8
LBB0_7:
	movl	$0, 24(%rbx)
LBB0_8:
	movq	_NO_TLS_PAYLOAD_LENGTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rax, (%rbx)
	movq	%r8, %r12
	cmpq	(%rcx), %r15
	je	LBB0_10
## %bb.9:
	movq	_POLY1305_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%r15, %rcx
	movq	%r15, %r12
	cmpq	%r8, %rcx
	jne	LBB0_46
LBB0_10:
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_20
## %bb.11:
	leaq	64(%rbx), %rdi
	movq	64(%rbx), %rax
	movq	%rsi, %r15
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	*(%rax)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_Poly1305_Update
	jmp	LBB0_21
LBB0_12:
	movq	_NO_TLS_PAYLOAD_LENGTH@GOTPCREL(%rip), %rax
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.13:
	cmpq	(%rax), %r15
	je	LBB0_18
## %bb.14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_50
## %bb.15:
	movq	%rbx, %rdi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chacha20_poly1305_tls_cipher   ## TAILCALL
LBB0_16:
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	cmpq	%r8, %r15
	sete	%al
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_23
LBB0_17:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r8, %rdx
	movq	%r8, %r14
	callq	_Poly1305_Update
	movq	%r14, %rdx
	addl	%edx, 48(%rbx)
	movl	$1, 24(%rbx)
	movl	$1, %eax
	jmp	LBB0_47
LBB0_18:
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	56(%rbx), %r8
	movl	$0, (%r8)
	movq	_zero@GOTPCREL(%rip), %rax
	movq	%rsi, %r12
	movq	(%rax), %rsi
	movq	_CHACHA_BLK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	80(%rbx), %edi
	movl	84(%rbx), %ecx
	callq	_ChaCha20_ctr32
	movl	80(%rbx), %esi
	movq	%r14, %rdi
	callq	_Poly1305_Init
	movq	%r12, %rsi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	56(%rbx), %rax
	movl	$1, (%rax)
	movq	$0, 72(%rbx)
	movq	$0, 48(%rbx)
	movl	$1, 8(%rbx)
	movq	_NO_TLS_PAYLOAD_LENGTH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_1
## %bb.19:
	movq	16(%rbx), %rsi
	movq	_EVP_AEAD_TLS1_AAD_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	callq	_Poly1305_Update
	movq	%r12, %rsi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	_EVP_AEAD_TLS1_AAD_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movl	$1, 24(%rbx)
	jmp	LBB0_1
LBB0_20:
	movq	%r14, %rdi
	movq	%rsi, %r15
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_Poly1305_Update
	leaq	64(%rbx), %rdi
	movq	64(%rbx), %rax
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	*(%rax)
LBB0_21:
	addl	%r12d, 52(%rbx)
	movl	$1, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, %r12
	je	LBB0_47
## %bb.22:
	addq	%r12, -64(%rbp)                 ## 8-byte Folded Spill
	addq	%r12, %r13
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, %r15
LBB0_23:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_POLY1305_BLOCK_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	cmpl	$0, 24(%rbx)
	je	LBB0_28
## %bb.24:
	movslq	48(%rbx), %rax
	movq	(%r13), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_42
## %bb.25:
	xorl	%edx, %edx
	divq	%rcx
	testq	%rdx, %rdx
	je	LBB0_27
LBB0_26:
	movq	_zero@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%rdx, %rcx
	movq	%r14, %rdi
	movq	%rcx, %rdx
	callq	_Poly1305_Update
LBB0_27:
	movl	$0, 24(%rbx)
LBB0_28:
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movslq	52(%rbx), %rax
	movq	(%r13), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	movq	%r12, %r15
	shrq	$32, %rdx
	je	LBB0_30
## %bb.29:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_31
LBB0_30:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_31:
	leaq	48(%rbx), %r12
	testq	%rdx, %rdx
	je	LBB0_33
## %bb.32:
	movq	_zero@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%rdx, %rcx
	movq	%r14, %rdi
	movq	%rcx, %rdx
	callq	_Poly1305_Update
	movq	(%r13), %rcx
LBB0_33:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rcx, %rdx
	callq	_Poly1305_Update
	cmpq	$0, (%rbx)
	movq	%r15, %rsi
	je	LBB0_35
## %bb.34:
	movq	32(%rbx), %rsi
LBB0_35:
	movq	%r14, %rdi
	callq	_Poly1305_Final
	movl	$0, 8(%rbx)
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	sete	%al
	orb	-68(%rbp), %al                  ## 1-byte Folded Reload
	movq	(%rbx), %rax
	movq	-104(%rbp), %r14                ## 8-byte Reload
	je	LBB0_39
## %bb.36:
	testq	%rax, %rax
	jne	LBB0_41
## %bb.37:
	movq	32(%rbx), %rsi
	movq	40(%rbx), %rdx
	movq	%r15, %rdi
	callq	_CRYPTO_memcmp
	testq	%rax, %rax
	jne	LBB0_45
	jmp	LBB0_41
LBB0_39:
	testq	%rax, %rax
	je	LBB0_43
## %bb.40:
	movq	32(%rbx), %rsi
	movq	(%r13), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_memcpy
LBB0_41:
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
	movl	$1, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_47
LBB0_42:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	testq	%rdx, %rdx
	jne	LBB0_26
	jmp	LBB0_27
LBB0_43:
	movq	(%r13), %rdx
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_CRYPTO_memcmp
	testq	%rax, %rax
	je	LBB0_41
## %bb.44:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	subq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_memset
LBB0_45:
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
LBB0_46:
	xorl	%edx, %edx
	xorl	%eax, %eax
LBB0_47:
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rdx, (%rcx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_50
## %bb.48:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_49:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	testq	%rdx, %rdx
	jne	LBB0_6
	jmp	LBB0_7
LBB0_50:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_TLS_PAYLOAD_LENGTH,8,3      ## @NO_TLS_PAYLOAD_LENGTH
	.comm	_zero,8,3                       ## @zero
	.comm	_CHACHA_BLK_SIZE,4,2            ## @CHACHA_BLK_SIZE
	.comm	_EVP_AEAD_TLS1_AAD_LEN,8,3      ## @EVP_AEAD_TLS1_AAD_LEN
	.comm	_POLY1305_BLOCK_SIZE,8,3        ## @POLY1305_BLOCK_SIZE
	.no_dead_strip	_chacha20_poly1305_aead_cipher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chacha20_poly1305_aead_cipher
_chacha20_poly1305_aead_cipher:         ; @chacha20_poly1305_aead_cipher
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
	mov	x20, x4
	mov	x25, x3
	mov	x27, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x23, x0, #88
	ldr	x24, [x0]
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_11
LBB0_1:
	cbz	x25, LBB0_15
; %bb.2:
	cbz	x22, LBB0_16
; %bb.3:
	ldr	w8, [x21, #24]
Lloh3:
	adrp	x19, _POLY1305_BLOCK_SIZE@GOTPAGE
Lloh4:
	ldr	x19, [x19, _POLY1305_BLOCK_SIZE@GOTPAGEOFF]
	cbz	w8, LBB0_7
; %bb.4:
	ldrsw	x9, [x21, #48]
	ldr	x8, [x19]
	udiv	x10, x9, x8
	msub	x9, x10, x8, x9
	cbz	x9, LBB0_6
; %bb.5:
Lloh5:
	adrp	x10, _zero@GOTPAGE
Lloh6:
	ldr	x10, [x10, _zero@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x10]
	sub	x2, x8, x9
	mov	x0, x23
	bl	_Poly1305_Update
LBB0_6:
	str	wzr, [x21, #24]
LBB0_7:
Lloh8:
	adrp	x9, _NO_TLS_PAYLOAD_LENGTH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NO_TLS_PAYLOAD_LENGTH@GOTPAGEOFF]
	ldr	x8, [x9]
	str	x8, [x21]
	ldr	x9, [x9]
	mov	x26, x20
	cmp	x24, x9
	b.eq	LBB0_9
; %bb.8:
	ldr	x9, [x19]
	add	x9, x9, x24
	cmp	x9, x20
	mov	x26, x24
	b.ne	LBB0_40
LBB0_9:
	cbz	x8, LBB0_19
; %bb.10:
	mov	x0, x21
	ldr	x8, [x0, #64]!
	ldr	x8, [x8]
	mov	x1, x22
	mov	x2, x25
	mov	x3, x26
	blr	x8
	mov	x0, x23
	mov	x1, x22
	mov	x2, x26
	bl	_Poly1305_Update
	b	LBB0_20
LBB0_11:
Lloh10:
	adrp	x19, _NO_TLS_PAYLOAD_LENGTH@GOTPAGE
Lloh11:
	ldr	x19, [x19, _NO_TLS_PAYLOAD_LENGTH@GOTPAGEOFF]
	cbz	x22, LBB0_17
; %bb.12:
	ldr	x8, [x19]
	cmp	x24, x8
	b.eq	LBB0_17
; %bb.13:
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_43
; %bb.14:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x27
	mov	x3, x25
	mov	x4, x20
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_chacha20_poly1305_tls_cipher
LBB0_15:
	cmp	x24, x20
	cset	w8, eq
	stur	w8, [x29, #-100]                ; 4-byte Folded Spill
	b	LBB0_22
LBB0_16:
	mov	x0, x23
	mov	x1, x25
	mov	x2, x20
	bl	_Poly1305_Update
	ldr	w8, [x21, #48]
	add	w8, w8, w20
	str	w8, [x21, #48]
	mov	w0, #1
	str	w0, [x21, #24]
	b	LBB0_41
LBB0_17:
	ldr	x4, [x21, #56]
	str	wzr, [x4]
Lloh15:
	adrp	x8, _zero@GOTPAGE
Lloh16:
	ldr	x8, [x8, _zero@GOTPAGEOFF]
Lloh17:
	ldr	x1, [x8]
Lloh18:
	adrp	x8, _CHACHA_BLK_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CHACHA_BLK_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	ldp	w0, w3, [x21, #80]
	bl	_ChaCha20_ctr32
	ldr	w1, [x21, #80]
	mov	x0, x23
	bl	_Poly1305_Init
	ldr	x8, [x21, #56]
	mov	w26, #1
	str	w26, [x8]
	str	xzr, [x21, #72]
	str	xzr, [x21, #48]
	str	w26, [x21, #8]
	ldr	x8, [x19]
	cmp	x24, x8
	b.eq	LBB0_1
; %bb.18:
	ldr	x1, [x21, #16]
Lloh21:
	adrp	x19, _EVP_AEAD_TLS1_AAD_LEN@GOTPAGE
Lloh22:
	ldr	x19, [x19, _EVP_AEAD_TLS1_AAD_LEN@GOTPAGEOFF]
	ldr	x2, [x19]
	mov	x0, x23
	bl	_Poly1305_Update
	ldr	x8, [x19]
	str	w8, [x21, #48]
	str	w26, [x21, #24]
	b	LBB0_1
LBB0_19:
	mov	x0, x23
	mov	x1, x25
	mov	x2, x26
	bl	_Poly1305_Update
	mov	x0, x21
	ldr	x8, [x0, #64]!
	ldr	x8, [x8]
	mov	x1, x22
	mov	x2, x25
	mov	x3, x26
	blr	x8
LBB0_20:
	ldr	w8, [x21, #52]
	add	w8, w8, w26
	str	w8, [x21, #52]
	cmp	x26, x20
	b.eq	LBB0_36
; %bb.21:
	stur	wzr, [x29, #-100]               ; 4-byte Folded Spill
	add	x22, x22, x26
	add	x25, x25, x26
	mov	x24, x26
LBB0_22:
	mov	x8, sp
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
Lloh23:
	adrp	x28, _POLY1305_BLOCK_SIZE@GOTPAGE
Lloh24:
	ldr	x28, [x28, _POLY1305_BLOCK_SIZE@GOTPAGEOFF]
	ldr	x8, [x28]
	mov	x9, x8
Lloh25:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh26:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xfffffffffffffff0
	sub	x26, x9, x8
	mov	sp, x26
	ldr	w8, [x21, #24]
	cbz	w8, LBB0_26
; %bb.23:
	ldrsw	x9, [x21, #48]
	ldr	x8, [x28]
	udiv	x10, x9, x8
	msub	x9, x10, x8, x9
	cbz	x9, LBB0_25
; %bb.24:
Lloh27:
	adrp	x10, _zero@GOTPAGE
Lloh28:
	ldr	x10, [x10, _zero@GOTPAGEOFF]
Lloh29:
	ldr	x1, [x10]
	sub	x2, x8, x9
	mov	x0, x23
	bl	_Poly1305_Update
LBB0_25:
	str	wzr, [x21, #24]
LBB0_26:
	mov	x19, x27
	add	x27, x21, #48
	ldrsw	x8, [x21, #52]
	ldr	x2, [x28]
	udiv	x9, x8, x2
	msub	x8, x9, x2, x8
	cbz	x8, LBB0_28
; %bb.27:
Lloh30:
	adrp	x9, _zero@GOTPAGE
Lloh31:
	ldr	x9, [x9, _zero@GOTPAGEOFF]
Lloh32:
	ldr	x1, [x9]
	sub	x2, x2, x8
	mov	x0, x23
	bl	_Poly1305_Update
	ldr	x2, [x28]
LBB0_28:
	mov	x0, x23
	mov	x1, x27
	bl	_Poly1305_Update
	ldr	x8, [x21]
	mov	x1, x26
	cbz	x8, LBB0_30
; %bb.29:
	ldr	x1, [x21, #32]
LBB0_30:
	mov	x0, x23
	bl	_Poly1305_Final
	str	wzr, [x21, #8]
	cmp	x25, #0
	cset	w8, eq
	ldur	w9, [x29, #-100]                ; 4-byte Folded Reload
	orr	w9, w8, w9
	ldr	x8, [x21]
	mov	x27, x19
	tbz	w9, #0, LBB0_33
; %bb.31:
	cbnz	x8, LBB0_35
; %bb.32:
	ldp	x1, x2, [x21, #32]
	mov	x0, x26
	bl	_CRYPTO_memcmp
	cbnz	x0, LBB0_39
	b	LBB0_35
LBB0_33:
	cbz	x8, LBB0_37
; %bb.34:
	ldr	x1, [x21, #32]
	ldr	x2, [x28]
	mov	x0, x22
	bl	_memcpy
LBB0_35:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	mov	sp, x8
LBB0_36:
	mov	w0, #1
	b	LBB0_41
LBB0_37:
	ldr	x2, [x28]
	mov	x0, x26
	mov	x1, x25
	bl	_CRYPTO_memcmp
	cbz	x0, LBB0_35
; %bb.38:
	sub	x0, x22, x24
	mov	w1, #0
	mov	x2, x24
	bl	_memset
LBB0_39:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	mov	sp, x8
LBB0_40:
	mov	x20, #0
	mov	w0, #0
LBB0_41:
	str	x20, [x27]
	ldur	x8, [x29, #-88]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_43
; %bb.42:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_43:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_TLS_PAYLOAD_LENGTH,8,3      ; @NO_TLS_PAYLOAD_LENGTH
	.comm	_zero,8,3                       ; @zero
	.comm	_CHACHA_BLK_SIZE,4,2            ; @CHACHA_BLK_SIZE
	.comm	_EVP_AEAD_TLS1_AAD_LEN,8,3      ; @EVP_AEAD_TLS1_AAD_LEN
	.comm	_POLY1305_BLOCK_SIZE,8,3        ; @POLY1305_BLOCK_SIZE
	.no_dead_strip	_chacha20_poly1305_aead_cipher
.subsections_via_symbols
