	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_tickets
_test_tickets:                          ## @test_tickets
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	_new_called@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	movq	_do_cache@GOTPCREL(%rip), %r12
	movl	$1, (%r12)
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	callq	_setup_ticket_test
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	-72(%rbp), %rdi
	movq	-64(%rbp), %rsi
	xorl	%r14d, %r14d
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_create_ssl_objects
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movq	_SSL_ERROR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_create_ssl_connection
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	movq	(%r13), %rsi
	movl	%r15d, %edi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_14
## %bb.5:
	movq	-48(%rbp), %rdi
	callq	_SSL_shutdown
	movq	-56(%rbp), %rdi
	callq	_SSL_shutdown
	movq	-56(%rbp), %rdi
	callq	_SSL_free
	movq	-48(%rbp), %rdi
	callq	_SSL_free
	movq	-72(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	-64(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -72(%rbp)
	movl	$0, (%r12)
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_setup_ticket_test
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:
	movq	-72(%rbp), %rsi
	movq	-64(%rbp), %rdx
	xorl	%r14d, %r14d
	movl	%r15d, %edi
	xorl	%ecx, %ecx
	callq	_check_resumption
	testl	%eax, %eax
	je	LBB0_14
## %bb.7:
	movq	$0, (%r13)
	movl	$1, (%r12)
	movq	-72(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	-64(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	$0, -64(%rbp)
	movq	$0, -72(%rbp)
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_setup_ticket_test
	testl	%eax, %eax
	je	LBB0_14
## %bb.8:
	movq	-72(%rbp), %rdi
	movq	-64(%rbp), %rsi
	xorl	%r14d, %r14d
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_create_ssl_objects
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_14
## %bb.9:
	movq	-48(%rbp), %rdi
	movl	$1, %esi
	callq	_SSL_set_post_handshake_auth
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movq	_SSL_ERROR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_create_ssl_connection
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_14
## %bb.10:
	movq	(%r13), %rsi
	movl	%r15d, %edi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	callq	_post_handshake_verify
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	leal	(%r15,%r15), %edi
	movq	(%r13), %rsi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rdi
	callq	_SSL_shutdown
	movq	-56(%rbp), %rdi
	callq	_SSL_shutdown
	movq	-56(%rbp), %rdi
	callq	_SSL_free
	movq	-48(%rbp), %rdi
	callq	_SSL_free
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	movl	$0, (%r12)
	movq	-72(%rbp), %rsi
	movq	-64(%rbp), %rdx
	movl	%r15d, %edi
	movl	$1, %ecx
	callq	_check_resumption
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
	jmp	LBB0_14
LBB0_1:
	xorl	%r14d, %r14d
LBB0_14:
	movq	-56(%rbp), %rdi
	callq	_SSL_free
	movq	-48(%rbp), %rdi
	callq	_SSL_free
	movq	_sesscache@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_OSSL_NELEM
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_SSL_SESSION_free
	movq	(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movq	(%r15), %rdi
	callq	_OSSL_NELEM
	cmpq	%rax, %rbx
	jb	LBB0_16
LBB0_17:
	movq	-72(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	-64(%rbp), %rdi
	callq	_SSL_CTX_free
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_new_called,8,3                 ## @new_called
	.comm	_do_cache,4,2                   ## @do_cache
	.comm	_SSL_ERROR_NONE,4,2             ## @SSL_ERROR_NONE
	.comm	_sesscache,8,3                  ## @sesscache
	.no_dead_strip	_test_tickets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_tickets
_test_tickets:                          ; @test_tickets
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
Lloh0:
	adrp	x22, _new_called@GOTPAGE
Lloh1:
	ldr	x22, [x22, _new_called@GOTPAGEOFF]
	str	xzr, [sp]
	str	xzr, [x22]
Lloh2:
	adrp	x21, _do_cache@GOTPAGE
Lloh3:
	ldr	x21, [x21, _do_cache@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x21]
	add	x2, sp, #24
	add	x3, sp, #16
	bl	_setup_ticket_test
	cbz	w0, LBB0_13
; %bb.1:
	ldp	x1, x0, [sp, #16]
	add	x2, sp, #8
	mov	x3, sp
	mov	x4, #0
	mov	x5, #0
	bl	_create_ssl_objects
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.2:
	ldp	x1, x0, [sp]
Lloh4:
	adrp	x23, _SSL_ERROR_NONE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _SSL_ERROR_NONE@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_create_ssl_connection
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.3:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_TEST_int_eq
	cbz	w0, LBB0_13
; %bb.4:
	ldr	x0, [sp]
	bl	_SSL_shutdown
	ldr	x0, [sp, #8]
	bl	_SSL_shutdown
	ldr	x0, [sp, #8]
	bl	_SSL_free
	ldr	x0, [sp]
	bl	_SSL_free
	ldr	x0, [sp, #24]
	bl	_SSL_CTX_free
	ldr	x0, [sp, #16]
	bl	_SSL_CTX_free
	stp	xzr, xzr, [sp]
	stp	xzr, xzr, [sp, #16]
	str	wzr, [x21]
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_setup_ticket_test
	cbz	w0, LBB0_13
; %bb.5:
	ldp	x2, x1, [sp, #16]
	mov	x0, x19
	mov	w3, #0
	bl	_check_resumption
	cbz	w0, LBB0_13
; %bb.6:
	str	xzr, [x22]
	mov	w8, #1
	str	w8, [x21]
	ldr	x0, [sp, #24]
	bl	_SSL_CTX_free
	ldr	x0, [sp, #16]
	bl	_SSL_CTX_free
	stp	xzr, xzr, [sp, #16]
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_setup_ticket_test
	cbz	w0, LBB0_13
; %bb.7:
	ldp	x1, x0, [sp, #16]
	add	x2, sp, #8
	mov	x3, sp
	mov	x4, #0
	mov	x5, #0
	bl	_create_ssl_objects
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.8:
	ldr	x0, [sp]
	mov	w1, #1
	bl	_SSL_set_post_handshake_auth
	ldp	x1, x0, [sp]
	ldr	w2, [x23]
	bl	_create_ssl_connection
	bl	_TEST_true
	cbz	w0, LBB0_13
; %bb.9:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_TEST_int_eq
	cbz	w0, LBB0_13
; %bb.10:
	ldp	x1, x0, [sp]
	bl	_post_handshake_verify
	cbz	w0, LBB0_13
; %bb.11:
	lsl	w0, w19, #1
	ldr	x1, [x22]
	bl	_TEST_int_eq
	cbz	w0, LBB0_13
; %bb.12:
	ldr	x0, [sp]
	bl	_SSL_shutdown
	ldr	x0, [sp, #8]
	bl	_SSL_shutdown
	ldr	x0, [sp, #8]
	bl	_SSL_free
	ldr	x0, [sp]
	bl	_SSL_free
	stp	xzr, xzr, [sp]
	str	wzr, [x21]
	ldp	x2, x1, [sp, #16]
	mov	x0, x19
	mov	w3, #1
	bl	_check_resumption
	cmp	w0, #0
	cset	w19, ne
	b	LBB0_14
LBB0_13:
	mov	w19, #0
LBB0_14:
	ldr	x0, [sp, #8]
	bl	_SSL_free
	ldr	x0, [sp]
	bl	_SSL_free
Lloh6:
	adrp	x20, _sesscache@GOTPAGE
Lloh7:
	ldr	x20, [x20, _sesscache@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_OSSL_NELEM
	cbz	x0, LBB0_17
; %bb.15:
	mov	x21, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	lsl	x22, x21, #3
	ldr	x0, [x8, x22]
	bl	_SSL_SESSION_free
	ldr	x8, [x20]
	str	xzr, [x8, x22]
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_OSSL_NELEM
	cmp	x21, x0
	b.lo	LBB0_16
LBB0_17:
	ldr	x0, [sp, #24]
	bl	_SSL_CTX_free
	ldr	x0, [sp, #16]
	bl	_SSL_CTX_free
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_new_called,8,3                 ; @new_called
	.comm	_do_cache,4,2                   ; @do_cache
	.comm	_SSL_ERROR_NONE,4,2             ; @SSL_ERROR_NONE
	.comm	_sesscache,8,3                  ; @sesscache
	.no_dead_strip	_test_tickets
.subsections_via_symbols
