	.file	"extr_s_client.c_new_session_cb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"w"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Error writing session file %s\n"
	.align 8
.LC2:
	.string	"---\nPost-Handshake New Session Ticket arrived:\n"
	.section	.rodata.str1.1
.LC3:
	.string	"---\n"
	.text
	.p2align 4
	.type	new_session_cb, @function
new_session_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	rdi, QWORD PTR sess_out[rip]
	test	rdi, rdi
	je	.L2
	lea	rsi, .LC0[rip]
	call	BIO_new_file@PLT
	mov	r13, rax
	test	rax, rax
	je	.L10
	mov	rdi, rax
	mov	rsi, r12
	call	PEM_write_bio_SSL_SESSION@PLT
	mov	rdi, r13
	call	BIO_free@PLT
.L2:
	mov	rdi, rbp
	call	SSL_version@PLT
	cmp	rax, QWORD PTR TLS1_3_VERSION[rip]
	je	.L11
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR bio_c_out[rip]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	BIO_printf@PLT
	mov	edi, DWORD PTR bio_c_out[rip]
	mov	rsi, r12
	call	SSL_SESSION_print@PLT
	mov	edi, DWORD PTR bio_c_out[rip]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	BIO_printf@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdx, QWORD PTR sess_out[rip]
	mov	edi, DWORD PTR bio_err[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	BIO_printf@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	new_session_cb, .-new_session_cb
	.comm	sess_out,8,8
	.comm	bio_err,4,4
	.comm	bio_c_out,4,4
	.comm	TLS1_3_VERSION,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_s_client.c_new_session_cb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.ascii	"Error writing session file %s\012\000"
	.align	2
.LC2:
	.ascii	"---\012Post-Handshake New Session Ticket arrived:\012"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"---\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_session_cb, %function
new_session_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L12
	mov	r4, r0
	ldr	r0, [r7]
	mov	r5, r1
	cmp	r0, #0
	beq	.L2
	ldr	r1, .L12+4
	bl	BIO_new_file
	subs	r6, r0, #0
	beq	.L10
	mov	r1, r5
	bl	PEM_write_bio_SSL_SESSION
	mov	r0, r6
	bl	BIO_free
.L2:
	mov	r0, r4
	bl	SSL_version
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L11
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r4, .L12+12
	ldr	r1, .L12+16
	ldr	r0, [r4]
	bl	BIO_printf
	mov	r1, r5
	ldr	r0, [r4]
	bl	SSL_SESSION_print
	ldr	r0, [r4]
	ldr	r1, .L12+20
	bl	BIO_printf
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L12+24
	ldr	r2, [r7]
	ldr	r0, [r3]
	ldr	r1, .L12+28
	bl	BIO_printf
	b	.L2
.L13:
	.align	2
.L12:
	.word	sess_out
	.word	.LC0
	.word	TLS1_3_VERSION
	.word	bio_c_out
	.word	.LC2
	.word	.LC3
	.word	bio_err
	.word	.LC1
	.size	new_session_cb, .-new_session_cb
	.comm	sess_out,4,4
	.comm	bio_err,4,4
	.comm	bio_c_out,4,4
	.comm	TLS1_3_VERSION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
