	.file	"extr_common.c_qce_config_reg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qce_config_reg, @function
qce_config_reg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	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, 8
	.cfi_def_cfa_offset 64
	mov	eax, DWORD PTR [rdi]
	mov	ecx, DWORD PTR REQ_SIZE_SHIFT[rip]
	mov	ebx, DWORD PTR 4[rdi]
	mov	edi, DWORD PTR MASK_DOUT_INTR_SHIFT[rip]
	sar	eax, 3
	sub	eax, 1
	sal	eax, cl
	and	eax, DWORD PTR REQ_SIZE_MASK[rip]
	mov	r14d, eax
	call	BIT@PLT
	mov	edi, DWORD PTR MASK_DIN_INTR_SHIFT[rip]
	mov	r13d, eax
	call	BIT@PLT
	mov	edi, DWORD PTR MASK_OP_DONE_INTR_SHIFT[rip]
	mov	r12d, eax
	call	BIT@PLT
	mov	edi, DWORD PTR MASK_ERR_INTR_SHIFT[rip]
	mov	ebp, eax
	call	BIT@PLT
	mov	ecx, DWORD PTR PIPE_SET_SELECT_SHIFT[rip]
	mov	r8d, eax
	mov	eax, ebx
	sal	eax, cl
	and	eax, DWORD PTR PIPE_SET_SELECT_MASK[rip]
	or	eax, r14d
	or	eax, r13d
	or	eax, r12d
	mov	r12d, DWORD PTR HIGH_SPD_EN_N_SHIFT[rip]
	or	eax, ebp
	or	eax, r8d
	not	r12d
	and	r12d, eax
	test	r15d, r15d
	jne	.L8
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR LITTLE_ENDIAN_MODE_SHIFT[rip]
	call	BIT@PLT
	or	r12d, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	qce_config_reg, .-qce_config_reg
	.comm	REQ_SIZE_SHIFT,4,4
	.comm	REQ_SIZE_MASK,4,4
	.comm	PIPE_SET_SELECT_SHIFT,4,4
	.comm	PIPE_SET_SELECT_MASK,4,4
	.comm	MASK_OP_DONE_INTR_SHIFT,4,4
	.comm	MASK_ERR_INTR_SHIFT,4,4
	.comm	MASK_DOUT_INTR_SHIFT,4,4
	.comm	MASK_DIN_INTR_SHIFT,4,4
	.comm	LITTLE_ENDIAN_MODE_SHIFT,4,4
	.comm	HIGH_SPD_EN_N_SHIFT,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_common.c_qce_config_reg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qce_config_reg, %function
qce_config_reg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	lr, r0
	ldr	ip, [r0]
	ldr	r2, .L9
	ldr	r0, .L9+4
	ldr	r3, .L9+8
	ldr	r7, [r0]
	ldr	r2, [r2]
	asr	ip, ip, #3
	ldr	r0, [r3]
	sub	ip, ip, #1
	and	r7, r2, ip, lsl r7
	mov	r8, r1
	ldr	r9, [lr, #4]
	bl	BIT
	ldr	r2, .L9+12
	mov	r6, r0
	ldr	r0, [r2]
	bl	BIT
	ldr	r2, .L9+16
	mov	r5, r0
	ldr	r0, [r2]
	bl	BIT
	ldr	r2, .L9+20
	mov	r4, r0
	ldr	r0, [r2]
	bl	BIT
	ldr	r3, .L9+24
	ldr	r2, .L9+28
	ldr	r3, [r3]
	ldr	r2, [r2]
	cmp	r8, #0
	and	r2, r2, r9, lsl r3
	orr	r2, r2, r7
	orr	r3, r2, r6
	ldr	r2, .L9+32
	orr	r3, r3, r5
	orr	r3, r3, r4
	ldr	r4, [r2]
	orr	r3, r0, r3
	bic	r4, r3, r4
	bne	.L8
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	r3, .L9+36
	ldr	r0, [r3]
	bl	BIT
	orr	r4, r4, r0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	.align	2
.L9:
	.word	REQ_SIZE_MASK
	.word	REQ_SIZE_SHIFT
	.word	MASK_DOUT_INTR_SHIFT
	.word	MASK_DIN_INTR_SHIFT
	.word	MASK_OP_DONE_INTR_SHIFT
	.word	MASK_ERR_INTR_SHIFT
	.word	PIPE_SET_SELECT_SHIFT
	.word	PIPE_SET_SELECT_MASK
	.word	HIGH_SPD_EN_N_SHIFT
	.word	LITTLE_ENDIAN_MODE_SHIFT
	.size	qce_config_reg, .-qce_config_reg
	.comm	REQ_SIZE_SHIFT,4,4
	.comm	REQ_SIZE_MASK,4,4
	.comm	PIPE_SET_SELECT_SHIFT,4,4
	.comm	PIPE_SET_SELECT_MASK,4,4
	.comm	MASK_OP_DONE_INTR_SHIFT,4,4
	.comm	MASK_ERR_INTR_SHIFT,4,4
	.comm	MASK_DOUT_INTR_SHIFT,4,4
	.comm	MASK_DIN_INTR_SHIFT,4,4
	.comm	LITTLE_ENDIAN_MODE_SHIFT,4,4
	.comm	HIGH_SPD_EN_N_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
