	.file	"extr_ssl_cli.c_ssl_cli_parse_session_ticket_ext.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"non-matching session ticket extension"
	.text
	.p2align 4
	.type	ssl_cli_parse_session_ticket_ext, @function
ssl_cli_parse_session_ticket_ext:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR 8[rdi]
	mov	rbp, rdi
	mov	rcx, QWORD PTR MBEDTLS_SSL_SESSION_TICKETS_DISABLED[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L5
	test	rdx, rdx
	jne	.L5
	mov	rax, QWORD PTR [rdi]
	mov	DWORD PTR [rax], 1
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	edi, 1
	call	MBEDTLS_SSL_DEBUG_MSG@PLT
	mov	edx, DWORD PTR MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE[rip]
	mov	esi, DWORD PTR MBEDTLS_SSL_ALERT_LEVEL_FATAL[rip]
	mov	rdi, rbp
	call	mbedtls_ssl_send_alert_message@PLT
	mov	eax, DWORD PTR MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ssl_cli_parse_session_ticket_ext, .-ssl_cli_parse_session_ticket_ext
	.comm	MBEDTLS_SSL_SESSION_TICKETS_DISABLED,8,8
	.comm	MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE,4,4
	.comm	MBEDTLS_SSL_ALERT_LEVEL_FATAL,4,4
	.comm	MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO,4,4
	.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_ssl_cli.c_ssl_cli_parse_session_ticket_ext.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"non-matching session ticket extension\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_cli_parse_session_ticket_ext, %function
ssl_cli_parse_session_ticket_ext:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	r2, r2, #0
	movne	r2, #1
	ldr	r3, [r0, #4]
	ldr	r1, .L7
	push	{r4, lr}
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r0, [r1]
	cmp	r3, r0
	movne	r0, r2
	orreq	r0, r2, #1
	cmp	r0, #0
	bne	.L6
	mov	r2, #1
	ldr	r3, [r4]
	str	r2, [r3]
	pop	{r4, pc}
.L6:
	ldr	r1, .L7+4
	mov	r0, #1
	bl	MBEDTLS_SSL_DEBUG_MSG
	ldr	r3, .L7+8
	ldr	r2, .L7+12
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r2, [r2]
	bl	mbedtls_ssl_send_alert_message
	ldr	r3, .L7+16
	ldr	r0, [r3]
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	MBEDTLS_SSL_SESSION_TICKETS_DISABLED
	.word	.LC0
	.word	MBEDTLS_SSL_ALERT_LEVEL_FATAL
	.word	MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE
	.word	MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO
	.size	ssl_cli_parse_session_ticket_ext, .-ssl_cli_parse_session_ticket_ext
	.comm	MBEDTLS_SSL_SESSION_TICKETS_DISABLED,4,4
	.comm	MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE,4,4
	.comm	MBEDTLS_SSL_ALERT_LEVEL_FATAL,4,4
	.comm	MBEDTLS_ERR_SSL_BAD_HS_SERVER_HELLO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
