	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_stateless_hrr_aad_change
_test_stateless_hrr_aad_change:         ## @test_stateless_hrr_aad_change
	.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	$0, -72(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -88(%rbp)
	leaq	L_.str.1(%rip), %rdi
	movl	$12, %esi
	callq	_ptls_iovec_init
	movq	%rax, -80(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -96(%rbp)
	leaq	-64(%rbp), %r14
	leaq	-96(%rbp), %rsi
	movq	%r14, %rdi
	callq	_stateless_hrr_prepare
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rsi
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_ptls_buffer_init
	movq	-64(%rbp), %rax
	movq	%rax, -48(%rbp)
	movl	-56(%rbp), %edx
	leaq	-48(%rbp), %r13
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	callq	_ptls_handshake
	movq	_PTLS_ERROR_IN_PROGRESS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_ok
	movq	-64(%rbp), %rax
	xorl	%edi, %edi
	cmpq	-48(%rbp), %rax
	sete	%dil
	callq	_ok
	movq	$0, -64(%rbp)
	movq	_ctx_peer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_ptls_new
	movq	%rax, %r12
	leaq	L_.str.3(%rip), %rdi
	movl	$12, %esi
	callq	_ptls_iovec_init
	movq	%rax, -80(%rbp)
	movq	-112(%rbp), %rax
	movq	%rax, -48(%rbp)
	movl	-104(%rbp), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rcx
	leaq	-96(%rbp), %r8
	callq	_ptls_handshake
	movq	_PTLS_ALERT_HANDSHAKE_FAILURE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_ok
	movq	%rbx, %rdi
	callq	_ptls_free
	movq	%r12, %rdi
	callq	_ptls_free
	movq	%r15, %rdi
	callq	_ptls_buffer_dispose
	movq	%r14, %rdi
	callq	_ptls_buffer_dispose
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789abcdef0123456789abcdef0123456789abcdef"

L_.str.1:                               ## @.str.1
	.asciz	"1.2.3.4:1234"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_PTLS_ERROR_IN_PROGRESS,4,2     ## @PTLS_ERROR_IN_PROGRESS
	.comm	_ctx_peer,4,2                   ## @ctx_peer
L_.str.3:                               ## @.str.3
	.asciz	"1.2.3.4:4321"

	.comm	_PTLS_ALERT_HANDSHAKE_FAILURE,4,2 ## @PTLS_ALERT_HANDSHAKE_FAILURE
	.no_dead_strip	_test_stateless_hrr_aad_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_stateless_hrr_aad_change
_test_stateless_hrr_aad_change:         ; @test_stateless_hrr_aad_change
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	xzr, [sp, #72]
	str	x8, [sp, #56]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #12
	bl	_ptls_iovec_init
	str	x0, [sp, #64]
	movi.2s	v0, #1
	str	d0, [sp, #48]
	add	x0, sp, #16
	add	x1, sp, #48
	bl	_stateless_hrr_prepare
	mov	x19, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #32
	mov	w2, #0
	bl	_ptls_buffer_init
	ldr	x8, [sp, #16]
	str	x8, [sp, #8]
	ldr	w2, [sp, #24]
	add	x1, sp, #32
	add	x3, sp, #8
	mov	x0, x19
	mov	x4, #0
	bl	_ptls_handshake
Lloh6:
	adrp	x8, _PTLS_ERROR_IN_PROGRESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PTLS_ERROR_IN_PROGRESS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_ok
	ldp	x9, x8, [sp, #8]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	str	xzr, [sp, #16]
Lloh9:
	adrp	x8, _ctx_peer@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ctx_peer@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_ptls_new
	mov	x20, x0
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #12
	bl	_ptls_iovec_init
	str	x0, [sp, #64]
	ldr	x8, [sp, #32]
	str	x8, [sp, #8]
	ldr	w2, [sp, #40]
	add	x1, sp, #16
	add	x3, sp, #8
	add	x4, sp, #48
	mov	x0, x20
	bl	_ptls_handshake
Lloh14:
	adrp	x8, _PTLS_ALERT_HANDSHAKE_FAILURE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PTLS_ALERT_HANDSHAKE_FAILURE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_ok
	mov	x0, x19
	bl	_ptls_free
	mov	x0, x20
	bl	_ptls_free
	add	x0, sp, #32
	bl	_ptls_buffer_dispose
	add	x0, sp, #16
	bl	_ptls_buffer_dispose
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789abcdef0123456789abcdef0123456789abcdef"

l_.str.1:                               ; @.str.1
	.asciz	"1.2.3.4:1234"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_PTLS_ERROR_IN_PROGRESS,4,2     ; @PTLS_ERROR_IN_PROGRESS
	.comm	_ctx_peer,4,2                   ; @ctx_peer
l_.str.3:                               ; @.str.3
	.asciz	"1.2.3.4:4321"

	.comm	_PTLS_ALERT_HANDSHAKE_FAILURE,4,2 ; @PTLS_ALERT_HANDSHAKE_FAILURE
	.no_dead_strip	_test_stateless_hrr_aad_change
.subsections_via_symbols
