	.file	"979485.c"
	.intel_syntax noprefix
	.text
	.globl	modify_recursive
	.bss
	.align 4
	.type	modify_recursive, @object
	.size	modify_recursive, 4
modify_recursive:
	.zero	4
	.globl	org_pthread_mutex_lock_h
	.align 8
	.type	org_pthread_mutex_lock_h, @object
	.size	org_pthread_mutex_lock_h, 8
org_pthread_mutex_lock_h:
	.zero	8
	.section	.rodata
.LC0:
	.string	"pthread_mutex_lock"
	.align 8
.LC1:
	.string	"Mutex %p lock (by %p) failed with: %s\n"
	.text
	.globl	pthread_mutex_lock
	.type	pthread_mutex_lock, @function
pthread_mutex_lock:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR org_pthread_mutex_lock_h[rip]
	test	rax, rax
	jne	.L2
	lea	rsi, .LC0[rip]
	mov	rdi, -1
	call	dlsym@PLT
	mov	QWORD PTR org_pthread_mutex_lock_h[rip], rax
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	eax, 3
	jne	.L4
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16[rax], 2
.L4:
	mov	eax, DWORD PTR modify_recursive[rip]
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	eax, 1
	jne	.L5
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16[rax], 2
.L5:
	mov	rdx, QWORD PTR org_pthread_mutex_lock_h[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rdx
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	je	.L6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	r8, rcx
	mov	rcx, rsi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
.L6:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	pthread_mutex_lock, .-pthread_mutex_lock
	.section	.rodata
	.align 8
.LC2:
	.string	" * mutexerrchkenforcer enabled *\n"
.LC3:
	.string	"RECURSIVE"
	.align 8
.LC4:
	.string	" * also recursive mutexes will be modified *\n"
	.text
	.globl	init
	.type	init, @function
init:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	lea	rdi, .LC3[rip]
	call	getenv@PLT
	test	rax, rax
	setne	al
	movzx	eax, al
	mov	DWORD PTR modify_recursive[rip], eax
	mov	eax, DWORD PTR modify_recursive[rip]
	test	eax, eax
	je	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
.L10:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	init, .-init
	.section	.init_array,"aw"
	.align 8
	.quad	init
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"979485.c"
	.text
	.global	modify_recursive
	.bss
	.align	2
	.type	modify_recursive, %object
	.size	modify_recursive, 4
modify_recursive:
	.space	4
	.global	org_pthread_mutex_lock_h
	.align	2
	.type	org_pthread_mutex_lock_h, %object
	.size	org_pthread_mutex_lock_h, 4
org_pthread_mutex_lock_h:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"pthread_mutex_lock\000"
	.align	2
.LC1:
	.ascii	"Mutex %p lock (by %p) failed with: %s\012\000"
	.text
	.align	2
	.global	pthread_mutex_lock
	.syntax unified
	.arm
	.fpu softvfp
	.type	pthread_mutex_lock, %function
pthread_mutex_lock:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	mov	r5, lr
	str	r0, [fp, #-24]
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r1, .L8+4
	mvn	r0, #0
	bl	dlsym
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L8
	str	r2, [r3]
.L2:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #3
	bne	.L4
.L3:
	ldr	r3, [fp, #-24]
	mov	r2, #2
	str	r2, [r3, #12]
.L4:
	ldr	r3, .L8+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #1
	bne	.L5
	ldr	r3, [fp, #-24]
	mov	r2, #2
	str	r2, [r3, #12]
.L5:
	ldr	r3, .L8
	ldr	r3, [r3]
	ldr	r0, [fp, #-24]
	blx	r3
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L6
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L8+12
	ldr	r4, [r3]
	ldr	r0, [fp, #-20]
	bl	strerror
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r5
	ldr	r2, [fp, #-24]
	ldr	r1, .L8+16
	mov	r0, r4
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r3, [r2]
.L6:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L9:
	.align	2
.L8:
	.word	org_pthread_mutex_lock_h
	.word	.LC0
	.word	modify_recursive
	.word	stderr
	.word	.LC1
	.size	pthread_mutex_lock, .-pthread_mutex_lock
	.section	.rodata
	.align	2
.LC2:
	.ascii	" * mutexerrchkenforcer enabled *\012\000"
	.align	2
.LC3:
	.ascii	"RECURSIVE\000"
	.align	2
.LC4:
	.ascii	" * also recursive mutexes will be modified *\012\000"
	.text
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L13+4
	bl	fwrite
	ldr	r0, .L13+8
	bl	getenv
	mov	r3, r0
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L13+12
	str	r2, [r3]
	ldr	r3, .L13+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L13+16
	bl	fwrite
.L12:
	nop
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	modify_recursive
	.word	.LC4
	.size	init, .-init
	.section	.init_array,"aw",%init_array
	.align	2
	.word	init(target1)
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
