	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_events
_show_events:                           ## @show_events
	.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, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %esi
	movq	_LS_MAX_EVENTS@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jle	LBB0_1
## %bb.2:
	movl	$-1, %r14d
	movl	$8, %r13d
	xorl	%r15d, %r15d
	movq	_g_event_info@GOTPCREL(%rip), %r12
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movslq	(%rbx), %rax
	addq	$16, %r13
	cmpq	%rax, %r15
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	cmpb	%sil, -8(%rax,%r13)
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax,%r13), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$13, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %r14d
	cmovel	%r15d, %r14d
	movl	%r15d, %eax
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
LBB0_1:
	movl	$-1, %r14d
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movsbl	%sil, %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %r8d
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	%r13d, %r14d
	jg	LBB0_11
## %bb.9:
	movslq	%r14d, %rbx
	incl	%r13d
	shlq	$4, %rbx
	orq	$8, %rbx
	movq	_g_event_info@GOTPCREL(%rip), %r12
	leaq	L_.str.2(%rip), %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rax
	movq	(%rax,%rbx), %rcx
	movq	%r15, %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	incl	%r14d
	addq	$16, %rbx
	cmpl	%r14d, %r13d
	jne	LBB0_10
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LS_MAX_EVENTS,4,2              ## @LS_MAX_EVENTS
	.comm	_g_event_info,8,3               ## @g_event_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown event"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"\n%s events (lockstat -%c or lockstat -e %d-%d):\n\n"

L_.str.2:                               ## @.str.2
	.asciz	"%4d = %s\n"

	.no_dead_strip	_show_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_events
_show_events:                           ; @show_events
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x25, _LS_MAX_EVENTS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LS_MAX_EVENTS@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh2:
	adrp	x22, _g_event_info@GOTPAGE
Lloh3:
	ldr	x22, [x22, _g_event_info@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x26, #0
	mov	x27, #0
	mov	w23, #-1
                                        ; implicit-def: $w24
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x25]
	add	x26, x26, #16
	cmp	x27, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldrb	w9, [x8, x26]
	cmp	w9, w20, uxtb
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x26
	ldr	x0, [x8, #8]
	mov	x1, x21
	mov	w2, #13
	bl	_strncmp
	cmn	w23, #1
	csel	w8, w27, w23, eq
	cmp	x0, #0
	csel	w23, w23, w8, eq
	csel	w24, w24, w27, eq
	b	LBB0_2
LBB0_5:
	mov	w23, #-1
                                        ; implicit-def: $w24
LBB0_6:
Lloh6:
	adrp	x21, _stderr@GOTPAGE
Lloh7:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x8, x23
	stp	x8, x24, [sp, #16]
	sxtw	x8, w20
	stp	x19, x8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	cmp	w23, w24
	b.gt	LBB0_9
; %bb.7:
	mov	x8, x23
	sxtw	x8, w8
	add	w20, w24, #1
	mov	w24, #8
	bfi	x24, x8, #4, #60
Lloh10:
	adrp	x19, l_.str.2@PAGE
Lloh11:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	x8, [x22]
	ldr	x8, [x8, x24]
	stp	x23, x8, [sp]
	mov	x1, x19
	bl	_fprintf
	add	w23, w23, #1
	add	x24, x24, #16
	cmp	w20, w23
	b.ne	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LS_MAX_EVENTS,4,2              ; @LS_MAX_EVENTS
	.comm	_g_event_info,8,3               ; @g_event_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown event"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"\n%s events (lockstat -%c or lockstat -e %d-%d):\n\n"

l_.str.2:                               ; @.str.2
	.asciz	"%4d = %s\n"

	.no_dead_strip	_show_events
.subsections_via_symbols
