	.file	"extr_input.c_in_unbind_all.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	in_unbind_all
	.type	in_unbind_all, @function
in_unbind_all:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	eax, DWORD PTR IN_BINDTYPE_COUNT[rip]
	mov	DWORD PTR 12[rsp], edi
	mov	DWORD PTR 28[rsp], esi
	test	edi, edi
	js	.L16
	cmp	edx, eax
	jge	.L1
	mov	eax, DWORD PTR 12[rsp]
	mov	DWORD PTR 24[rsp], eax
.L11:
	movsx	r15, DWORD PTR 12[rsp]
	mov	r13d, DWORD PTR 28[rsp]
	sal	r15, 4
	not	r13d
	mov	QWORD PTR 16[rsp], r15
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rbp, QWORD PTR 16[rsp]
	add	rbp, QWORD PTR in_devices[rip]
	mov	r15, QWORD PTR 8[rbp]
	mov	ebx, DWORD PTR 0[rbp]
	test	r15, r15
	je	.L6
	cmp	DWORD PTR 28[rsp], -1
	je	.L7
	test	ebx, ebx
	jle	.L6
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, r14d
	mov	esi, r12d
	add	r14d, 1
	call	IN_BIND_OFFS@PLT
	mov	ecx, DWORD PTR [r15+rax*4]
	mov	r15, QWORD PTR 8[rbp]
	and	ecx, r13d
	mov	DWORD PTR [r15+rax*4], ecx
	cmp	ebx, r14d
	jne	.L9
.L6:
	add	DWORD PTR 12[rsp], 1
	mov	eax, DWORD PTR 12[rsp]
	add	QWORD PTR 16[rsp], 16
	cmp	eax, DWORD PTR 24[rsp]
	jle	.L10
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	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
.L7:
	.cfi_restore_state
	imul	ebx, DWORD PTR IN_BINDTYPE_COUNT[rip]
	xor	esi, esi
	mov	rdi, r15
	lea	edx, 0[0+rbx*4]
	call	memset@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	cmp	edx, eax
	jge	.L1
	mov	eax, DWORD PTR IN_MAX_DEVS[rip]
	sub	eax, 1
	mov	DWORD PTR 24[rsp], eax
	js	.L1
	mov	DWORD PTR 12[rsp], 0
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	in_unbind_all, .-in_unbind_all
	.comm	in_devices,8,8
	.comm	IN_MAX_DEVS,4,4
	.comm	IN_BINDTYPE_COUNT,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_input.c_in_unbind_all.c"
	.text
	.align	2
	.global	in_unbind_all
	.syntax unified
	.arm
	.fpu softvfp
	.type	in_unbind_all, %function
in_unbind_all:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L17
	sub	sp, sp, #12
	subs	r6, r0, #0
	mov	r7, r2
	ldr	r3, [r3]
	str	r1, [sp, #4]
	blt	.L16
	cmp	r2, r3
	strlt	r6, [sp]
	bge	.L1
.L11:
	ldr	r3, [sp, #4]
	ldr	fp, .L17+4
	mvn	r8, r3
.L10:
	ldr	r3, [fp]
	add	r5, r3, r6, lsl #3
	ldr	r10, [r5, #4]
	ldr	r4, [r3, r6, lsl #3]
	cmp	r10, #0
	beq	.L6
	ldr	r3, [sp, #4]
	cmn	r3, #1
	beq	.L7
	cmp	r4, #0
	ble	.L6
	mov	r9, #0
.L9:
	mov	r0, r9
	mov	r1, r7
	bl	IN_BIND_OFFS
	ldr	r3, [r10, r0, lsl #2]
	add	r9, r9, #1
	ldr	r10, [r5, #4]
	and	r3, r3, r8
	cmp	r4, r9
	str	r3, [r10, r0, lsl #2]
	bne	.L9
.L6:
	ldr	r3, [sp]
	add	r6, r6, #1
	cmp	r6, r3
	ble	.L10
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r3, .L17
	mov	r0, r10
	ldr	r3, [r3]
	mov	r1, #0
	mul	r2, r3, r4
	lsl	r2, r2, #2
	bl	memset
	ldr	r3, [sp]
	add	r6, r6, #1
	cmp	r6, r3
	ble	.L10
	b	.L1
.L16:
	cmp	r2, r3
	bge	.L1
	ldr	r3, .L17+8
	ldr	r10, [r3]
	subs	r3, r10, #1
	str	r3, [sp]
	bmi	.L1
	mov	r6, #0
	b	.L11
.L18:
	.align	2
.L17:
	.word	IN_BINDTYPE_COUNT
	.word	in_devices
	.word	IN_MAX_DEVS
	.size	in_unbind_all, .-in_unbind_all
	.comm	in_devices,4,4
	.comm	IN_MAX_DEVS,4,4
	.comm	IN_BINDTYPE_COUNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
