	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function report_lock_acquire_event
_report_lock_acquire_event:             ## @report_lock_acquire_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdx
	callq	_perf_evsel__strval
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_perf_evsel__intval
	movq	%rax, -56(%rbp)
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_perf_evsel__intval
	movq	%rax, %r15
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_lock_stat_findnew
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %r14
	cmpl	$0, (%rax)
	je	LBB0_2
LBB0_19:
	xorl	%ebx, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	4(%r13), %edi
	callq	_thread_stat_findnew
	testq	%rax, %rax
	je	LBB0_20
## %bb.3:
	movq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_get_seq
	testq	%rax, %rax
	je	LBB0_20
## %bb.4:
	movq	%rax, %r12
	movl	(%rax), %eax
	leal	-131(%rax), %ecx
	cmpl	$3, %ecx
	jb	LBB0_16
## %bb.5:
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_6
## %bb.9:
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.11:
	movq	_TRY_LOCK@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_13
## %bb.12:
	incl	16(%r14)
LBB0_13:
	movq	_READ_LOCK@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_15
## %bb.14:
	incl	12(%r14)
LBB0_15:
	movabsq	$4294967426, %rax               ## imm = 0x100000082
	movq	%rax, (%r12)
	incl	8(%r14)
	jmp	LBB0_18
LBB0_6:
	cmpl	$130, %eax
	jne	LBB0_17
## %bb.7:
	movq	_READ_LOCK@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_16
## %bb.8:
	incl	4(%r12)
	incl	8(%r14)
	jmp	LBB0_19
LBB0_16:
	movl	$1, (%r14)
	movq	_bad_hist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BROKEN_ACQUIRE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
	movq	%r12, %rdi
	addq	$12, %rdi
	callq	_list_del
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_19
LBB0_17:
	leaq	L_.str.3(%rip), %rdi
	callq	_BUG_ON
	jmp	LBB0_18
LBB0_10:
	movl	$132, (%r12)
LBB0_18:
	incl	4(%r14)
	movl	(%r13), %eax
	movl	%eax, 8(%r12)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

L_.str.1:                               ## @.str.1
	.asciz	"lockdep_addr"

L_.str.2:                               ## @.str.2
	.asciz	"flag"

	.comm	_TRY_LOCK,4,2                   ## @TRY_LOCK
	.comm	_READ_LOCK,4,2                  ## @READ_LOCK
	.comm	_bad_hist,8,3                   ## @bad_hist
	.comm	_BROKEN_ACQUIRE,8,3             ## @BROKEN_ACQUIRE
L_.str.3:                               ## @.str.3
	.asciz	"Unknown state of lock sequence found!\n"

	.no_dead_strip	_report_lock_acquire_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function report_lock_acquire_event
lCPI0_0:
	.long	130                             ; 0x82
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_report_lock_acquire_event:             ; @report_lock_acquire_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_perf_evsel__strval
	mov	x21, x0
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_perf_evsel__intval
	str	x0, [sp]
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_perf_evsel__intval
	mov	x22, x0
	add	x0, sp, #8
	mov	x1, sp
	mov	w2, #8
	bl	_memcpy
	ldr	x0, [sp, #8]
	mov	x1, x21
	bl	_lock_stat_findnew
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_14
LBB0_3:
	ldr	w0, [x19, #4]
	bl	_thread_stat_findnew
	cbz	x0, LBB0_13
; %bb.4:
	ldr	x1, [sp, #8]
	bl	_get_seq
	cbz	x0, LBB0_13
; %bb.5:
	mov	x21, x0
	ldr	w8, [x0]
	sub	w9, w8, #131
	cmp	w9, #3
	b.lo	LBB0_18
; %bb.6:
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_15
; %bb.7:
	cbz	w22, LBB0_20
; %bb.8:
Lloh6:
	adrp	x8, _TRY_LOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRY_LOCK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_10
; %bb.9:
	ldr	w8, [x20, #16]
	add	w8, w8, #1
	str	w8, [x20, #16]
LBB0_10:
Lloh9:
	adrp	x8, _READ_LOCK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _READ_LOCK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_12
; %bb.11:
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
LBB0_12:
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21]
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	b	LBB0_21
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_15:
	cmp	w8, #130
	b.ne	LBB0_19
; %bb.16:
Lloh14:
	adrp	x8, _READ_LOCK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _READ_LOCK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_18
; %bb.17:
	mov	w0, #0
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	b	LBB0_14
LBB0_18:
	mov	w8, #1
Lloh17:
	adrp	x9, _bad_hist@GOTPAGE
Lloh18:
	ldr	x9, [x9, _bad_hist@GOTPAGEOFF]
	str	w8, [x20]
Lloh19:
	ldr	x8, [x9]
Lloh20:
	adrp	x9, _BROKEN_ACQUIRE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BROKEN_ACQUIRE@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	add	x0, x21, #12
	bl	_list_del
	mov	x0, x21
	bl	_free
	mov	w0, #0
	b	LBB0_14
LBB0_19:
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_BUG_ON
	b	LBB0_21
LBB0_20:
	mov	w8, #132
	str	w8, [x21]
LBB0_21:
	mov	w0, #0
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	ldr	w8, [x19]
	str	w8, [x21, #8]
	b	LBB0_14
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

l_.str.1:                               ; @.str.1
	.asciz	"lockdep_addr"

l_.str.2:                               ; @.str.2
	.asciz	"flag"

	.comm	_TRY_LOCK,4,2                   ; @TRY_LOCK
	.comm	_READ_LOCK,4,2                  ; @READ_LOCK
	.comm	_bad_hist,8,3                   ; @bad_hist
	.comm	_BROKEN_ACQUIRE,8,3             ; @BROKEN_ACQUIRE
l_.str.3:                               ; @.str.3
	.asciz	"Unknown state of lock sequence found!\n"

	.no_dead_strip	_report_lock_acquire_event
.subsections_via_symbols
