	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_resumption
_check_resumption:                      ## @check_resumption
	.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	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edi killed $edi def $rdi
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	testl	%edi, %edi
	jle	LBB0_15
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leal	(%rdi,%rdi), %r13d
	cmpl	$2, %r13d
	movl	$1, %eax
	cmovll	%eax, %r13d
	xorl	%r12d, %r12d
	movq	_new_called@GOTPCREL(%rip), %r14
	movq	_sesscache@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%r14)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	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)
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rdi
	callq	_SSL_SESSION_free
	movq	(%r15), %rax
	movq	$0, (%rax,%r12,8)
	incq	%r12
	cmpq	%r12, %r13
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, (%r14)
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	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_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rsi
	callq	_SSL_set_session
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	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_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	callq	_SSL_session_reused
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	movl	$1, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%r14)
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	callq	_post_handshake_verify
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	movl	$1, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_TEST_int_eq
	testl	%eax, %eax
	jne	LBB0_13
LBB0_10:
	movq	-48(%rbp), %rdi
	callq	_SSL_free
	movq	-56(%rbp), %rdi
	callq	_SSL_free
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_15:
	movl	$1, %eax
LBB0_16:
	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	_sesscache,8,3                  ## @sesscache
	.comm	_SSL_ERROR_NONE,4,2             ## @SSL_ERROR_NONE
	.no_dead_strip	_check_resumption
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_resumption
_check_resumption:                      ; @check_resumption
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	xzr, xzr, [sp]
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x23, #0
	lsl	w8, w0, #1
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	lsl	x24, x8, #3
Lloh0:
	adrp	x25, _new_called@GOTPAGE
Lloh1:
	ldr	x25, [x25, _new_called@GOTPAGEOFF]
Lloh2:
	adrp	x26, _sesscache@GOTPAGE
Lloh3:
	ldr	x26, [x26, _sesscache@GOTPAGEOFF]
Lloh4:
	adrp	x27, _SSL_ERROR_NONE@GOTPAGE
Lloh5:
	ldr	x27, [x27, _SSL_ERROR_NONE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x25]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	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]
	ldr	x8, [x26]
	ldr	x0, [x8, x23]
	bl	_SSL_SESSION_free
	ldr	x8, [x26]
	str	xzr, [x8, x23]
	add	x23, x23, #8
	cmp	x24, x23
	b.eq	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x25]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x21
	mov	x1, x20
	mov	x4, #0
	mov	x5, #0
	bl	_create_ssl_objects
	bl	_TEST_true
	cbz	w0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp]
	ldr	x8, [x26]
	ldr	x1, [x8, x23]
	bl	_SSL_set_session
	bl	_TEST_true
	cbz	w0, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp]
	mov	w1, #1
	bl	_SSL_set_post_handshake_auth
	ldp	x1, x0, [sp]
	ldr	w2, [x27]
	bl	_create_ssl_connection
	bl	_TEST_true
	cbz	w0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp]
	bl	_SSL_session_reused
	cbz	w19, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_TEST_true
	cbz	w0, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x25]
	mov	w1, #1
	bl	_TEST_int_eq
	cbz	w0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x25]
	ldp	x1, x0, [sp]
	bl	_post_handshake_verify
	cbz	w0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x25]
	mov	w1, #1
	bl	_TEST_int_eq
	cbnz	w0, LBB0_3
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_TEST_false
	cbz	w0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x25]
	mov	x1, x22
	bl	_TEST_int_eq
	cbnz	w0, LBB0_2
LBB0_14:
	ldr	x0, [sp]
	bl	_SSL_free
	ldr	x0, [sp, #8]
	bl	_SSL_free
	mov	w0, #0
	b	LBB0_16
LBB0_15:
	mov	w0, #1
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_new_called,8,3                 ; @new_called
	.comm	_sesscache,8,3                  ; @sesscache
	.comm	_SSL_ERROR_NONE,4,2             ; @SSL_ERROR_NONE
	.no_dead_strip	_check_resumption
.subsections_via_symbols
