	.file	"extr_dlmglue.c_ocfs2_build_lock_name.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%c%s%016llx%08x"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"built lock resource with name: %s\n"
	.text
	.p2align 4
	.type	ocfs2_build_lock_name, @function
ocfs2_build_lock_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	mlog_entry_void@PLT
	xor	edi, edi
	cmp	DWORD PTR OCFS2_NUM_LOCK_TYPES[rip], ebp
	setbe	dil
	call	BUG_ON@PLT
	mov	edi, ebp
	mov	r14d, DWORD PTR OCFS2_LOCK_ID_PAD[rip]
	call	ocfs2_lock_type_char@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	r9, rbx
	mov	rdi, r12
	push	r13
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR OCFS2_LOCK_ID_MAX_LEN[rip]
	mov	ecx, eax
	mov	r8d, r14d
	lea	rdx, .LC0[rip]
	call	snprintf@PLT
	xor	edi, edi
	mov	r8d, eax
	mov	eax, DWORD PTR OCFS2_LOCK_ID_MAX_LEN[rip]
	sub	eax, 1
	cmp	eax, r8d
	setne	dil
	call	BUG_ON@PLT
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	xor	edi, edi
	call	mlog@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rdx
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	mlog_exit_void@PLT
	.cfi_endproc
.LFE0:
	.size	ocfs2_build_lock_name, .-ocfs2_build_lock_name
	.comm	OCFS2_NUM_LOCK_TYPES,4,4
	.comm	OCFS2_LOCK_ID_PAD,4,4
	.comm	OCFS2_LOCK_ID_MAX_LEN,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_dlmglue.c_ocfs2_build_lock_name.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%c%s%016llx%08x\000"
	.align	2
.LC1:
	.ascii	"built lock resource with name: %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_build_lock_name, %function
ocfs2_build_lock_name:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r0
	sub	sp, sp, #28
	mov	r4, r1
	mov	r6, r2
	mov	r7, r3
	bl	mlog_entry_void
	ldr	r3, .L4
	ldr	r8, .L4+4
	ldr	r0, [r3]
	cmp	r0, r5
	movhi	r0, #0
	movls	r0, #1
	bl	BUG_ON
	mov	r0, r5
	ldr	r9, [r8]
	bl	ocfs2_lock_type_char
	ldr	r2, .L4+8
	str	r6, [sp, #16]
	ldr	r2, [r2]
	asr	r5, r4, #31
	mov	r3, r0
	mov	r1, r9
	str	r2, [sp]
	mov	r0, r7
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	ldr	r2, .L4+12
	bl	snprintf
	ldr	r2, [r8]
	sub	r2, r2, #1
	subs	r0, r2, r0
	movne	r0, #1
	bl	BUG_ON
	mov	r2, r7
	ldr	r1, .L4+16
	mov	r0, #0
	bl	mlog
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	mlog_exit_void
.L5:
	.align	2
.L4:
	.word	OCFS2_NUM_LOCK_TYPES
	.word	OCFS2_LOCK_ID_MAX_LEN
	.word	OCFS2_LOCK_ID_PAD
	.word	.LC0
	.word	.LC1
	.size	ocfs2_build_lock_name, .-ocfs2_build_lock_name
	.comm	OCFS2_NUM_LOCK_TYPES,4,4
	.comm	OCFS2_LOCK_ID_PAD,4,4
	.comm	OCFS2_LOCK_ID_MAX_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
