	.file	"extr_waitq.c_autofs_wait.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"autofs_wait: skipped sleeping\n"
	.text
	.p2align 4
	.globl	autofs_wait
	.type	autofs_wait, @function
autofs_wait:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR [rdi], 0
	jne	.L4
	mov	rax, QWORD PTR NAME_MAX[rip]
	mov	rbx, rsi
	cmp	QWORD PTR [rsi], rax
	jg	.L4
	mov	rbp, QWORD PTR 8[rdi]
	mov	r12, rdi
	test	rbp, rbp
	jne	.L7
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rbp, QWORD PTR 40[rbp]
	test	rbp, rbp
	je	.L5
.L7:
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L8
	mov	rdx, QWORD PTR [rbx]
	cmp	QWORD PTR 8[rbp], rdx
	jne	.L8
	mov	rdi, QWORD PTR 32[rbp]
	test	rdi, rdi
	je	.L8
	mov	esi, DWORD PTR 16[rbx]
	call	memcmp@PLT
	test	eax, eax
	jne	.L8
	add	DWORD PTR 20[rbp], 1
.L16:
	cmp	QWORD PTR [r12], 0
	mov	rdi, QWORD PTR 32[rbp]
	jne	.L32
	test	rdi, rdi
	je	.L12
	lea	r12, 4[rsp]
	mov	esi, DWORD PTR SHUTDOWN_SIGS[rip]
	mov	rdi, r12
	call	siginitsetinv@PLT
	mov	edi, DWORD PTR SIG_BLOCK[rip]
	mov	rdx, r12
	mov	rsi, r12
	call	sigprocmask@PLT
	lea	rdi, 24[rbp]
	call	interruptible_sleep_on@PLT
	mov	edi, DWORD PTR SIG_SETMASK[rip]
	xor	edx, edx
	mov	rsi, r12
	call	sigprocmask@PLT
.L13:
	sub	DWORD PTR 20[rbp], 1
	mov	r12d, DWORD PTR 16[rbp]
	jne	.L1
	mov	rdi, rbp
	call	kfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12d, DWORD PTR ENOENT[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L33
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 56
	call	kmalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L30
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, DWORD PTR [rbx]
	call	kmalloc@PLT
	mov	QWORD PTR 32[rbp], rax
	test	rax, rax
	je	.L34
	movsx	rax, DWORD PTR autofs_next_wait_queue[rip]
	lea	rdi, 24[rbp]
	mov	QWORD PTR 48[rbp], rax
	lea	edx, 1[rax]
	mov	DWORD PTR autofs_next_wait_queue[rip], edx
	call	init_waitqueue_head@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR [rbx]
	mov	esi, DWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 32[rbp]
	mov	QWORD PTR 0[rbp], rax
	mov	eax, DWORD PTR EINTR[rip]
	mov	QWORD PTR 8[rbp], rdx
	neg	eax
	mov	DWORD PTR 16[rbp], eax
	call	memcpy@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	rsi, rbp
	mov	rdi, r12
	mov	QWORD PTR 40[rbp], rax
	mov	QWORD PTR 8[r12], rbp
	mov	DWORD PTR 20[rbp], 2
	call	autofs_notify_daemon@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L32:
	mov	eax, DWORD PTR ENOENT[rip]
	neg	eax
	mov	DWORD PTR 16[rbp], eax
	call	kfree@PLT
	mov	QWORD PTR 32[rbp], 0
.L12:
	lea	rdi, .LC0[rip]
	call	DPRINTK@PLT
	jmp	.L13
.L34:
	mov	rdi, rbp
	call	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L30:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	autofs_wait, .-autofs_wait
	.comm	autofs_next_wait_queue,4,4
	.comm	SIG_SETMASK,4,4
	.comm	SIG_BLOCK,4,4
	.comm	SHUTDOWN_SIGS,4,4
	.comm	NAME_MAX,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENOENT,4,4
	.comm	EINTR,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_waitq.c_autofs_wait.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"autofs_wait: skipped sleeping\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	autofs_wait
	.syntax unified
	.arm
	.fpu softvfp
	.type	autofs_wait, %function
autofs_wait:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, [r0]
	sub	sp, sp, #12
	cmp	r3, #0
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bne	.L4
	ldr	r3, .L35+4
	ldr	r2, [r1]
	ldr	r3, [r3]
	mov	r5, r1
	cmp	r2, r3
	bgt	.L4
	ldr	r4, [r0, #4]
	mov	r6, r0
	cmp	r4, #0
	bne	.L7
	b	.L5
.L8:
	ldr	r4, [r4, #24]
	cmp	r4, #0
	beq	.L5
.L7:
	ldr	r2, [r4]
	ldr	r3, [r5, #4]
	cmp	r2, r3
	bne	.L8
	ldr	r3, [r5]
	ldr	r2, [r4, #4]
	cmp	r2, r3
	bne	.L8
	ldr	r0, [r4, #20]
	cmp	r0, #0
	beq	.L8
	ldr	r1, [r5, #8]
	bl	memcmp
	cmp	r0, #0
	bne	.L8
	ldr	r3, [r4, #12]
	add	r3, r3, #1
	str	r3, [r4, #12]
.L16:
	ldr	r5, [r6]
	ldr	r0, [r4, #20]
	cmp	r5, #0
	bne	.L32
	cmp	r0, #0
	beq	.L12
	ldr	r3, .L35+8
	mov	r0, sp
	ldr	r1, [r3]
	bl	siginitsetinv
	ldr	r3, .L35+12
	mov	r2, sp
	mov	r1, sp
	ldr	r0, [r3]
	bl	sigprocmask
	add	r0, r4, #16
	bl	interruptible_sleep_on
	ldr	r3, .L35+16
	mov	r1, sp
	mov	r2, r5
	ldr	r0, [r3]
	bl	sigprocmask
.L13:
	ldr	r3, [r4, #12]
	ldr	r5, [r4, #8]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r4, #12]
	bne	.L1
	mov	r0, r4
	bl	kfree
	b	.L1
.L4:
	ldr	r3, .L35+20
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	ldr	r7, .L35+24
	mov	r0, #32
	ldr	r1, [r7]
	bl	kmalloc
	subs	r4, r0, #0
	beq	.L30
	ldr	r1, [r7]
	ldr	r0, [r5]
	bl	kmalloc
	cmp	r0, #0
	str	r0, [r4, #20]
	beq	.L34
	ldr	r2, .L35+28
	add	r0, r4, #16
	ldr	r3, [r2]
	str	r3, [r4, #28]
	add	r3, r3, #1
	str	r3, [r2]
	bl	init_waitqueue_head
	ldr	r3, .L35+32
	ldr	r1, [r5, #4]
	ldr	r3, [r3]
	ldr	r2, [r5]
	rsb	r3, r3, #0
	stm	r4, {r1, r2, r3}
	ldr	r0, [r4, #20]
	ldr	r1, [r5, #8]
	bl	memcpy
	mov	r3, #2
	ldr	r2, [r6, #4]
	mov	r1, r4
	str	r2, [r4, #24]
	mov	r0, r6
	str	r4, [r6, #4]
	str	r3, [r4, #12]
	bl	autofs_notify_daemon
	b	.L16
.L32:
	ldr	r3, .L35+20
	ldr	r3, [r3]
	rsb	r3, r3, #0
	str	r3, [r4, #8]
	bl	kfree
	mov	r3, #0
	str	r3, [r4, #20]
.L12:
	ldr	r0, .L35+36
	bl	DPRINTK
	b	.L13
.L34:
	mov	r0, r4
	bl	kfree
.L30:
	ldr	r3, .L35+40
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L33:
	bl	__stack_chk_fail
.L36:
	.align	2
.L35:
	.word	.LC1
	.word	NAME_MAX
	.word	SHUTDOWN_SIGS
	.word	SIG_BLOCK
	.word	SIG_SETMASK
	.word	ENOENT
	.word	GFP_KERNEL
	.word	autofs_next_wait_queue
	.word	EINTR
	.word	.LC0
	.word	ENOMEM
	.size	autofs_wait, .-autofs_wait
	.comm	autofs_next_wait_queue,4,4
	.comm	SIG_SETMASK,4,4
	.comm	SIG_BLOCK,4,4
	.comm	SHUTDOWN_SIGS,4,4
	.comm	NAME_MAX,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENOENT,4,4
	.comm	EINTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
