	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %r12d
	movq	_mfi_unit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mfi_open
	testl	%eax, %eax
	js	LBB0_12
## %bb.1:
	movl	%eax, %ebx
	leaq	-120(%rbp), %rsi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_mfi_event_get_info
	testq	%rax, %rax
	js	LBB0_13
## %bb.2:
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	$0, -64(%rbp)
	movq	_MFI_EVT_LOCALE_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_MFI_EVT_CLASS_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	-120(%rbp), %rax
	movq	-112(%rbp), %rcx
	movq	%rax, -80(%rbp)
	movq	%rcx, -104(%rbp)
	movq	_optind@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$15, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %r15
	leaq	LJTI0_0(%rip), %r14
	movq	_optarg@GOTPCREL(%rip), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %edi
	leaq	-68(%rbp), %rsi
	callq	_parse_class
	testl	%eax, %eax
	js	LBB0_17
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-99(%rax), %ecx
	cmpl	$19, %ecx
	ja	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r14,%rcx,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %edi
	leaq	-84(%rbp), %rsi
	callq	_parse_locale
	testl	%eax, %eax
	js	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-84(%rbp), %eax
	movl	%eax, -72(%rbp)
	jmp	LBB0_4
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %edi
	leaq	-136(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movq	-136(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_49
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	jle	LBB0_49
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_12:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str(%rip), %rdi
	callq	_warn
	jmp	LBB0_25
LBB0_13:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	movl	%ebx, %edi
	callq	_close
	jmp	LBB0_25
LBB0_14:
	cmpl	$-1, %eax
	jne	LBB0_23
## %bb.15:
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	12(,%rax,4), %r14d
	xorl	%eax, %eax
	callq	_getpagesize
	cmpl	%eax, %r14d
	jle	LBB0_20
## %bb.16:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_22
LBB0_17:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_19
LBB0_18:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.4(%rip), %rdi
LBB0_19:
	callq	_warn
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_close
	jmp	LBB0_25
LBB0_20:
	subl	%r15d, %r12d
	cmpl	$3, %r12d
	jl	LBB0_26
## %bb.21:
	leaq	L_.str.7(%rip), %rdi
LBB0_22:
	xorl	%eax, %eax
	callq	_warnx
LBB0_23:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_close
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %r15d
LBB0_25:
	movl	%r15d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	testl	%r12d, %r12d
	jle	LBB0_30
## %bb.27:
	movq	(%r13,%r15,8), %rsi
	leaq	-120(%rbp), %rdi
	leaq	-80(%rbp), %rdx
	callq	_parse_seq
	testq	%rax, %rax
	js	LBB0_47
## %bb.28:
	cmpl	$2, %r12d
	jb	LBB0_30
## %bb.29:
	movq	8(%r13,%r15,8), %rsi
	leaq	-120(%rbp), %rdi
	leaq	-104(%rbp), %rdx
	callq	_parse_seq
	testq	%rax, %rax
	js	LBB0_50
LBB0_30:
	movl	%r14d, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_46
## %bb.31:
	movq	%rax, %r13
	movq	-80(%rbp), %r9
	movq	-72(%rbp), %rcx
	movq	-64(%rbp), %r8
	leaq	-128(%rbp), %r12
	movq	%r12, (%rsp)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movq	%rax, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_mfi_get_events
	testq	%rax, %rax
	js	LBB0_48
## %bb.32:
	movl	$1, %ebx
	jmp	LBB0_35
LBB0_33:                                ##   in Loop: Header=BB0_35 Depth=1
	xorl	%eax, %eax
LBB0_34:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	8(%r13), %rcx
	movq	-8(%rcx,%rax,8), %r9
	incq	%r9
	movq	-72(%rbp), %rcx
	movq	-64(%rbp), %r8
	movq	%r12, (%rsp)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_mfi_get_events
	testq	%rax, %rax
	js	LBB0_48
LBB0_35:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_40 Depth 2
	movq	-128(%rbp), %rdi
	movq	_MFI_STAT_NOT_FOUND@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_43
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	_MFI_STAT_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_51
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=1
	cmpq	$0, (%r13)
	je	LBB0_33
## %bb.38:                              ##   in Loop: Header=BB0_35 Depth=1
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_40 Depth=2
	addq	%r15, %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_mfi_decode_evt
	incq	%r14
	movq	(%r13), %rax
	addq	$8, %r15
	xorl	%ebx, %ebx
	cmpq	%rax, %r14
	jae	LBB0_34
LBB0_40:                                ##   Parent Loop BB0_35 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rsi
	movq	(%rsi,%r15), %rax
	movq	-104(%rbp), %rcx
	cmpq	%rcx, %rax
	jle	LBB0_39
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=2
	movq	-80(%rbp), %rdx
	cmpq	%rcx, %rdx
	jle	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=2
	cmpq	%rdx, %rax
	jge	LBB0_39
LBB0_43:
	testl	%ebx, %ebx
	je	LBB0_45
## %bb.44:
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_45:
	movq	%r13, %rdi
	callq	_free
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_close
	xorl	%r15d, %r15d
	jmp	LBB0_25
LBB0_46:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_close
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_47:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_19
LBB0_48:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.11(%rip), %rdi
	callq	_warn
	movq	%r13, %rdi
	callq	_free
	movl	%r14d, %edi
	callq	_close
	jmp	LBB0_25
LBB0_49:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_22
LBB0_50:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_19
LBB0_51:
	callq	_mfi_status
	leaq	L_.str.12(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
	movq	%r13, %rdi
	callq	_free
	movl	%r14d, %edi
	callq	_close
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_24
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_6
	.long	L0_0_set_23
	.long	L0_0_set_8
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_mfi_unit,4,2                   ## @mfi_unit
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mfi_open"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to get event log info"

	.comm	_MFI_EVT_LOCALE_ALL,4,2         ## @MFI_EVT_LOCALE_ALL
	.comm	_MFI_EVT_CLASS_WARNING,4,2      ## @MFI_EVT_CLASS_WARNING
	.comm	_optind,4,2                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"c:l:n:v"

	.comm	_optarg,4,2                     ## @optarg
L_.str.3:                               ## @.str.3
	.asciz	"Error parsing event class"

L_.str.4:                               ## @.str.4
	.asciz	"Error parsing event locale"

L_.str.5:                               ## @.str.5
	.asciz	"Invalid event count"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.6:                               ## @.str.6
	.asciz	"Event count is too high"

L_.str.7:                               ## @.str.7
	.asciz	"show events: extra arguments"

L_.str.8:                               ## @.str.8
	.asciz	"Error parsing starting sequence number"

L_.str.9:                               ## @.str.9
	.asciz	"Error parsing ending sequence number"

L_.str.10:                              ## @.str.10
	.asciz	"malloc failed"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.11:                              ## @.str.11
	.asciz	"Failed to fetch events"

	.comm	_MFI_STAT_NOT_FOUND,8,3         ## @MFI_STAT_NOT_FOUND
	.comm	_MFI_STAT_OK,8,3                ## @MFI_STAT_OK
L_.str.12:                              ## @.str.12
	.asciz	"Error fetching events: %s"

	.comm	_EIO,4,2                        ## @EIO
L_.str.13:                              ## @.str.13
	.asciz	"No matching events found"

	.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, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _mfi_unit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mfi_unit@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_mfi_open
	tbnz	w0, #31, LBB0_11
; %bb.1:
	mov	x19, x0
	add	x1, sp, #64
	mov	x2, #0
	bl	_mfi_event_get_info
	tbnz	x0, #63, LBB0_12
; %bb.2:
	mov	w20, #0
Lloh6:
	adrp	x8, _MFI_EVT_LOCALE_ALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MFI_EVT_LOCALE_ALL@GOTPAGEOFF]
	str	xzr, [sp, #56]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _MFI_EVT_CLASS_WARNING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MFI_EVT_CLASS_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	add	x10, sp, #48
	orr	x24, x10, #0x4
	stp	w8, w9, [sp, #48]
	ldp	x8, x9, [sp, #64]
	stp	x9, x8, [sp, #24]
Lloh12:
	adrp	x26, _optind@GOTPAGE
Lloh13:
	ldr	x26, [x26, _optind@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x26]
	mov	w21, #15
Lloh14:
	adrp	x25, l_.str.2@PAGE
Lloh15:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh16:
	adrp	x27, lJTI0_0@PAGE
Lloh17:
	add	x27, x27, lJTI0_0@PAGEOFF
Lloh18:
	adrp	x28, _optarg@GOTPAGE
Lloh19:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x28]
	mov	x1, x24
	bl	_parse_class
	tbnz	w0, #31, LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x25
	bl	_getopt
	sub	w8, w0, #99
	cmp	w8, #19
	b.hi	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x28]
	add	x1, sp, #20
	bl	_parse_locale
	tbnz	w0, #31, LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #20]
	str	w8, [sp, #48]
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x28]
	add	x1, sp, #40
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #40]
	ldrb	w8, [x8]
	cmp	w8, #0
	ccmp	x0, #0, #4, eq
	b.le	LBB0_47
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #1
	b	LBB0_4
LBB0_11:
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	w20, [x8]
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	b	LBB0_25
LBB0_12:
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh27:
	ldr	w20, [x8]
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_13:
	cmn	w0, #1
	b.ne	LBB0_23
; %bb.14:
	ldrsw	x25, [x26]
	lsl	w8, w21, #2
	add	w24, w8, #12
	bl	_getpagesize
	cmp	w24, w0
	b.le	LBB0_20
; %bb.15:
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_22
LBB0_16:
Lloh32:
	adrp	x8, _errno@GOTPAGE
Lloh33:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh34:
	ldr	w20, [x8]
Lloh35:
	adrp	x0, l_.str.3@PAGE
Lloh36:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh37:
	adrp	x8, _errno@GOTPAGE
Lloh38:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh39:
	ldr	w20, [x8]
Lloh40:
	adrp	x0, l_.str.4@PAGE
Lloh41:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_18:
	bl	_warn
LBB0_19:
	mov	x0, x19
	bl	_close
	b	LBB0_25
LBB0_20:
	sub	w23, w23, w25
	cmp	w23, #3
	b.lt	LBB0_26
; %bb.21:
Lloh42:
	adrp	x0, l_.str.7@PAGE
Lloh43:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_22:
	bl	_warnx
LBB0_23:
	mov	x0, x19
	bl	_close
Lloh44:
	adrp	x8, _EINVAL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_24:
	ldr	w20, [x8]
LBB0_25:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_26:
	cmp	w23, #1
	b.lt	LBB0_30
; %bb.27:
	add	x22, x22, x25, lsl #3
	ldr	x1, [x22]
	add	x0, sp, #64
	add	x2, sp, #32
	bl	_parse_seq
	tbnz	x0, #63, LBB0_45
; %bb.28:
	cmp	w23, #2
	b.lo	LBB0_30
; %bb.29:
	ldr	x1, [x22, #8]
	add	x0, sp, #64
	add	x2, sp, #24
	bl	_parse_seq
	tbnz	x0, #63, LBB0_48
LBB0_30:
	mov	x0, x24
	bl	_malloc
	cbz	x0, LBB0_44
; %bb.31:
	mov	x22, x0
	ldr	x5, [sp, #32]
	ldp	x3, x4, [sp, #48]
	add	x6, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_mfi_get_events
	tbnz	x0, #63, LBB0_46
; %bb.32:
	mov	w24, #1
Lloh46:
	adrp	x23, _MFI_STAT_NOT_FOUND@GOTPAGE
Lloh47:
	ldr	x23, [x23, _MFI_STAT_NOT_FOUND@GOTPAGEOFF]
Lloh48:
	adrp	x25, _MFI_STAT_OK@GOTPAGE
Lloh49:
	ldr	x25, [x25, _MFI_STAT_OK@GOTPAGEOFF]
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=1
	ldr	x9, [x22, #8]
	add	x8, x9, x8, lsl #3
	ldur	x8, [x8, #-8]
	add	x5, x8, #1
	ldp	x3, x4, [sp, #48]
	add	x6, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_mfi_get_events
	tbnz	x0, #63, LBB0_46
LBB0_34:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_39 Depth 2
	ldr	x0, [sp, #8]
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_41
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_49
; %bb.36:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x8, [x22]
	cbz	x8, LBB0_33
; %bb.37:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	x26, #0
	mov	x27, #0
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_39 Depth=2
	add	x1, x8, x26
	mov	x0, x19
	mov	x2, x20
	bl	_mfi_decode_evt
	mov	w24, #0
	add	x27, x27, #1
	ldr	x8, [x22]
	add	x26, x26, #8
	cmp	x27, x8
	b.hs	LBB0_33
LBB0_39:                                ;   Parent Loop BB0_34 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x22, #8]
	ldr	x9, [x8, x26]
	ldr	x10, [sp, #24]
	cmp	x9, x10
	b.le	LBB0_38
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=2
	ldr	x11, [sp, #32]
	cmp	x11, x10
	ccmp	x9, x11, #8, gt
	b.ge	LBB0_38
LBB0_41:
	cbz	w24, LBB0_43
; %bb.42:
Lloh50:
	adrp	x0, l_.str.13@PAGE
Lloh51:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_warnx
LBB0_43:
	mov	x0, x22
	bl	_free
	mov	x0, x19
	bl	_close
	mov	w20, #0
	b	LBB0_25
LBB0_44:
Lloh52:
	adrp	x0, l_.str.10@PAGE
Lloh53:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_warnx
	mov	x0, x19
	bl	_close
Lloh54:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_24
LBB0_45:
Lloh56:
	adrp	x8, _errno@GOTPAGE
Lloh57:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh58:
	ldr	w20, [x8]
Lloh59:
	adrp	x0, l_.str.8@PAGE
Lloh60:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_18
LBB0_46:
Lloh61:
	adrp	x8, _errno@GOTPAGE
Lloh62:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh63:
	ldr	w20, [x8]
Lloh64:
	adrp	x0, l_.str.11@PAGE
Lloh65:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_warn
	mov	x0, x22
	bl	_free
	b	LBB0_19
LBB0_47:
Lloh66:
	adrp	x0, l_.str.5@PAGE
Lloh67:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_22
LBB0_48:
Lloh68:
	adrp	x8, _errno@GOTPAGE
Lloh69:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh70:
	ldr	w20, [x8]
Lloh71:
	adrp	x0, l_.str.9@PAGE
Lloh72:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_18
LBB0_49:
	bl	_mfi_status
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh73:
	adrp	x0, l_.str.12@PAGE
Lloh74:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_warnx
	mov	x0, x22
	bl	_free
	mov	x0, x19
	bl	_close
Lloh75:
	adrp	x8, _EIO@GOTPAGE
Lloh76:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_24
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_23-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_mfi_unit,4,2                   ; @mfi_unit
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mfi_open"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to get event log info"

	.comm	_MFI_EVT_LOCALE_ALL,4,2         ; @MFI_EVT_LOCALE_ALL
	.comm	_MFI_EVT_CLASS_WARNING,4,2      ; @MFI_EVT_CLASS_WARNING
	.comm	_optind,4,2                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"c:l:n:v"

	.comm	_optarg,4,2                     ; @optarg
l_.str.3:                               ; @.str.3
	.asciz	"Error parsing event class"

l_.str.4:                               ; @.str.4
	.asciz	"Error parsing event locale"

l_.str.5:                               ; @.str.5
	.asciz	"Invalid event count"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.6:                               ; @.str.6
	.asciz	"Event count is too high"

l_.str.7:                               ; @.str.7
	.asciz	"show events: extra arguments"

l_.str.8:                               ; @.str.8
	.asciz	"Error parsing starting sequence number"

l_.str.9:                               ; @.str.9
	.asciz	"Error parsing ending sequence number"

l_.str.10:                              ; @.str.10
	.asciz	"malloc failed"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.11:                              ; @.str.11
	.asciz	"Failed to fetch events"

	.comm	_MFI_STAT_NOT_FOUND,8,3         ; @MFI_STAT_NOT_FOUND
	.comm	_MFI_STAT_OK,8,3                ; @MFI_STAT_OK
l_.str.12:                              ; @.str.12
	.asciz	"Error fetching events: %s"

	.comm	_EIO,4,2                        ; @EIO
l_.str.13:                              ; @.str.13
	.asciz	"No matching events found"

	.no_dead_strip	_show_events
.subsections_via_symbols
