	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dointr
_dointr:                                ## @dointr
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_getuptime
	movq	%rax, %r13
	movq	_kd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.6:
	movq	_X_SINTRNAMES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_kread
	movq	-48(%rbp), %rdi
	callq	_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_xo_err
LBB0_8:
	movq	_namelist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_X_NINTRCNT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	movq	_X_INTRNAMES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_9
## %bb.11:
	leaq	-88(%rbp), %rsi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_kread
	movq	-88(%rbp), %rdi
	movq	-48(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_kreadptr
	jmp	LBB0_12
LBB0_1:
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	movl	$1024, %esi                     ## imm = 0x400
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str.2(%rip), %r15
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, -48(%rbp)
	movq	%rbx, %rdi
	callq	_reallocf
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	movq	%r12, %rsi
	callq	_xo_err
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_mysysctl
	testq	%rax, %rax
	je	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rsi
	addq	%rsi, %rsi
	jmp	LBB0_2
LBB0_5:
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_12
LBB0_9:
	movq	-48(%rbp), %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_kread
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	callq	_strlen
	movslq	%eax, %r12
	cmpb	$0, (%rbx)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	cmpq	%rax, %r12
	cmovbeq	%rax, %r12
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	cmpb	$0, 1(%rax,%rbx)
	leaq	1(%rax,%rbx), %rbx
	jne	LBB0_13
LBB0_14:
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.5(%rip), %rcx
	leaq	L_.str.6(%rip), %r8
	movl	%r12d, %esi
	callq	_xo_emit
	leaq	L_.str.7(%rip), %rdi
	callq	_xo_open_container
	imull	$1000, %r14d, %eax              ## imm = 0x3E8
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r13, %r15
	xorl	%r14d, %r14d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	decl	%eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_usleep
	xorl	%eax, %eax
	callq	_getuptime
	movq	%rax, %r13
	subq	%r15, %r13
	movq	%rax, %r15
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rax
	movabsq	$4835703278458516699, %rcx      ## imm = 0x431BDE82D7B634DB
	imulq	%rcx
	movq	%rdx, %rbx
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$18, %rbx
	addq	%rax, %rbx
	leaq	-80(%rbp), %rdi
	callq	_read_intrcnts
	movl	%eax, %r13d
	testq	%r14, %r14
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%r13d, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$1, %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_xo_err
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-80(%rbp), %rdi
	movq	%r14, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_print_intrcnts
	xorl	%eax, %eax
	callq	_xo_flush
	movq	%r14, %rdi
	callq	_free
	movq	-80(%rbp), %r14
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	js	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$2, %eax
	jae	LBB0_20
## %bb.22:
	leaq	L_.str.7(%rip), %rdi
	callq	_xo_close_container
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kd,8,3                         ## @kd
	.comm	_X_SINTRNAMES,4,2               ## @X_SINTRNAMES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc()"

	.comm	_namelist,8,3                   ## @namelist
	.comm	_X_NINTRCNT,8,3                 ## @X_NINTRCNT
	.comm	_X_INTRNAMES,4,2                ## @X_INTRNAMES
L_.str.1:                               ## @.str.1
	.asciz	"reallocf()"

L_.str.2:                               ## @.str.2
	.asciz	"hw.intrnames"

L_.str.3:                               ## @.str.3
	.asciz	"interrupt"

L_.str.4:                               ## @.str.4
	.asciz	"{T:/%-*s} {T:/%20s} {T:/%10s}\n"

L_.str.5:                               ## @.str.5
	.asciz	"total"

L_.str.6:                               ## @.str.6
	.asciz	"rate"

L_.str.7:                               ## @.str.7
	.asciz	"interrupt-statistics"

L_.str.8:                               ## @.str.8
	.asciz	"calloc()"

	.no_dead_strip	_dointr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dointr
_dointr:                                ; @dointr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x0
	bl	_getuptime
	mov	x21, x0
Lloh0:
	adrp	x8, _kd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kd@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _X_SINTRNAMES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X_SINTRNAMES@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w8, #8
	add	x9, sp, #32
	stp	x9, x8, [sp]
	bl	_kread
	ldr	x0, [sp, #32]
	bl	_malloc
	mov	x20, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_xo_err
LBB0_3:
Lloh8:
	adrp	x8, _namelist@GOTPAGE
Lloh9:
	ldr	x8, [x8, _namelist@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _X_NINTRCNT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _X_NINTRCNT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh14:
	adrp	x9, _X_INTRNAMES@GOTPAGE
Lloh15:
	ldr	x9, [x9, _X_INTRNAMES@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x9]
	cbz	x8, LBB0_10
; %bb.4:
	mov	w8, #8
	add	x9, sp, #24
	stp	x9, x8, [sp]
	bl	_kread
	ldp	x0, x2, [sp, #24]
	mov	x1, x20
	bl	_kreadptr
	b	LBB0_11
LBB0_5:
	mov	x20, #0
	mov	w1, #1024
Lloh17:
	adrp	x23, l_.str.1@PAGE
Lloh18:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh19:
	adrp	x24, l_.str.2@PAGE
Lloh20:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	x1, [sp, #32]
	mov	x0, x20
	bl	_reallocf
	mov	x20, x0
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	mov	x1, x23
	bl	_xo_err
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x2, sp, #32
	mov	x0, x24
	mov	x1, x20
	bl	_mysysctl
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #32]
	lsl	x1, x8, #1
	b	LBB0_6
LBB0_10:
	ldr	x8, [sp, #32]
	stp	x20, x8, [sp]
	bl	_kread
LBB0_11:
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x23, w0
	ldrb	w8, [x20]
	cbz	w8, LBB0_14
; %bb.12:
	mov	x24, x20
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x23, x8
	csel	x23, x23, x8, hi
	mov	x0, x24
	bl	_strlen
	add	x24, x24, w0, sxtw
	ldrb	w8, [x24, #1]!
	cbnz	w8, LBB0_13
LBB0_14:
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh25:
	adrp	x2, l_.str.3@PAGE
Lloh26:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh27:
	adrp	x3, l_.str.5@PAGE
Lloh28:
	add	x3, x3, l_.str.5@PAGEOFF
Lloh29:
	adrp	x4, l_.str.6@PAGE
Lloh30:
	add	x4, x4, l_.str.6@PAGEOFF
	mov	x1, x23
	bl	_xo_emit
Lloh31:
	adrp	x0, l_.str.7@PAGE
Lloh32:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_xo_open_container
	mov	x25, #0
	mov	w8, #1000
	mul	w22, w22, w8
	mov	x27, #13531
	movk	x27, #55222, lsl #16
	movk	x27, #56962, lsl #32
	movk	x27, #17179, lsl #48
Lloh33:
	adrp	x24, l_.str.8@PAGE
Lloh34:
	add	x24, x24, l_.str.8@PAGEOFF
	mov	x28, x21
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	sub	w19, w19, #1
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x22
	bl	_usleep
	bl	_getuptime
	sub	x21, x0, x28
	mov	x28, x0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #40
	bl	_read_intrcnts
	mov	x26, x0
	cbnz	x25, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x26
	mov	w1, #8
	bl	_calloc
	mov	x25, x0
	cbnz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	w0, #1
	mov	x1, x24
	bl	_xo_err
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
	smulh	x8, x21, x27
	asr	x9, x8, #18
	add	x5, x9, x8, lsr #63
	ldr	x0, [sp, #40]
	mov	x1, x25
	mov	x2, x20
	mov	x3, x26
	mov	x4, x23
	bl	_print_intrcnts
	bl	_xo_flush
	mov	x0, x25
	bl	_free
	ldr	x25, [sp, #40]
	tbnz	w19, #31, LBB0_16
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	cmp	w19, #2
	b.hs	LBB0_15
; %bb.22:
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_xo_close_container
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_kd,8,3                         ; @kd
	.comm	_X_SINTRNAMES,4,2               ; @X_SINTRNAMES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc()"

	.comm	_namelist,8,3                   ; @namelist
	.comm	_X_NINTRCNT,8,3                 ; @X_NINTRCNT
	.comm	_X_INTRNAMES,4,2                ; @X_INTRNAMES
l_.str.1:                               ; @.str.1
	.asciz	"reallocf()"

l_.str.2:                               ; @.str.2
	.asciz	"hw.intrnames"

l_.str.3:                               ; @.str.3
	.asciz	"interrupt"

l_.str.4:                               ; @.str.4
	.asciz	"{T:/%-*s} {T:/%20s} {T:/%10s}\n"

l_.str.5:                               ; @.str.5
	.asciz	"total"

l_.str.6:                               ; @.str.6
	.asciz	"rate"

l_.str.7:                               ; @.str.7
	.asciz	"interrupt-statistics"

l_.str.8:                               ; @.str.8
	.asciz	"calloc()"

	.no_dead_strip	_dointr
.subsections_via_symbols
