	.file	"extr_vchiq_arm.c_vchiq_arm_init_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vchiq_arm_init_state
	.type	vchiq_arm_init_state, @function
vchiq_arm_init_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12d, DWORD PTR VCHIQ_SUCCESS[rip]
	test	rsi, rsi
	je	.L1
	mov	rbx, rsi
	mov	rbp, rdi
	lea	rdi, 68[rsi]
	call	rwlock_init@PLT
	lea	rdi, 64[rbx]
	lea	r13, 40[rbx]
	call	init_completion@PLT
	lea	rdi, 60[rbx]
	xor	esi, esi
	call	atomic_set@PLT
	lea	rdi, 56[rbx]
	xor	esi, esi
	call	atomic_set@PLT
	xor	esi, esi
	lea	rdi, 52[rbx]
	call	atomic_set@PLT
	lea	rdi, 48[rbx]
	call	init_completion@PLT
	lea	rdi, 44[rbx]
	call	init_completion@PLT
	mov	esi, DWORD PTR VC_RESUME_RESUMED[rip]
	mov	rdi, rbx
	call	set_resume_state@PLT
	mov	rdi, r13
	call	init_completion@PLT
	mov	rdi, r13
	lea	r13, 36[rbx]
	call	complete_all@PLT
	mov	rdi, r13
	call	init_completion@PLT
	mov	rdi, r13
	call	complete_all@PLT
	mov	eax, DWORD PTR SUSPEND_TIMER_TIMEOUT_MS[rip]
	lea	rdi, 8[rbx]
	mov	QWORD PTR 24[rbx], 0
	mov	DWORD PTR 32[rbx], eax
	call	init_timer@PLT
	mov	eax, DWORD PTR suspend_timer_callback[rip]
	mov	QWORD PTR 8[rbx], rbp
	mov	QWORD PTR [rbx], 0
	mov	DWORD PTR 16[rbx], eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	vchiq_arm_init_state, .-vchiq_arm_init_state
	.comm	suspend_timer_callback,4,4
	.comm	VC_RESUME_RESUMED,4,4
	.comm	VCHIQ_SUCCESS,4,4
	.comm	SUSPEND_TIMER_TIMEOUT_MS,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_vchiq_arm.c_vchiq_arm_init_state.c"
	.text
	.align	2
	.global	vchiq_arm_init_state
	.syntax unified
	.arm
	.fpu softvfp
	.type	vchiq_arm_init_state, %function
vchiq_arm_init_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, r7, r8, lr}
	subs	r4, r1, #0
	ldr	r5, [r3]
	beq	.L1
	mov	r7, #0
	mov	r6, r0
	add	r0, r4, #52
	bl	rwlock_init
	add	r0, r4, #48
	bl	init_completion
	mov	r1, r7
	add	r0, r4, #44
	bl	atomic_set
	mov	r1, r7
	add	r0, r4, #40
	bl	atomic_set
	mov	r1, r7
	add	r0, r4, #36
	bl	atomic_set
	add	r0, r4, #32
	bl	init_completion
	add	r0, r4, #28
	bl	init_completion
	ldr	r3, .L8+4
	add	r8, r4, #24
	ldr	r1, [r3]
	mov	r0, r4
	bl	set_resume_state
	mov	r0, r8
	bl	init_completion
	mov	r0, r8
	add	r8, r4, #20
	bl	complete_all
	mov	r0, r8
	bl	init_completion
	mov	r0, r8
	bl	complete_all
	ldr	r3, .L8+8
	str	r7, [r4, #12]
	ldr	r3, [r3]
	add	r0, r4, #4
	str	r3, [r4, #16]
	bl	init_timer
	ldr	r3, .L8+12
	str	r6, [r4, #4]
	ldr	r3, [r3]
	str	r7, [r4]
	str	r3, [r4, #8]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	VCHIQ_SUCCESS
	.word	VC_RESUME_RESUMED
	.word	SUSPEND_TIMER_TIMEOUT_MS
	.word	suspend_timer_callback
	.size	vchiq_arm_init_state, .-vchiq_arm_init_state
	.comm	suspend_timer_callback,4,4
	.comm	VC_RESUME_RESUMED,4,4
	.comm	VCHIQ_SUCCESS,4,4
	.comm	SUSPEND_TIMER_TIMEOUT_MS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
