	.file	"extr_host.c_anybuss_read_fbctrl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	anybuss_read_fbctrl
	.type	anybuss_read_fbctrl, @function
anybuss_read_fbctrl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	r14d, r14d
	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
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rcx, rcx
	jne	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	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
.L10:
	.cfi_restore_state
	mov	r13d, esi
	mov	r12, rcx
	mov	rbp, rdx
	mov	ecx, DWORD PTR MAX_FBCTRL_AREA_SZ[rip]
	mov	edx, DWORD PTR FBCTRL_AREA[rip]
	mov	r14, QWORD PTR [rdi]
	mov	rsi, r12
	mov	edi, r13d
	call	area_range_ok@PLT
	test	eax, eax
	jne	.L3
	mov	r14d, DWORD PTR EFAULT[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	r14d
	pop	r13
	.cfi_def_cfa_offset 16
	mov	eax, r14d
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[r14]
	mov	esi, DWORD PTR IND_AX_FBCTRL[rip]
	mov	edx, r13d
	mov	rcx, r12
	call	create_area_reader@PLT
	mov	r13, rax
	test	rax, rax
	je	.L11
	mov	esi, DWORD PTR 8[r14]
	lea	rdx, 4[r14]
	mov	rcx, r14
	mov	rdi, rax
	call	ab_task_enqueue_wait@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L5
	mov	esi, DWORD PTR 0[r13]
	mov	rdx, r12
	mov	rdi, rbp
	call	memcpy@PLT
.L5:
	mov	rdi, r13
	call	ab_task_put@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	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
.L11:
	.cfi_restore_state
	mov	r14d, DWORD PTR ENOMEM[rip]
	neg	r14d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	anybuss_read_fbctrl, .-anybuss_read_fbctrl
	.comm	MAX_FBCTRL_AREA_SZ,4,4
	.comm	IND_AX_FBCTRL,4,4
	.comm	FBCTRL_AREA,4,4
	.comm	ENOMEM,4,4
	.comm	EFAULT,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_host.c_anybuss_read_fbctrl.c"
	.text
	.align	2
	.global	anybuss_read_fbctrl
	.syntax unified
	.arm
	.fpu softvfp
	.type	anybuss_read_fbctrl, %function
anybuss_read_fbctrl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r3, #0
	moveq	r4, r5
	bne	.L9
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r4, r1
	mov	ip, r0
	mov	r6, r2
	ldr	r3, .L11
	ldr	r2, .L11+4
	mov	r1, r5
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r8, [ip]
	bl	area_range_ok
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L11+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldr	r3, .L11+12
	mov	r2, r4
	ldr	r1, [r3]
	ldr	r0, [r8, #12]
	mov	r3, r5
	bl	create_area_reader
	subs	r7, r0, #0
	beq	.L10
	mov	r3, r8
	ldr	r1, [r8, #8]
	add	r2, r8, #4
	bl	ab_task_enqueue_wait
	subs	r4, r0, #0
	bne	.L5
	mov	r2, r5
	mov	r0, r6
	ldr	r1, [r7]
	bl	memcpy
.L5:
	mov	r0, r7
	bl	ab_task_put
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, .L11+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L12:
	.align	2
.L11:
	.word	MAX_FBCTRL_AREA_SZ
	.word	FBCTRL_AREA
	.word	EFAULT
	.word	IND_AX_FBCTRL
	.word	ENOMEM
	.size	anybuss_read_fbctrl, .-anybuss_read_fbctrl
	.comm	MAX_FBCTRL_AREA_SZ,4,4
	.comm	IND_AX_FBCTRL,4,4
	.comm	FBCTRL_AREA,4,4
	.comm	ENOMEM,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
