	.file	"extr_cx18-ioctl.c_check_service_set.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	check_service_set, @function
check_service_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r15d, r15d
	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, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rdx, QWORD PTR [rdi]
	mov	QWORD PTR [rsp], rdi
	mov	QWORD PTR 8[rsp], 0
.L2:
	mov	rax, QWORD PTR 8[rsp]
	xor	ebx, ebx
	mov	r14d, eax
	lea	r13, 0[0+rax*8]
	mov	rax, QWORD PTR [rdx+rax*8]
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rbp, [rax+rbx*4]
	mov	esi, ebx
	mov	ecx, r12d
	mov	edi, r14d
	mov	edx, DWORD PTR 0[rbp]
	call	select_service_from_set@PLT
	mov	DWORD PTR 0[rbp], eax
	mov	rax, QWORD PTR [rsp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR [rdx+r13]
	or	r15d, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	cmp	rbx, 24
	jne	.L3
	cmp	QWORD PTR 8[rsp], 1
	je	.L4
	mov	QWORD PTR 8[rsp], 1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	test	r15d, r15d
	setne	al
	add	rsp, 24
	.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
	.cfi_endproc
.LFE0:
	.size	check_service_set, .-check_service_set
	.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_cx18-ioctl.c_check_service_set.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_service_set, %function
check_service_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, #0
	mov	r8, r0
	mov	r10, r1
	mov	r7, r6
	ldr	r2, [r0]
.L2:
	mov	r4, #0
	ldr	r5, [r2, r7, lsl #2]
	lsl	r9, r7, #2
.L3:
	ldr	r2, [r5, r4, lsl #2]
	mov	r1, r4
	mov	r3, r10
	mov	r0, r7
	bl	select_service_from_set
	ldr	r2, [r8]
	str	r0, [r5, r4, lsl #2]
	ldr	r5, [r2, r9]
	ldr	ip, [r5, r4, lsl #2]
	add	r4, r4, #1
	cmp	r4, #24
	orr	r6, r6, ip
	bne	.L3
	cmp	r7, #1
	movne	r7, #1
	bne	.L2
.L4:
	subs	r0, r6, #0
	movne	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	check_service_set, .-check_service_set
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
