	.file	"extr_tls_device.c_tls_device_resync_tx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tls_device_resync_tx, @function
tls_device_resync_tx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	tcp_write_queue_tail@PLT
	test	rax, rax
	je	.L2
	mov	rdi, rax
	call	TCP_SKB_CB@PLT
	mov	DWORD PTR [rax], 1
.L2:
	lea	rdi, device_offload_lock[rip]
	mov	r14, QWORD PTR 16[rbp]
	call	down_read@PLT
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	je	.L11
	mov	rax, QWORD PTR [rdi]
	mov	rsi, r12
	mov	r8d, DWORD PTR TLS_OFFLOAD_CTX_DIR_TX[rip]
	mov	rcx, r14
	mov	edx, r13d
	call	[QWORD PTR [rax]]
	lea	rdi, device_offload_lock[rip]
	mov	r12d, eax
	call	up_read@PLT
	test	r12d, r12d
	je	.L4
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rdi, device_offload_lock[rip]
	call	up_read@PLT
.L4:
	mov	edi, DWORD PTR TLS_TX_SYNC_SCHED[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	clear_bit_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	tls_device_resync_tx, .-tls_device_resync_tx
	.comm	device_offload_lock,4,4
	.comm	TLS_TX_SYNC_SCHED,4,4
	.comm	TLS_OFFLOAD_CTX_DIR_TX,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_tls_device.c_tls_device_resync_tx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tls_device_resync_tx, %function
tls_device_resync_tx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r4, r1
	mov	r6, r2
	mov	r5, r0
	bl	tcp_write_queue_tail
	cmp	r0, #0
	beq	.L2
	bl	TCP_SKB_CB
	mov	r3, #1
	str	r3, [r0]
.L2:
	ldr	r0, .L12
	ldr	r7, [r4, #8]
	bl	down_read
	ldr	r0, [r4, #4]
	cmp	r0, #0
	beq	.L11
	ldr	r3, .L12+4
	ldr	ip, [r0]
	ldr	r2, [r3]
	mov	r1, r5
	str	r2, [sp]
	ldr	r5, [ip]
	mov	r3, r7
	mov	r2, r6
	blx	r5
	mov	r5, r0
	ldr	r0, .L12
	bl	up_read
	cmp	r5, #0
	beq	.L4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r0, .L12
	bl	up_read
.L4:
	mov	r1, r4
	ldr	r3, .L12+8
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	clear_bit_unlock
.L13:
	.align	2
.L12:
	.word	device_offload_lock
	.word	TLS_OFFLOAD_CTX_DIR_TX
	.word	TLS_TX_SYNC_SCHED
	.size	tls_device_resync_tx, .-tls_device_resync_tx
	.comm	device_offload_lock,4,4
	.comm	TLS_TX_SYNC_SCHED,4,4
	.comm	TLS_OFFLOAD_CTX_DIR_TX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
