	.file	"extr_ql_hw.c_ql_rdmux.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ql_rdmux, @function
ql_rdmux:
.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
	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	r14d, DWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR 4[rsi]
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR 8[rsi]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR 12[rsi]
	test	eax, eax
	jle	.L8
	lea	rax, 16[rsp]
	mov	r13, rdi
	mov	r12, rsi
	mov	rbx, rdx
	mov	QWORD PTR 8[rsp], rax
	xor	ebp, ebp
	lea	r15, 20[rsp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR 4[rsp]
	mov	ecx, 1
	mov	rdi, r13
	call	ql_rdwr_indreg32@PLT
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR 20[rsp]
	mov	edx, DWORD PTR 16[rsp]
	add	rbx, 8
	add	ebp, 1
	mov	DWORD PTR -8[rbx], eax
	add	eax, DWORD PTR 16[r12]
	mov	DWORD PTR 20[rsp], eax
	mov	DWORD PTR -4[rbx], edx
	cmp	DWORD PTR 12[r12], ebp
	jle	.L12
.L6:
	xor	ecx, ecx
	mov	rdx, r15
	mov	esi, r14d
	mov	rdi, r13
	call	ql_rdwr_indreg32@PLT
	test	eax, eax
	je	.L3
.L8:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L13
	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
.L12:
	.cfi_restore_state
	lea	eax, 0[0+rbp*8]
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ql_rdmux, .-ql_rdmux
	.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_ql_hw.c_ql_rdmux.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ql_rdmux, %function
ql_rdmux:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r1
	ldr	r1, [r1, #12]
	ldr	r3, [r6, #4]
	cmp	r1, #0
	ldr	r1, .L14
	sub	sp, sp, #20
	ldr	r1, [r1]
	str	r1, [sp, #12]
	mov	r1,#0
	ldr	r8, [r6]
	ldr	r9, [r6, #8]
	str	r3, [sp, #8]
	ble	.L8
	mov	r7, r0
	mov	r5, #0
	add	r4, r2, #8
	b	.L6
.L3:
	mov	r3, #1
	mov	r1, r9
	mov	r0, r7
	add	r2, sp, #4
	bl	ql_rdwr_indreg32
	cmp	r0, #0
	bne	.L8
	ldr	r2, [sp, #8]
	ldr	r3, [sp, #4]
	add	r5, r5, #1
	stmdb	r4, {r2, r3}
	ldr	r3, [r6, #16]
	ldr	r1, [r6, #12]
	add	r3, r3, r2
	cmp	r1, r5
	add	r4, r4, #8
	str	r3, [sp, #8]
	ble	.L12
.L6:
	mov	r3, #0
	mov	r1, r8
	mov	r0, r7
	add	r2, sp, #8
	bl	ql_rdwr_indreg32
	cmp	r0, #0
	beq	.L3
.L8:
	mov	r0, #0
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	lsl	r0, r5, #3
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	ql_rdmux, .-ql_rdmux
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
