	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_stoc_session_ticket ## -- Begin function tls_construct_stoc_session_ticket
	.p2align	4, 0x90
_tls_construct_stoc_session_ticket:     ## @tls_construct_stoc_session_ticket
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	movq	%rbx, %rdi
	callq	_tls_use_ticket
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	_TLSEXT_TYPE_session_ticket@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_EXT_RETURN_SENT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	$0, (%rbx)
	movq	_EXT_RETURN_NOT_SENT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_STOC_SESSION_TICKET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	movq	_EXT_RETURN_FAIL@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXT_RETURN_NOT_SENT,4,2        ## @EXT_RETURN_NOT_SENT
	.comm	_TLSEXT_TYPE_session_ticket,4,2 ## @TLSEXT_TYPE_session_ticket
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_STOC_SESSION_TICKET,4,2 ## @SSL_F_TLS_CONSTRUCT_STOC_SESSION_TICKET
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_FAIL,4,2            ## @EXT_RETURN_FAIL
	.comm	_EXT_RETURN_SENT,4,2            ## @EXT_RETURN_SENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_stoc_session_ticket ; -- Begin function tls_construct_stoc_session_ticket
	.p2align	2
_tls_construct_stoc_session_ticket:     ; @tls_construct_stoc_session_ticket
	.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
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x0, x19
	bl	_tls_use_ticket
	cbz	w0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _TLSEXT_TYPE_session_ticket@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLSEXT_TYPE_session_ticket@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	w1, #0
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _EXT_RETURN_SENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXT_RETURN_SENT@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	str	xzr, [x19]
Lloh5:
	adrp	x8, _EXT_RETURN_NOT_SENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXT_RETURN_NOT_SENT@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_STOC_SESSION_TICKET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_STOC_SESSION_TICKET@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
Lloh16:
	adrp	x8, _EXT_RETURN_FAIL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EXT_RETURN_FAIL@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EXT_RETURN_NOT_SENT,4,2        ; @EXT_RETURN_NOT_SENT
	.comm	_TLSEXT_TYPE_session_ticket,4,2 ; @TLSEXT_TYPE_session_ticket
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_CONSTRUCT_STOC_SESSION_TICKET,4,2 ; @SSL_F_TLS_CONSTRUCT_STOC_SESSION_TICKET
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_EXT_RETURN_FAIL,4,2            ; @EXT_RETURN_FAIL
	.comm	_EXT_RETURN_SENT,4,2            ; @EXT_RETURN_SENT
.subsections_via_symbols
