	.file	"extr_locks_i386.c_lck_mtx_init_ext.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lck_mtx_init_ext
	.type	lck_mtx_init_ext, @function
lck_mtx_init_ext:
.LFB0:
	.cfi_startproc
	endbr64
	lea	rax, LockDefaultLckAttr[rip]
	cmp	QWORD PTR LCK_ATTR_NULL[rip], rcx
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	cmove	rcx, rax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	eax, DWORD PTR [rcx]
	test	DWORD PTR LCK_ATTR_DEBUG[rip], eax
	jne	.L7
	mov	QWORD PTR 16[rdi], 0
	mov	QWORD PTR 8[rdi], 0
.L4:
	mov	DWORD PTR [rbx], -1
	mov	rdi, rbp
	call	lck_grp_reference@PLT
	mov	esi, DWORD PTR LCK_TYPE_MTX[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	lck_grp_lckcnt_incr@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r12, rsi
	mov	rdx, rcx
	mov	rsi, rbp
	mov	rdi, r12
	call	lck_mtx_ext_init@PLT
	mov	eax, DWORD PTR LCK_MTX_TAG_INDIRECT[rip]
	mov	QWORD PTR 24[rbx], r12
	mov	DWORD PTR 32[rbx], eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	lck_mtx_init_ext, .-lck_mtx_init_ext
	.comm	LockDefaultLckAttr,4,4
	.comm	LCK_TYPE_MTX,4,4
	.comm	LCK_MTX_TAG_INDIRECT,4,4
	.comm	LCK_ATTR_NULL,8,8
	.comm	LCK_ATTR_DEBUG,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_locks_i386.c_lck_mtx_init_ext.c"
	.text
	.align	2
	.global	lck_mtx_init_ext
	.syntax unified
	.arm
	.fpu softvfp
	.type	lck_mtx_init_ext, %function
lck_mtx_init_ext:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	lr, .L8
	ldr	ip, .L8+4
	ldr	lr, [lr]
	mov	r4, r0
	cmp	lr, r3
	moveq	r3, ip
	ldr	lr, .L8+8
	ldr	ip, [r3]
	ldr	lr, [lr]
	mov	r5, r2
	ands	ip, ip, lr
	streq	ip, [r0, #8]
	streq	ip, [r0, #4]
	bne	.L7
.L4:
	mvn	r3, #0
	mov	r0, r5
	str	r3, [r4]
	bl	lck_grp_reference
	ldr	r3, .L8+12
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	lck_grp_lckcnt_incr
.L7:
	mov	r6, r1
	mov	r2, r3
	mov	r1, r5
	mov	r0, r6
	bl	lck_mtx_ext_init
	ldr	r3, .L8+16
	str	r6, [r4, #12]
	ldr	r3, [r3]
	str	r3, [r4, #16]
	b	.L4
.L9:
	.align	2
.L8:
	.word	LCK_ATTR_NULL
	.word	LockDefaultLckAttr
	.word	LCK_ATTR_DEBUG
	.word	LCK_TYPE_MTX
	.word	LCK_MTX_TAG_INDIRECT
	.size	lck_mtx_init_ext, .-lck_mtx_init_ext
	.comm	LockDefaultLckAttr,4,4
	.comm	LCK_TYPE_MTX,4,4
	.comm	LCK_MTX_TAG_INDIRECT,4,4
	.comm	LCK_ATTR_NULL,4,4
	.comm	LCK_ATTR_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
