	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_chacha20
_test_chacha20:                         ## @test_chacha20
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PTLS_CIPHER_SUITE_CHACHA20_POLY1305_SHA256@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_find_cipher
	movl	$128, (%rsp)
	leaq	_test_chacha20.key(%rip), %rsi
	leaq	_test_chacha20.iv(%rip), %rcx
	leaq	_test_chacha20.expected(%rip), %r9
	movl	%eax, %edi
	movl	$128, %edx
	movl	$64, %r8d
	callq	_test_ctr
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @test_chacha20.key
_test_chacha20.key:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	5                               ## 0x5
	.long	6                               ## 0x6
	.long	7                               ## 0x7
	.long	8                               ## 0x8
	.long	9                               ## 0x9
	.long	10                              ## 0xa
	.long	11                              ## 0xb
	.long	12                              ## 0xc
	.long	13                              ## 0xd
	.long	14                              ## 0xe
	.long	15                              ## 0xf
	.long	16                              ## 0x10
	.long	17                              ## 0x11
	.long	18                              ## 0x12
	.long	19                              ## 0x13
	.long	20                              ## 0x14
	.long	21                              ## 0x15
	.long	22                              ## 0x16
	.long	23                              ## 0x17
	.long	24                              ## 0x18
	.long	25                              ## 0x19
	.long	26                              ## 0x1a
	.long	27                              ## 0x1b
	.long	28                              ## 0x1c
	.long	29                              ## 0x1d
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f

	.p2align	4                               ## @test_chacha20.iv
_test_chacha20.iv:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	9                               ## 0x9
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	74                              ## 0x4a
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.p2align	4                               ## @test_chacha20.expected
_test_chacha20.expected:
	.long	16                              ## 0x10
	.long	241                             ## 0xf1
	.long	231                             ## 0xe7
	.long	228                             ## 0xe4
	.long	209                             ## 0xd1
	.long	59                              ## 0x3b
	.long	89                              ## 0x59
	.long	21                              ## 0x15
	.long	80                              ## 0x50
	.long	15                              ## 0xf
	.long	221                             ## 0xdd
	.long	31                              ## 0x1f
	.long	163                             ## 0xa3
	.long	32                              ## 0x20
	.long	113                             ## 0x71
	.long	196                             ## 0xc4
	.long	199                             ## 0xc7
	.long	209                             ## 0xd1
	.long	244                             ## 0xf4
	.long	199                             ## 0xc7
	.long	51                              ## 0x33
	.long	192                             ## 0xc0
	.long	104                             ## 0x68
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	34                              ## 0x22
	.long	170                             ## 0xaa
	.long	154                             ## 0x9a
	.long	195                             ## 0xc3
	.long	212                             ## 0xd4
	.long	108                             ## 0x6c
	.long	78                              ## 0x4e

	.comm	_ctx,4,2                        ## @ctx
	.comm	_PTLS_CIPHER_SUITE_CHACHA20_POLY1305_SHA256,4,2 ## @PTLS_CIPHER_SUITE_CHACHA20_POLY1305_SHA256
	.no_dead_strip	_test_chacha20
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_chacha20
_test_chacha20:                         ; @test_chacha20
	.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, _ctx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PTLS_CIPHER_SUITE_CHACHA20_POLY1305_SHA256@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTLS_CIPHER_SUITE_CHACHA20_POLY1305_SHA256@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_find_cipher
Lloh6:
	adrp	x1, _test_chacha20.key@PAGE
Lloh7:
	add	x1, x1, _test_chacha20.key@PAGEOFF
Lloh8:
	adrp	x3, _test_chacha20.iv@PAGE
Lloh9:
	add	x3, x3, _test_chacha20.iv@PAGEOFF
Lloh10:
	adrp	x5, _test_chacha20.expected@PAGE
Lloh11:
	add	x5, x5, _test_chacha20.expected@PAGEOFF
	mov	w2, #128
	mov	w4, #64
	mov	w6, #128
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_test_ctr
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @test_chacha20.key
_test_chacha20.key:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	5                               ; 0x5
	.long	6                               ; 0x6
	.long	7                               ; 0x7
	.long	8                               ; 0x8
	.long	9                               ; 0x9
	.long	10                              ; 0xa
	.long	11                              ; 0xb
	.long	12                              ; 0xc
	.long	13                              ; 0xd
	.long	14                              ; 0xe
	.long	15                              ; 0xf
	.long	16                              ; 0x10
	.long	17                              ; 0x11
	.long	18                              ; 0x12
	.long	19                              ; 0x13
	.long	20                              ; 0x14
	.long	21                              ; 0x15
	.long	22                              ; 0x16
	.long	23                              ; 0x17
	.long	24                              ; 0x18
	.long	25                              ; 0x19
	.long	26                              ; 0x1a
	.long	27                              ; 0x1b
	.long	28                              ; 0x1c
	.long	29                              ; 0x1d
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f

	.p2align	2                               ; @test_chacha20.iv
_test_chacha20.iv:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	9                               ; 0x9
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	74                              ; 0x4a
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.p2align	2                               ; @test_chacha20.expected
_test_chacha20.expected:
	.long	16                              ; 0x10
	.long	241                             ; 0xf1
	.long	231                             ; 0xe7
	.long	228                             ; 0xe4
	.long	209                             ; 0xd1
	.long	59                              ; 0x3b
	.long	89                              ; 0x59
	.long	21                              ; 0x15
	.long	80                              ; 0x50
	.long	15                              ; 0xf
	.long	221                             ; 0xdd
	.long	31                              ; 0x1f
	.long	163                             ; 0xa3
	.long	32                              ; 0x20
	.long	113                             ; 0x71
	.long	196                             ; 0xc4
	.long	199                             ; 0xc7
	.long	209                             ; 0xd1
	.long	244                             ; 0xf4
	.long	199                             ; 0xc7
	.long	51                              ; 0x33
	.long	192                             ; 0xc0
	.long	104                             ; 0x68
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	34                              ; 0x22
	.long	170                             ; 0xaa
	.long	154                             ; 0x9a
	.long	195                             ; 0xc3
	.long	212                             ; 0xd4
	.long	108                             ; 0x6c
	.long	78                              ; 0x4e

	.comm	_ctx,4,2                        ; @ctx
	.comm	_PTLS_CIPHER_SUITE_CHACHA20_POLY1305_SHA256,4,2 ; @PTLS_CIPHER_SUITE_CHACHA20_POLY1305_SHA256
	.no_dead_strip	_test_chacha20
.subsections_via_symbols
