	.file	"extr_uio_fsl_elbc_gpcm.c_check_of_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid bank\n"
.LC1:
	.string	"unsupported mode\n"
.LC2:
	.string	"address mask / size mismatch\n"
.LC3:
	.string	"base address mismatch\n"
	.text
	.p2align 4
	.type	check_of_data, @function
check_of_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR MAX_BANKS[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	cmp	QWORD PTR [rdi], rax
	jge	.L9
	mov	eax, DWORD PTR BR_MSEL[rip]
	mov	r12d, edx
	and	eax, edx
	cmp	eax, DWORD PTR BR_MS_GPCM[rip]
	je	.L4
	mov	edi, DWORD PTR 8[rdi]
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r14d, DWORD PTR OR_GPCM_AM[rip]
	mov	rdi, rsi
	mov	r13, rsi
	mov	ebp, ecx
	and	r14d, ecx
	neg	r14d
	call	resource_size@PLT
	cmp	r14d, eax
	jne	.L10
	mov	edi, DWORD PTR 0[r13]
	and	ebp, DWORD PTR BR_BA[rip]
	and	ebp, r12d
	call	fsl_lbc_addr@PLT
	mov	r8d, eax
	xor	eax, eax
	cmp	ebp, r8d
	je	.L1
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, .LC3[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR 8[rdi]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, .LC2[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR ENODEV[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	check_of_data, .-check_of_data
	.comm	OR_GPCM_AM,4,4
	.comm	MAX_BANKS,8,8
	.comm	ENODEV,4,4
	.comm	BR_MS_GPCM,4,4
	.comm	BR_MSEL,4,4
	.comm	BR_BA,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_uio_fsl_elbc_gpcm.c_check_of_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid bank\012\000"
	.align	2
.LC1:
	.ascii	"unsupported mode\012\000"
	.align	2
.LC2:
	.ascii	"address mask / size mismatch\012\000"
	.align	2
.LC3:
	.ascii	"base address mismatch\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_of_data, %function
check_of_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, .L12
	ldr	ip, [r4]
	ldr	r0, [r0]
	cmp	ip, r0
	bge	.L9
	mov	r7, r2
	ldr	r2, .L12+4
	mov	r5, r3
	ldr	r3, .L12+8
	ldr	r0, [r2]
	ldr	r3, [r3]
	and	r0, r0, r7
	cmp	r0, r3
	beq	.L4
	ldr	r0, [r4, #4]
	ldr	r1, .L12+12
	bl	dev_err
	ldr	r3, .L12+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, .L12+20
	mov	r0, r1
	ldr	r6, [r3]
	mov	r8, r1
	bl	resource_size
	and	r6, r6, r5
	rsb	r6, r6, #0
	cmp	r6, r0
	bne	.L10
	ldr	r3, .L12+24
	ldr	r0, [r8]
	ldr	r3, [r3]
	and	r3, r3, r5
	and	r7, r7, r3
	bl	fsl_lbc_addr
	cmp	r7, r0
	bne	.L11
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r0, [r4, #4]
	ldr	r1, .L12+28
	bl	dev_err
	ldr	r3, .L12+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r0, [r4, #4]
	ldr	r1, .L12+32
	bl	dev_err
	ldr	r3, .L12+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r0, [r4, #4]
	ldr	r1, .L12+36
	bl	dev_err
	ldr	r3, .L12+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	MAX_BANKS
	.word	BR_MSEL
	.word	BR_MS_GPCM
	.word	.LC1
	.word	ENODEV
	.word	OR_GPCM_AM
	.word	BR_BA
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.size	check_of_data, .-check_of_data
	.comm	OR_GPCM_AM,4,4
	.comm	MAX_BANKS,4,4
	.comm	ENODEV,4,4
	.comm	BR_MS_GPCM,4,4
	.comm	BR_MSEL,4,4
	.comm	BR_BA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
