	.file	"extr_namei.c_jfs_lookup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"jfs_lookup: name = %s"
.LC1:
	.string	".."
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"jfs_lookup: dtSearch returned %d"
	.align 8
.LC3:
	.string	"jfs_lookup: iget failed on inum %d"
	.text
	.p2align 4
	.type	jfs_lookup, @function
jfs_lookup:
.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
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	lea	rdi, .LC0[rip]
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	r12, QWORD PTR 8[rsi]
	mov	r13d, DWORD PTR 16[rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rsi, r12
	call	jfs_info@PLT
	mov	edi, DWORD PTR [rbx]
	call	JFS_SBI@PLT
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR JFS_OS2[rip], eax
	je	.L2
	lea	rax, jfs_ci_dentry_operations[rip]
	mov	QWORD PTR 0[rbp], rax
.L2:
	cmp	BYTE PTR [r12], 46
	jne	.L3
	cmp	r13d, 1
	je	.L30
.L3:
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	je	.L31
	lea	r13, 12[rsp]
	mov	rsi, rbp
	mov	rdi, r13
	call	get_UCSname@PLT
	test	eax, eax
	jne	.L32
	lea	rcx, 8[rsp]
	lea	rdx, 16[rsp]
	mov	rsi, r13
	mov	rdi, rbx
	mov	r8d, DWORD PTR JFS_LOOKUP[rip]
	call	dtSearch@PLT
	mov	rdi, r13
	mov	r12d, eax
	call	free_UCSname@PLT
	mov	eax, r12d
	add	eax, DWORD PTR ENOENT[rip]
	je	.L33
	mov	rsi, QWORD PTR 16[rsp]
	test	r12d, r12d
	jne	.L34
.L4:
	mov	edi, DWORD PTR [rbx]
	call	jfs_iget@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L35
	mov	rdi, r12
	mov	rsi, rbp
	call	d_splice_alias@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR [rbx]
	call	JFS_SBI@PLT
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR JFS_OS2[rip], eax
	jne	.L36
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L37
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	rdi, rbx
	call	PARENT@PLT
	mov	QWORD PTR 16[rsp], rax
	mov	rsi, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L35:
	mov	esi, DWORD PTR 16[rsp]
	lea	rdi, .LC3[rip]
	call	jfs_err@PLT
	mov	rdi, r12
	call	ERR_CAST@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rsi, QWORD PTR 8[rbx]
	mov	QWORD PTR 16[rsp], rsi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L36:
	lea	rax, jfs_ci_dentry_operations[rip]
	mov	QWORD PTR [r12], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L32:
	mov	edi, eax
	call	ERR_PTR@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L34:
	mov	esi, r12d
	lea	rdi, .LC2[rip]
	call	jfs_err@PLT
	mov	edi, r12d
	call	ERR_PTR@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L33:
	xor	esi, esi
	mov	rdi, rbp
	xor	r12d, r12d
	call	d_add@PLT
	jmp	.L1
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	jfs_lookup, .-jfs_lookup
	.comm	jfs_ci_dentry_operations,4,4
	.comm	JFS_OS2,4,4
	.comm	JFS_LOOKUP,4,4
	.comm	ENOENT,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_namei.c_jfs_lookup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"jfs_lookup: name = %s\000"
	.align	2
.LC1:
	.ascii	"jfs_lookup: dtSearch returned %d\000"
	.align	2
.LC2:
	.ascii	"jfs_lookup: iget failed on inum %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jfs_lookup, %function
jfs_lookup:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r6, [r1, #4]
	ldr	r3, .L30
	mov	r1, r6
	sub	sp, sp, #24
	ldr	r0, .L30+4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r8, [r4, #8]
	bl	jfs_info
	ldr	r0, [r5]
	bl	JFS_SBI
	ldr	r7, .L30+8
	ldr	r2, [r0]
	ldr	r3, [r7]
	tst	r2, r3
	ldrne	r3, .L30+12
	strne	r3, [r4]
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #46
	cmpeq	r8, #1
	ldreq	r1, [r5, #4]
	streq	r1, [sp, #12]
	beq	.L4
	cmp	r3, #46
	beq	.L25
.L6:
	mov	r1, r4
	add	r0, sp, #16
	bl	get_UCSname
	subs	r8, r0, #0
	bne	.L23
	ldr	r2, .L30+16
	add	r3, sp, #8
	ldr	r1, [r2]
	mov	r0, r5
	add	r2, sp, #12
	str	r1, [sp]
	add	r1, sp, #16
	bl	dtSearch
	mov	r6, r0
	add	r0, sp, #16
	bl	free_UCSname
	ldr	r3, .L30+20
	ldr	r3, [r3]
	cmn	r6, r3
	beq	.L26
	cmp	r6, #0
	ldreq	r1, [sp, #12]
	bne	.L27
.L4:
	ldr	r0, [r5]
	bl	jfs_iget
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L28
	mov	r1, r4
	mov	r0, r6
	bl	d_splice_alias
	subs	r8, r0, #0
	beq	.L1
	ldr	r0, [r5]
	bl	JFS_SBI
	ldr	r3, [r7]
	ldr	r2, [r0]
	tst	r2, r3
	ldrne	r3, .L30+12
	strne	r3, [r8]
.L1:
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	mov	r0, r8
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L25:
	ldrb	r3, [r6, #1]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L6
	ldrb	r3, [r6, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	mov	r0, r5
	bl	PARENT
	mov	r1, r0
	str	r0, [sp, #12]
	b	.L4
.L28:
	ldr	r1, [sp, #12]
	ldr	r0, .L30+24
	bl	jfs_err
	mov	r0, r6
	bl	ERR_CAST
	mov	r8, r0
	b	.L1
.L27:
	mov	r1, r6
	ldr	r0, .L30+28
	bl	jfs_err
	mov	r0, r6
.L23:
	bl	ERR_PTR
	mov	r8, r0
	b	.L1
.L26:
	mov	r0, r4
	mov	r1, r8
	bl	d_add
	b	.L1
.L29:
	bl	__stack_chk_fail
.L31:
	.align	2
.L30:
	.word	.LC3
	.word	.LC0
	.word	JFS_OS2
	.word	jfs_ci_dentry_operations
	.word	JFS_LOOKUP
	.word	ENOENT
	.word	.LC2
	.word	.LC1
	.size	jfs_lookup, .-jfs_lookup
	.comm	jfs_ci_dentry_operations,4,4
	.comm	JFS_OS2,4,4
	.comm	JFS_LOOKUP,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
