	.file	"extr_ssl_tls.c_mbedtls_ssl_get_session.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mbedtls_ssl_get_session
	.type	mbedtls_ssl_get_session, @function
mbedtls_ssl_get_session:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8, rsi
	test	rdi, rdi
	je	.L2
	test	rsi, rsi
	je	.L2
	mov	rsi, QWORD PTR [rdi]
	test	rsi, rsi
	je	.L2
	mov	rax, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR MBEDTLS_SSL_IS_CLIENT[rip]
	cmp	QWORD PTR [rax], rdx
	je	.L3
.L2:
	mov	eax, DWORD PTR MBEDTLS_ERR_SSL_BAD_INPUT_DATA[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r8
	jmp	ssl_session_copy@PLT
	.cfi_endproc
.LFE0:
	.size	mbedtls_ssl_get_session, .-mbedtls_ssl_get_session
	.comm	MBEDTLS_SSL_IS_CLIENT,8,8
	.comm	MBEDTLS_ERR_SSL_BAD_INPUT_DATA,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_tls.c_mbedtls_ssl_get_session.c"
	.text
	.align	2
	.global	mbedtls_ssl_get_session
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_ssl_get_session, %function
mbedtls_ssl_get_session:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r1, #0
	cmpne	r0, #0
	mov	r3, r1
	beq	.L2
	ldr	r1, [r0]
	cmp	r1, #0
	beq	.L2
	ldr	r0, [r0, #4]
	ldr	r2, .L10
	ldr	r0, [r0]
	ldr	r2, [r2]
	cmp	r0, r2
	beq	.L3
.L2:
	ldr	r3, .L10+4
	ldr	r0, [r3]
	bx	lr
.L3:
	mov	r0, r3
	b	ssl_session_copy
.L11:
	.align	2
.L10:
	.word	MBEDTLS_SSL_IS_CLIENT
	.word	MBEDTLS_ERR_SSL_BAD_INPUT_DATA
	.size	mbedtls_ssl_get_session, .-mbedtls_ssl_get_session
	.comm	MBEDTLS_SSL_IS_CLIENT,4,4
	.comm	MBEDTLS_ERR_SSL_BAD_INPUT_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
