	.file	"extr_cls_api.c_tcf_block_offload_bind.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Bind to offloaded block failed as dev has offload disabled"
	.text
	.p2align 4
	.type	tcf_block_offload_bind, @function
tcf_block_offload_bind:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rax, QWORD PTR [rsi]
	mov	rbp, rdi
	mov	r15, QWORD PTR [rax]
	call	down_write@PLT
	mov	rax, QWORD PTR [r15]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L12
.L2:
	mov	rdi, rbp
	call	tcf_block_offload_in_use@PLT
	test	rax, rax
	je	.L6
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	neg	r12d
.L4:
	mov	rdi, rbp
	call	up_write@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	add	DWORD PTR 4[rbp], 1
	mov	ecx, DWORD PTR FLOW_BLOCK_BIND[rip]
	mov	r8, r13
	mov	rdx, r14
	mov	rsi, r15
	mov	rdi, rbp
	xor	r12d, r12d
	call	tc_indr_block_call@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r15
	call	tc_can_offload@PLT
	test	eax, eax
	jne	.L3
	mov	rdi, rbp
	call	tcf_block_offload_in_use@PLT
	test	rax, rax
	jne	.L13
.L3:
	mov	ecx, DWORD PTR FLOW_BLOCK_BIND[rip]
	mov	r8, r13
	mov	rdx, r14
	mov	rsi, r15
	mov	rdi, rbp
	call	tcf_block_offload_cmd@PLT
	mov	r12d, eax
	add	eax, DWORD PTR EOPNOTSUPP[rip]
	je	.L2
	test	r12d, r12d
	jne	.L4
	mov	ecx, DWORD PTR FLOW_BLOCK_BIND[rip]
	mov	r8, r13
	mov	rdx, r14
	mov	rsi, r15
	mov	rdi, rbp
	call	tc_indr_block_call@PLT
	mov	rdi, rbp
	call	up_write@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	NL_SET_ERR_MSG@PLT
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	neg	r12d
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	tcf_block_offload_bind, .-tcf_block_offload_bind
	.comm	FLOW_BLOCK_BIND,4,4
	.comm	EOPNOTSUPP,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_cls_api.c_tcf_block_offload_bind.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Bind to offloaded block failed as dev has offload d"
	.ascii	"isabled\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcf_block_offload_bind, %function
tcf_block_offload_bind:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r1, [r1]
	sub	sp, sp, #12
	ldr	r7, [r1]
	mov	r5, r2
	mov	r6, r3
	mov	r8, r0
	bl	down_write
	ldr	ip, [r7]
	ldr	ip, [ip]
	cmp	ip, #0
	bne	.L15
.L2:
	mov	r0, r8
	bl	tcf_block_offload_in_use
	subs	r4, r0, #0
	beq	.L6
	ldr	r3, .L17
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L4:
	mov	r0, r8
	bl	up_write
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L6:
	ldr	r3, [r8, #4]
	ldr	r0, .L17+4
	str	r6, [sp]
	add	r3, r3, #1
	str	r3, [r8, #4]
	mov	r2, r5
	ldr	r3, [r0]
	mov	r1, r7
	mov	r0, r8
	bl	tc_indr_block_call
	b	.L4
.L15:
	mov	r0, r7
	bl	tc_can_offload
	cmp	r0, #0
	bne	.L3
	mov	r0, r8
	bl	tcf_block_offload_in_use
	cmp	r0, #0
	bne	.L16
.L3:
	ldr	r9, .L17+4
	mov	r2, r5
	ldr	r3, [r9]
	mov	r1, r7
	mov	r0, r8
	str	r6, [sp]
	bl	tcf_block_offload_cmd
	ldr	r3, .L17
	mov	r4, r0
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L2
	cmp	r0, #0
	bne	.L4
	mov	r2, r5
	mov	r1, r7
	ldr	r3, [r9]
	mov	r0, r8
	str	r6, [sp]
	bl	tc_indr_block_call
	mov	r0, r8
	bl	up_write
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L16:
	mov	r0, r6
	ldr	r1, .L17+8
	bl	NL_SET_ERR_MSG
	ldr	r3, .L17
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L4
.L18:
	.align	2
.L17:
	.word	EOPNOTSUPP
	.word	FLOW_BLOCK_BIND
	.word	.LC0
	.size	tcf_block_offload_bind, .-tcf_block_offload_bind
	.comm	FLOW_BLOCK_BIND,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
