	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_SESSION_new                ## -- Begin function SSL_SESSION_new
	.p2align	4, 0x90
_SSL_SESSION_new:                       ## @SSL_SESSION_new
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_OPENSSL_INIT_LOAD_SSL_STRINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_OPENSSL_init_ssl
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	$40, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movl	$304, 8(%rbx)                   ## imm = 0x130
	xorl	%edi, %edi
	callq	_time
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	callq	_CRYPTO_THREAD_lock_new
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_CRYPTO_EX_INDEX_SSL_SESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rdx
	addq	$32, %rdx
	movq	%rbx, %rsi
	callq	_CRYPTO_new_ex_data
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	24(%rbx), %rdi
	callq	_CRYPTO_THREAD_lock_free
	jmp	LBB0_7
LBB0_2:
	movq	_SSL_F_SSL_SESSION_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	jmp	LBB0_8
LBB0_4:
	movq	_SSL_F_SSL_SESSION_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
LBB0_7:
	movq	%rbx, %rdi
	callq	_OPENSSL_free
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENSSL_INIT_LOAD_SSL_STRINGS,4,2 ## @OPENSSL_INIT_LOAD_SSL_STRINGS
	.comm	_SSL_F_SSL_SESSION_NEW,4,2      ## @SSL_F_SSL_SESSION_NEW
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_CRYPTO_EX_INDEX_SSL_SESSION,4,2 ## @CRYPTO_EX_INDEX_SSL_SESSION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_SESSION_new                ; -- Begin function SSL_SESSION_new
	.p2align	2
_SSL_SESSION_new:                       ; @SSL_SESSION_new
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _OPENSSL_INIT_LOAD_SSL_STRINGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPENSSL_INIT_LOAD_SSL_STRINGS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_OPENSSL_init_ssl
	cbz	w0, LBB0_8
; %bb.1:
	mov	w0, #40
	bl	_OPENSSL_zalloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.2:
	movi.2s	v0, #1
	str	d0, [x19]
	mov	w8, #304
	str	w8, [x19, #8]
	mov	x0, #0
	bl	_time
	str	x0, [x19, #16]
	bl	_CRYPTO_THREAD_lock_new
	str	x0, [x19, #24]
	cbz	x0, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _CRYPTO_EX_INDEX_SSL_SESSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYPTO_EX_INDEX_SSL_SESSION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x2, x19, #32
	mov	x1, x19
	bl	_CRYPTO_new_ex_data
	cbnz	w0, LBB0_9
; %bb.4:
	ldr	x0, [x19, #24]
	bl	_CRYPTO_THREAD_lock_free
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _SSL_F_SSL_SESSION_NEW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_F_SSL_SESSION_NEW@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_SSLerr
	b	LBB0_9
LBB0_6:
Lloh12:
	adrp	x8, _SSL_F_SSL_SESSION_NEW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_F_SSL_SESSION_NEW@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_SSLerr
LBB0_7:
	mov	x0, x19
	bl	_OPENSSL_free
LBB0_8:
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENSSL_INIT_LOAD_SSL_STRINGS,4,2 ; @OPENSSL_INIT_LOAD_SSL_STRINGS
	.comm	_SSL_F_SSL_SESSION_NEW,4,2      ; @SSL_F_SSL_SESSION_NEW
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_CRYPTO_EX_INDEX_SSL_SESSION,4,2 ; @CRYPTO_EX_INDEX_SSL_SESSION
.subsections_via_symbols
