	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aead_chacha20poly1305_setup_crypto
_aead_chacha20poly1305_setup_crypto:    ## @aead_chacha20poly1305_setup_crypto
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_chacha20poly1305_dispose_crypto@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rdi)
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_chacha20poly1305_init@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rdi)
	movq	_chacha20poly1305_encrypt_update@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rdi)
	movq	_chacha20poly1305_encrypt_final@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rdi)
	movq	$0, 32(%rdi)
	movq	_chacha20poly1305_decrypt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	movq	%rax, 8(%rdi)
	movl	(%rdi), %edi
	movq	%rdx, %rsi
	movl	$4, %edx
	callq	_memcpy
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_chacha20poly1305_dispose_crypto,4,2 ## @chacha20poly1305_dispose_crypto
	.comm	_chacha20poly1305_init,8,3      ## @chacha20poly1305_init
	.comm	_chacha20poly1305_encrypt_update,8,3 ## @chacha20poly1305_encrypt_update
	.comm	_chacha20poly1305_encrypt_final,8,3 ## @chacha20poly1305_encrypt_final
	.comm	_chacha20poly1305_decrypt,8,3   ## @chacha20poly1305_decrypt
	.no_dead_strip	_aead_chacha20poly1305_setup_crypto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aead_chacha20poly1305_setup_crypto
_aead_chacha20poly1305_setup_crypto:    ; @aead_chacha20poly1305_setup_crypto
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _chacha20poly1305_dispose_crypto@GOTPAGE
Lloh1:
	ldr	x8, [x8, _chacha20poly1305_dispose_crypto@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #40]
	cbz	w1, LBB0_2
; %bb.1:
	mov	x8, #0
Lloh3:
	adrp	x9, _chacha20poly1305_init@GOTPAGE
Lloh4:
	ldr	x9, [x9, _chacha20poly1305_init@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	str	x9, [x0, #32]
Lloh6:
	adrp	x9, _chacha20poly1305_encrypt_update@GOTPAGE
Lloh7:
	ldr	x9, [x9, _chacha20poly1305_encrypt_update@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _chacha20poly1305_encrypt_final@GOTPAGE
Lloh10:
	ldr	x10, [x10, _chacha20poly1305_encrypt_final@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	stp	x10, x9, [x0, #16]
	b	LBB0_3
LBB0_2:
	stp	xzr, xzr, [x0, #16]
	str	xzr, [x0, #32]
Lloh12:
	adrp	x8, _chacha20poly1305_decrypt@GOTPAGE
Lloh13:
	ldr	x8, [x8, _chacha20poly1305_decrypt@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
LBB0_3:
	str	x8, [x0, #8]
	ldr	w0, [x0]
	mov	x1, x2
	mov	w2, #4
	bl	_memcpy
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_chacha20poly1305_dispose_crypto,4,2 ; @chacha20poly1305_dispose_crypto
	.comm	_chacha20poly1305_init,8,3      ; @chacha20poly1305_init
	.comm	_chacha20poly1305_encrypt_update,8,3 ; @chacha20poly1305_encrypt_update
	.comm	_chacha20poly1305_encrypt_final,8,3 ; @chacha20poly1305_encrypt_final
	.comm	_chacha20poly1305_decrypt,8,3   ; @chacha20poly1305_decrypt
	.no_dead_strip	_aead_chacha20poly1305_setup_crypto
.subsections_via_symbols
