	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_set_session_ticket_ext     ## -- Begin function SSL_set_session_ticket_ext
	.p2align	4, 0x90
_SSL_set_session_ticket_ext:            ## @SSL_set_session_ticket_ext
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_TLS1_VERSION@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	jl	LBB0_7
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	callq	_OPENSSL_free
	movq	$0, 8(%rbx)
	leal	4(%r14), %edi
	callq	_OPENSSL_malloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movl	%r14d, (%rax)
	movq	%rax, %rdi
	addq	$16, %rdi
	movq	%rdi, 8(%rax)
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	jmp	LBB0_6
LBB0_2:
	movq	_SSL_F_SSL_SET_SESSION_TICKET_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	jmp	LBB0_7
LBB0_5:
	movl	$0, (%rax)
	movq	$0, 8(%rax)
LBB0_6:
	movl	$1, %r12d
LBB0_7:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS1_VERSION,8,3               ## @TLS1_VERSION
	.comm	_SSL_F_SSL_SET_SESSION_TICKET_EXT,4,2 ## @SSL_F_SSL_SET_SESSION_TICKET_EXT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_set_session_ticket_ext     ; -- Begin function SSL_set_session_ticket_ext
	.p2align	2
_SSL_set_session_ticket_ext:            ; @SSL_set_session_ticket_ext
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _TLS1_VERSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TLS1_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_8
LBB0_2:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x0, [x0, #8]
	bl	_OPENSSL_free
	str	xzr, [x21, #8]
	add	w0, w19, #4
	bl	_OPENSSL_malloc
	str	x0, [x21, #8]
	cbz	x0, LBB0_5
; %bb.3:
	cbz	x20, LBB0_6
; %bb.4:
	str	w19, [x0]
	add	x8, x0, #16
	str	x8, [x0, #8]
	mov	x0, x8
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _SSL_F_SSL_SET_SESSION_TICKET_EXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_SSL_SET_SESSION_TICKET_EXT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w0, #0
	b	LBB0_8
LBB0_6:
	str	wzr, [x0]
	str	xzr, [x0, #8]
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS1_VERSION,8,3               ; @TLS1_VERSION
	.comm	_SSL_F_SSL_SET_SESSION_TICKET_EXT,4,2 ; @SSL_F_SSL_SET_SESSION_TICKET_EXT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
