	.file	"extr_fuse_ipc.c_fuse_ticket_fetch.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fu_ini"
	.text
	.p2align 4
	.globl	fuse_ticket_fetch
	.type	fuse_ticket_fetch, @function
fuse_ticket_fetch:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	fticket_alloc@PLT
	mov	r12, rax
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR FSESS_INITED[rip], eax
	je	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	xor	eax, eax
	call	FUSE_LOCK@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR FSESS_INITED[rip], eax
	jne	.L4
	cmp	DWORD PTR 4[rbp], 2
	jg	.L12
.L4:
	xor	eax, eax
	call	FUSE_UNLOCK@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edx, DWORD PTR PCATCH[rip]
	xor	r8d, r8d
	or	edx, DWORD PTR PDROP[rip]
	lea	rdi, 4[rbp]
	lea	rcx, .LC0[rip]
	lea	rsi, fuse_mtx[rip]
	call	msleep@PLT
	test	eax, eax
	je	.L1
	mov	rdi, rbp
	call	fdata_set_dead@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	fuse_ticket_fetch, .-fuse_ticket_fetch
	.comm	fuse_mtx,4,4
	.comm	PDROP,4,4
	.comm	PCATCH,4,4
	.comm	FSESS_INITED,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_fuse_ipc.c_fuse_ticket_fetch.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fu_ini\000"
	.text
	.align	2
	.global	fuse_ticket_fetch
	.syntax unified
	.arm
	.fpu softvfp
	.type	fuse_ticket_fetch, %function
fuse_ticket_fetch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	sub	sp, sp, #8
	bl	fticket_alloc
	ldr	r6, .L13
	ldr	r2, [r4]
	ldr	r3, [r6]
	mov	r5, r0
	tst	r2, r3
	beq	.L11
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	bl	FUSE_LOCK
	ldr	r2, [r6]
	ldr	r3, [r4]
	ands	r3, r3, r2
	bne	.L4
	ldr	r2, [r4, #4]
	cmp	r2, #2
	bgt	.L12
.L4:
	bl	FUSE_UNLOCK
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r1, .L13+4
	ldr	r2, .L13+8
	ldr	r1, [r1]
	ldr	r2, [r2]
	add	r0, r4, #4
	str	r3, [sp]
	orr	r2, r1, r2
	ldr	r3, .L13+12
	ldr	r1, .L13+16
	bl	msleep
	cmp	r0, #0
	beq	.L1
	mov	r0, r4
	bl	fdata_set_dead
	b	.L1
.L14:
	.align	2
.L13:
	.word	FSESS_INITED
	.word	PCATCH
	.word	PDROP
	.word	.LC0
	.word	fuse_mtx
	.size	fuse_ticket_fetch, .-fuse_ticket_fetch
	.comm	fuse_mtx,4,4
	.comm	PDROP,4,4
	.comm	PCATCH,4,4
	.comm	FSESS_INITED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
