	.file	"extr_pcxhr_hwdep.c_pcxhr_start_pipes.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pcxhr_start_pipes, @function
pcxhr_start_pipes:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR [rdi]
	test	edx, edx
	jle	.L7
	mov	rax, QWORD PTR 8[rdi]
	sub	edx, 1
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	r8d, r8d
	xor	r11d, r11d
	mov	r9d, 1
	lea	r10, 8[rax]
	lea	rbx, [r10+rdx*8]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR 24[rax], 0
	je	.L3
	mov	ecx, DWORD PTR 16[rax]
	mov	edx, r9d
	sal	edx, cl
	or	r11d, edx
.L3:
	mov	ecx, DWORD PTR [rax]
	test	ecx, ecx
	jle	.L4
	mov	rdx, QWORD PTR 8[rax]
	sub	ecx, 1
	lea	rax, 4[rdx]
	lea	rsi, [rax+rcx*4]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	add	rax, 4
.L5:
	mov	ecx, DWORD PTR [rdx]
	mov	edx, r9d
	sal	edx, cl
	or	r8d, edx
	mov	rdx, rax
	cmp	rax, rsi
	jne	.L15
.L4:
	mov	rax, r10
	cmp	r10, rbx
	je	.L2
	add	r10, 8
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	mov	ecx, 1
	mov	edx, r8d
	mov	esi, r11d
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 8
	jmp	pcxhr_set_pipe_state@PLT
.L7:
	xor	r8d, r8d
	xor	r11d, r11d
	mov	ecx, 1
	mov	edx, r8d
	mov	esi, r11d
	jmp	pcxhr_set_pipe_state@PLT
	.cfi_endproc
.LFE0:
	.size	pcxhr_start_pipes, .-pcxhr_start_pipes
	.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_pcxhr_hwdep.c_pcxhr_start_pipes.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcxhr_start_pipes, %function
pcxhr_start_pipes:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r0]
	mov	r2, #0
	cmp	r6, #0
	ble	.L7
	mov	r4, #1
	mov	r1, r2
	ldr	r5, [r0, #4]
	sub	r5, r5, #4
	add	r6, r5, r6, lsl #2
.L6:
	ldr	r3, [r5, #4]!
	ldr	ip, [r3, #12]
	ldr	lr, [r3]
	cmp	ip, #0
	ldrne	ip, [r3, #8]
	orrne	r1, r1, r4, lsl ip
	cmp	lr, #0
	ble	.L4
	ldr	r3, [r3, #4]
	sub	r3, r3, #4
	add	lr, r3, lr, lsl #2
.L5:
	ldr	ip, [r3, #4]!
	cmp	r3, lr
	orr	r2, r2, r4, lsl ip
	bne	.L5
.L4:
	cmp	r5, r6
	bne	.L6
	pop	{r4, r5, r6, lr}
	mov	r3, #1
	b	pcxhr_set_pipe_state
.L7:
	mov	r1, r2
	pop	{r4, r5, r6, lr}
	mov	r3, #1
	b	pcxhr_set_pipe_state
	.size	pcxhr_start_pipes, .-pcxhr_start_pipes
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
