	.file	"extr_cam_xpt.c_xpt_release_boot.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xpt_release_boot
	.type	xpt_release_boot, @function
xpt_release_boot:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	call	xpt_lock_buses@PLT
	mov	rax, QWORD PTR xsoftc[rip]
	sub	rax, 1
	mov	QWORD PTR xsoftc[rip], rax
	jne	.L2
	mov	edx, DWORD PTR xsoftc[rip+8]
	test	edx, edx
	je	.L6
.L2:
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	xpt_unlock_buses@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	DWORD PTR xsoftc[rip+8], 1
	call	xpt_unlock_buses@PLT
	mov	edx, DWORD PTR M_NOWAIT[rip]
	mov	esi, DWORD PTR M_CAMXPT[rip]
	mov	edi, 4
	call	malloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR xpt_finishconfig_task[rip]
	xor	esi, esi
	mov	rdi, rax
	mov	rcx, rax
	call	TASK_INIT@PLT
	mov	edi, DWORD PTR taskqueue_thread[rip]
	mov	rsi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	taskqueue_enqueue@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xpt_release_boot, .-xpt_release_boot
	.comm	xsoftc,16,16
	.comm	xpt_finishconfig_task,4,4
	.comm	taskqueue_thread,4,4
	.comm	M_NOWAIT,4,4
	.comm	M_CAMXPT,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_cam_xpt.c_xpt_release_boot.c"
	.text
	.align	2
	.global	xpt_release_boot
	.syntax unified
	.arm
	.fpu softvfp
	.type	xpt_release_boot, %function
xpt_release_boot:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	xpt_lock_buses
	ldr	r2, .L7
	ldr	r3, [r2]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r2]
	bne	.L2
	ldr	r4, [r2, #4]
	cmp	r4, #0
	beq	.L6
.L2:
	pop	{r4, r5, r6, lr}
	b	xpt_unlock_buses
.L6:
	mov	r3, #1
	str	r3, [r2, #4]
	bl	xpt_unlock_buses
	ldr	r3, .L7+4
	ldr	r2, .L7+8
	mov	r0, #4
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	malloc
	subs	r5, r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L7+12
	mov	r1, r4
	ldr	r2, [r3]
	mov	r3, r5
	bl	TASK_INIT
	ldr	r3, .L7+16
	mov	r1, r5
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	b	taskqueue_enqueue
.L8:
	.align	2
.L7:
	.word	xsoftc
	.word	M_CAMXPT
	.word	M_NOWAIT
	.word	xpt_finishconfig_task
	.word	taskqueue_thread
	.size	xpt_release_boot, .-xpt_release_boot
	.comm	xsoftc,8,4
	.comm	xpt_finishconfig_task,4,4
	.comm	taskqueue_thread,4,4
	.comm	M_NOWAIT,4,4
	.comm	M_CAMXPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
