	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function report_lock_contended_event
_report_lock_contended_event:           ## @report_lock_contended_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdx
	callq	_perf_evsel__strval
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_perf_evsel__intval
	movl	%eax, -36(%rbp)
	leaq	-48(%rbp), %rdi
	leaq	-36(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_lock_stat_findnew
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r15
	cmpl	$0, (%rax)
	je	LBB0_2
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	4(%r14), %edi
	callq	_thread_stat_findnew
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_get_seq
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r12
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_7
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	xorl	%ebx, %ebx
	jmpq	*%rax
LBB0_6:
	movl	$1, (%r15)
	movq	_bad_hist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BROKEN_CONTENDED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
	movq	%r12, %rdi
	addq	$8, %rdi
	callq	_list_del
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	callq	_BUG_ON
LBB0_8:
	movl	$131, (%r12)
	incl	4(%r15)
	movl	(%r14), %eax
	movl	%eax, 4(%r12)
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

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

	.comm	_bad_hist,8,3                   ## @bad_hist
	.comm	_BROKEN_CONTENDED,8,3           ## @BROKEN_CONTENDED
L_.str.2:                               ## @.str.2
	.asciz	"Unknown state of lock sequence found!\n"

	.no_dead_strip	_report_lock_contended_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function report_lock_contended_event
_report_lock_contended_event:           ; @report_lock_contended_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	w0, [sp, #4]
	add	x0, sp, #8
	add	x1, sp, #4
	mov	w2, #8
	bl	_memcpy
	ldr	x0, [sp, #8]
	mov	x1, x21
	bl	_lock_stat_findnew
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_9
LBB0_3:
	ldr	w0, [x19, #4]
	bl	_thread_stat_findnew
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x1, [sp, #8]
	bl	_get_seq
	cbz	x0, LBB0_8
; %bb.5:
	mov	x21, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_10
; %bb.6:
	mov	w0, #0
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	w8, #1
Lloh6:
	adrp	x9, _bad_hist@GOTPAGE
Lloh7:
	ldr	x9, [x9, _bad_hist@GOTPAGEOFF]
	str	w8, [x20]
Lloh8:
	ldr	x8, [x9]
Lloh9:
	adrp	x9, _BROKEN_CONTENDED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BROKEN_CONTENDED@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	add	x0, x21, #8
	bl	_list_del
	mov	x0, x21
	bl	_free
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	mov	w0, #-1
LBB0_9:
	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_10:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BUG_ON
LBB0_11:
	mov	w0, #0
	mov	w8, #131
	ldr	w9, [x20, #4]
	add	w9, w9, #1
	str	w9, [x20, #4]
	ldr	w9, [x19]
	stp	w8, w9, [x21]
	b	LBB0_9
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

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

	.comm	_bad_hist,8,3                   ; @bad_hist
	.comm	_BROKEN_CONTENDED,8,3           ; @BROKEN_CONTENDED
l_.str.2:                               ; @.str.2
	.asciz	"Unknown state of lock sequence found!\n"

	.no_dead_strip	_report_lock_contended_event
.subsections_via_symbols
