	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_ticket_test
_setup_ticket_test:                     ## @setup_ticket_test
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r13d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	$1, -48(%rbp)
	xorl	%eax, %eax
	callq	_TLS_server_method
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_TLS_client_method
	movq	_TLS1_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_cert@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_privkey@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%r12d, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movq	%r15, %r9
	pushq	%rbx
	pushq	%r10
	callq	_create_ssl_ctx_pair
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	(%r14), %rdi
	movl	%r13d, %esi
	callq	_SSL_CTX_set_num_tickets
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	(%r14), %rdi
	leaq	-48(%rbp), %rsi
	movl	$4, %edx
	callq	_SSL_CTX_set_session_id_context
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	movl	$0, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rdi
	movq	_SSL_OP_NO_TICKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSL_CTX_set_options
LBB0_5:
	movq	(%r15), %rdi
	movq	_SSL_SESS_CACHE_CLIENT@GOTPCREL(%rip), %rax
	movq	_SSL_SESS_CACHE_NO_INTERNAL_STORE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_SSL_CTX_set_session_cache_mode
	movq	(%r15), %rdi
	movq	_new_cachesession_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSL_CTX_sess_set_new_cb
	movl	$1, %eax
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS1_VERSION,4,2               ## @TLS1_VERSION
	.comm	_cert,4,2                       ## @cert
	.comm	_privkey,4,2                    ## @privkey
	.comm	_SSL_OP_NO_TICKET,4,2           ## @SSL_OP_NO_TICKET
	.comm	_SSL_SESS_CACHE_CLIENT,4,2      ## @SSL_SESS_CACHE_CLIENT
	.comm	_SSL_SESS_CACHE_NO_INTERNAL_STORE,4,2 ## @SSL_SESS_CACHE_NO_INTERNAL_STORE
	.comm	_new_cachesession_cb,4,2        ## @new_cachesession_cb
	.no_dead_strip	_setup_ticket_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_ticket_test
_setup_ticket_test:                     ; @setup_ticket_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	mov	w8, #1
	str	w8, [sp, #12]
	bl	_TLS_server_method
	mov	x23, x0
	bl	_TLS_client_method
	mov	x1, x0
Lloh0:
	adrp	x8, _TLS1_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLS1_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _cert@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cert@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
Lloh6:
	adrp	x8, _privkey@GOTPAGE
Lloh7:
	ldr	x8, [x8, _privkey@GOTPAGEOFF]
Lloh8:
	ldr	w7, [x8]
	mov	x0, x23
	mov	w3, #0
	mov	x4, x20
	mov	x5, x19
	bl	_create_ssl_ctx_pair
	bl	_TEST_true
	cbz	w0, LBB0_6
; %bb.1:
	ldr	x0, [x20]
	mov	x1, x22
	bl	_SSL_CTX_set_num_tickets
	bl	_TEST_true
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x0, [x20]
	add	x1, sp, #12
	mov	w2, #4
	bl	_SSL_CTX_set_session_id_context
	bl	_TEST_true
	cbz	w0, LBB0_6
; %bb.3:
	cbz	w21, LBB0_5
; %bb.4:
	ldr	x0, [x20]
Lloh9:
	adrp	x8, _SSL_OP_NO_TICKET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_OP_NO_TICKET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_SSL_CTX_set_options
LBB0_5:
Lloh12:
	adrp	x8, _SSL_SESS_CACHE_CLIENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_SESS_CACHE_CLIENT@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _SSL_SESS_CACHE_NO_INTERNAL_STORE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SSL_SESS_CACHE_NO_INTERNAL_STORE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_SSL_CTX_set_session_cache_mode
	ldr	x0, [x19]
Lloh18:
	adrp	x8, _new_cachesession_cb@GOTPAGE
Lloh19:
	ldr	x8, [x8, _new_cachesession_cb@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_SSL_CTX_sess_set_new_cb
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS1_VERSION,4,2               ; @TLS1_VERSION
	.comm	_cert,4,2                       ; @cert
	.comm	_privkey,4,2                    ; @privkey
	.comm	_SSL_OP_NO_TICKET,4,2           ; @SSL_OP_NO_TICKET
	.comm	_SSL_SESS_CACHE_CLIENT,4,2      ; @SSL_SESS_CACHE_CLIENT
	.comm	_SSL_SESS_CACHE_NO_INTERNAL_STORE,4,2 ; @SSL_SESS_CACHE_NO_INTERNAL_STORE
	.comm	_new_cachesession_cb,4,2        ; @new_cachesession_cb
	.no_dead_strip	_setup_ticket_test
.subsections_via_symbols
