	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SuperTraceMessageInput
_SuperTraceMessageInput:                ## @SuperTraceMessageInput
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	64(%rdi), %eax
	cmpl	$255, %eax
	jne	LBB0_3
## %bb.1:
	movq	$0, 128(%rbx)
	movl	(%rbx), %ecx
	movl	68(%rbx), %eax
	movl	$0, 68(%rbx)
	cmpl	$2, %ecx
	jne	LBB0_5
## %bb.2:
	movl	$3, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_3:
	movl	72(%rbx), %ecx
	movl	$0, 72(%rbx)
	cmpl	$0, (%rbx)
	je	LBB0_8
## %bb.4:
	movabsq	$8589934592, %rax               ## imm = 0x200000000
	movq	%rax, 76(%rbx)
	jmp	LBB0_34
LBB0_5:
	movl	8(%rbx), %ecx
	cmpl	4(%rbx), %eax
	jne	LBB0_10
## %bb.6:
	cmpl	$1, %ecx
	jne	LBB0_17
## %bb.7:
	movq	32(%rbx), %rax
	movq	%rax, 24(%rbx)
	movl	$2, 8(%rbx)
	jmp	LBB0_30
LBB0_8:
	cmpq	$0, 128(%rbx)
	je	LBB0_12
## %bb.9:
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, 76(%rbx)
	jmp	LBB0_34
LBB0_10:
	cmpl	$1, %ecx
	jne	LBB0_19
## %bb.11:
	movl	$2, 8(%rbx)
	jmp	LBB0_30
LBB0_12:
	cmpl	$2, %eax
	jne	LBB0_21
## %bb.13:
	movq	88(%rbx), %rax
	movq	120(%rbx), %r14
	movslq	8(%rax), %r15
	movq	$0, (%r14,%r15,8)
	leal	-128(%rcx), %eax
	cmpl	$3, %eax
	ja	LBB0_39
## %bb.14:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	cmpl	$1, 60(%rbx)
	jne	LBB0_56
## %bb.16:
	movl	$2, 60(%rbx)
	jmp	LBB0_34
LBB0_17:
	cmpl	$1, 12(%rbx)
	jne	LBB0_22
## %bb.18:
	movl	$2, 12(%rbx)
	movq	32(%rbx), %rax
	movq	%rax, 48(%rbx)
	jmp	LBB0_30
LBB0_19:
	cmpl	$1, 12(%rbx)
	jne	LBB0_25
## %bb.20:
	movl	$2, 12(%rbx)
	jmp	LBB0_30
LBB0_21:
	movl	$1, 76(%rbx)
	movq	88(%rbx), %rax
	movq	120(%rbx), %rcx
	movq	%rcx, (%rax)
	movl	$7, 8(%rax)
	jmp	LBB0_34
LBB0_22:
	cmpl	$1, 16(%rbx)
	jne	LBB0_30
## %bb.23:
	movl	$2, 16(%rbx)
	movq	32(%rbx), %rax
LBB0_24:
	movq	%rax, 40(%rbx)
	jmp	LBB0_30
LBB0_25:
	cmpl	$1, 16(%rbx)
	jne	LBB0_27
## %bb.26:
	movl	$2, 16(%rbx)
	jmp	LBB0_30
LBB0_27:
	movq	24(%rbx), %rcx
	movq	32(%rbx), %rax
	testq	%rcx, %rcx
	je	LBB0_36
## %bb.28:
	cmpq	%rax, %rcx
	jge	LBB0_36
## %bb.29:
	movq	%rax, 24(%rbx)
LBB0_30:
	cmpl	$2, 56(%rbx)
	jne	LBB0_32
## %bb.31:
	movl	$1, 56(%rbx)
LBB0_32:
	movl	$255, 4(%rbx)
	movq	%rbx, %rdi
	callq	_ScheduleNextTraceRequest
LBB0_33:
	movl	%eax, %ecx
	movl	$-1, %eax
	testl	%ecx, %ecx
	jne	LBB0_35
LBB0_34:
	movq	%rbx, %rdi
	callq	_ScheduleNextTraceRequest
	movl	%eax, %ecx
	xorl	%eax, %eax
	negl	%ecx
	sbbl	%eax, %eax
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	cmpq	%rax, 40(%rbx)
	jl	LBB0_24
## %bb.37:
	cmpq	%rax, 48(%rbx)
	jge	LBB0_58
## %bb.38:
	movq	%rax, 48(%rbx)
	jmp	LBB0_30
LBB0_39:
	movq	_DLI_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_diva_mnt_internal_dprintf
	jmp	LBB0_34
LBB0_40:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_process_idi_info
	jmp	LBB0_33
LBB0_41:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_process_idi_event
	jmp	LBB0_33
LBB0_42:
	cmpl	$4, %r15d
	jl	LBB0_34
## %bb.43:
	leaq	100(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r13
	jmp	LBB0_46
LBB0_44:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	_DLI_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movq	%r13, %rdx
	callq	_diva_mnt_internal_dprintf
LBB0_45:                                ##   in Loop: Header=BB0_46 Depth=1
	movslq	%r12d, %rax
	leaq	(%r14,%rax,4), %r14
	addq	$4, %r14
	subl	%r12d, %r15d
	addl	$-4, %r15d
	cmpl	$3, %r15d
	jle	LBB0_34
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	je	LBB0_34
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	movl	8(%r14), %r12d
	shll	$8, %r12d
	orl	4(%r14), %r12d
	addq	$12, %r14
	cmpl	$128, %ecx
	je	LBB0_51
## %bb.48:                              ##   in Loop: Header=BB0_46 Depth=1
	cmpl	$130, %ecx
	je	LBB0_53
## %bb.49:                              ##   in Loop: Header=BB0_46 Depth=1
	cmpl	$129, %ecx
	jne	LBB0_44
## %bb.50:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_process_idi_info
	testl	%eax, %eax
	je	LBB0_45
	jmp	LBB0_66
LBB0_51:                                ##   in Loop: Header=BB0_46 Depth=1
	cmpl	$1, 60(%rbx)
	jne	LBB0_54
## %bb.52:                              ##   in Loop: Header=BB0_46 Depth=1
	movl	$2, 60(%rbx)
	jmp	LBB0_45
LBB0_53:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_process_idi_event
	testl	%eax, %eax
	je	LBB0_45
	jmp	LBB0_66
LBB0_54:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	112(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_45
## %bb.55:                              ##   in Loop: Header=BB0_46 Depth=1
	movl	96(%rbx), %edx
	movl	104(%rbx), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rcx
	movl	%r12d, %r8d
	callq	*%rax
	jmp	LBB0_45
LBB0_56:
	movq	112(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_34
## %bb.57:
	movl	96(%rbx), %edx
	movl	104(%rbx), %edi
	leaq	100(%rbx), %rsi
	movq	%r14, %rcx
	movl	%r15d, %r8d
	callq	*%rax
	jmp	LBB0_34
LBB0_58:
	cmpl	$2, 56(%rbx)
	jne	LBB0_60
## %bb.59:
	movl	$1, 56(%rbx)
	jmp	LBB0_30
LBB0_60:
	cmpq	$0, 144(%rbx)
	je	LBB0_62
## %bb.61:
	movq	$0, 144(%rbx)
	jmp	LBB0_30
LBB0_62:
	cmpq	$0, 136(%rbx)
	je	LBB0_66
## %bb.63:
	movq	$0, 136(%rbx)
	jmp	LBB0_30
LBB0_66:
	movl	$-1, %eax
	jmp	LBB0_35
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_40
	.long	L0_0_set_41
	.long	L0_0_set_42
	.end_data_region
                                        ## -- End function
	.comm	_DLI_ERR,4,2                    ## @DLI_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknon IDI Ind (DMA mode): %02x"

L_.str.1:                               ## @.str.1
	.asciz	"Unknon IDI Ind: %02x"

	.no_dead_strip	_SuperTraceMessageInput
.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 SuperTraceMessageInput
lCPI0_0:
	.long	0                               ; 0x0
	.long	2                               ; 0x2
lCPI0_1:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_SuperTraceMessageInput:                ; @SuperTraceMessageInput
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	w8, [x0, #64]
	cmp	w8, #255
	b.ne	LBB0_3
; %bb.1:
	str	xzr, [x19, #128]
	ldr	w8, [x19, #68]
	str	wzr, [x19, #68]
	ldr	w9, [x19]
	cmp	w9, #2
	b.ne	LBB0_5
; %bb.2:
	mov	w0, #0
	mov	w8, #3
	str	w8, [x19]
	b	LBB0_27
LBB0_3:
	ldr	w3, [x19, #72]
	str	wzr, [x19, #72]
	ldr	w9, [x19]
	cbz	w9, LBB0_8
; %bb.4:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #76]
	b	LBB0_26
LBB0_5:
	ldp	w10, w9, [x19, #4]
	cmp	w8, w10
	b.ne	LBB0_10
; %bb.6:
	cmp	w9, #1
	b.ne	LBB0_21
; %bb.7:
	ldr	x8, [x19, #32]
	str	x8, [x19, #24]
	b	LBB0_11
LBB0_8:
	ldr	x9, [x19, #128]
	cbz	x9, LBB0_16
; %bb.9:
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	stur	d0, [x19, #76]
	b	LBB0_26
LBB0_10:
	cmp	w9, #1
	b.ne	LBB0_23
LBB0_11:
	mov	w8, #2
	str	w8, [x19, #8]
LBB0_12:
	ldr	w8, [x19, #56]
	cmp	w8, #2
	b.ne	LBB0_14
; %bb.13:
	mov	w8, #1
	str	w8, [x19, #56]
LBB0_14:
	mov	w8, #255
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_ScheduleNextTraceRequest
	cbz	w0, LBB0_26
LBB0_15:
	mov	w0, #-1
	b	LBB0_27
LBB0_16:
	cmp	w8, #2
	b.ne	LBB0_25
; %bb.17:
	ldr	x8, [x19, #120]
	ldr	x9, [x19, #88]
	ldrsw	x20, [x9, #8]
	str	xzr, [x8, x20, lsl #3]
	sub	w9, w3, #128
	cmp	w9, #3
	b.hi	LBB0_39
; %bb.18:
Lloh4:
	adrp	x10, lJTI0_0@PAGE
Lloh5:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_19
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_19:
	ldr	w9, [x19, #60]
	cmp	w9, #1
	b.ne	LBB0_56
; %bb.20:
	mov	w8, #2
	str	w8, [x19, #60]
	b	LBB0_26
LBB0_21:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.ne	LBB0_28
; %bb.22:
	mov	w8, #2
	str	w8, [x19, #12]
	ldr	x8, [x19, #32]
	str	x8, [x19, #48]
	b	LBB0_12
LBB0_23:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.ne	LBB0_31
; %bb.24:
	mov	w8, #2
	str	w8, [x19, #12]
	b	LBB0_12
LBB0_25:
	mov	w8, #1
	str	w8, [x19, #76]
	ldr	x8, [x19, #120]
	ldr	x9, [x19, #88]
	str	x8, [x9]
	mov	w8, #7
	str	w8, [x9, #8]
LBB0_26:
	mov	x0, x19
	bl	_ScheduleNextTraceRequest
	cmp	w0, #0
	csetm	w0, ne
LBB0_27:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_28:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.29:
	mov	w8, #2
	str	w8, [x19, #16]
	ldr	x8, [x19, #32]
LBB0_30:
	str	x8, [x19, #40]
	b	LBB0_12
LBB0_31:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.ne	LBB0_33
; %bb.32:
	mov	w8, #2
	str	w8, [x19, #16]
	b	LBB0_12
LBB0_33:
	ldp	x9, x8, [x19, #24]
	cbz	x9, LBB0_36
; %bb.34:
	cmp	x9, x8
	b.ge	LBB0_36
; %bb.35:
	str	x8, [x19, #24]
	b	LBB0_12
LBB0_36:
	ldr	x9, [x19, #40]
	cmp	x9, x8
	b.lt	LBB0_30
; %bb.37:
	ldr	x9, [x19, #48]
	cmp	x9, x8
	b.ge	LBB0_58
; %bb.38:
	str	x8, [x19, #48]
	b	LBB0_12
LBB0_39:
Lloh6:
	adrp	x8, _DLI_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DLI_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #0
	bl	_diva_mnt_internal_dprintf
	b	LBB0_26
LBB0_40:
	mov	x0, x19
	mov	x1, x8
	bl	_process_idi_info
	cbnz	w0, LBB0_15
	b	LBB0_26
LBB0_41:
	mov	x0, x19
	mov	x1, x8
	bl	_process_idi_event
	cbnz	w0, LBB0_15
	b	LBB0_26
LBB0_42:
	cmp	w20, #4
	b.lt	LBB0_26
; %bb.43:
	add	x21, x19, #100
	mov	w25, #2
Lloh11:
	adrp	x26, _DLI_ERR@GOTPAGE
Lloh12:
	ldr	x26, [x26, _DLI_ERR@GOTPAGEOFF]
Lloh13:
	adrp	x22, l_.str@PAGE
Lloh14:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_46
LBB0_44:                                ;   in Loop: Header=BB0_46 Depth=1
	ldr	w1, [x26]
	mov	w0, #0
	mov	x2, x22
	bl	_diva_mnt_internal_dprintf
LBB0_45:                                ;   in Loop: Header=BB0_46 Depth=1
	add	w8, w23, #1
	add	x8, x24, w8, sxtw #2
	sub	w9, w20, w23
	sub	w20, w9, #4
	cmp	w20, #3
	b.le	LBB0_26
LBB0_46:                                ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x8]
	cbz	w3, LBB0_26
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=1
	ldp	w9, w10, [x8, #4]
	orr	w23, w9, w10, lsl #8
	add	x24, x8, #12
	cmp	w3, #128
	b.eq	LBB0_51
; %bb.48:                               ;   in Loop: Header=BB0_46 Depth=1
	cmp	w3, #130
	b.eq	LBB0_53
; %bb.49:                               ;   in Loop: Header=BB0_46 Depth=1
	cmp	w3, #129
	b.ne	LBB0_44
; %bb.50:                               ;   in Loop: Header=BB0_46 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_process_idi_info
	cbz	w0, LBB0_45
	b	LBB0_15
LBB0_51:                                ;   in Loop: Header=BB0_46 Depth=1
	ldr	w8, [x19, #60]
	cmp	w8, #1
	b.ne	LBB0_54
; %bb.52:                               ;   in Loop: Header=BB0_46 Depth=1
	str	w25, [x19, #60]
	b	LBB0_45
LBB0_53:                                ;   in Loop: Header=BB0_46 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_process_idi_event
	cbz	w0, LBB0_45
	b	LBB0_15
LBB0_54:                                ;   in Loop: Header=BB0_46 Depth=1
	ldr	x8, [x19, #112]
	cbz	x8, LBB0_45
; %bb.55:                               ;   in Loop: Header=BB0_46 Depth=1
	ldr	w0, [x19, #104]
	ldr	w2, [x19, #96]
	mov	x1, x21
	mov	x3, x24
	mov	x4, x23
	blr	x8
	b	LBB0_45
LBB0_56:
	ldr	x9, [x19, #112]
	cbz	x9, LBB0_26
; %bb.57:
	ldr	w0, [x19, #104]
	add	x1, x19, #100
	ldr	w2, [x19, #96]
	mov	x3, x8
	mov	x4, x20
	blr	x9
	b	LBB0_26
LBB0_58:
	ldr	w8, [x19, #56]
	cmp	w8, #2
	b.ne	LBB0_60
; %bb.59:
	mov	w8, #1
	str	w8, [x19, #56]
	b	LBB0_12
LBB0_60:
	ldr	x8, [x19, #144]
	cbz	x8, LBB0_62
; %bb.61:
	str	xzr, [x19, #144]
	b	LBB0_12
LBB0_62:
	ldr	x8, [x19, #136]
	cbz	x8, LBB0_15
; %bb.63:
	str	xzr, [x19, #136]
	b	LBB0_12
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_19-LBB0_19)>>2
	.byte	(LBB0_40-LBB0_19)>>2
	.byte	(LBB0_41-LBB0_19)>>2
	.byte	(LBB0_42-LBB0_19)>>2
                                        ; -- End function
	.comm	_DLI_ERR,4,2                    ; @DLI_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknon IDI Ind (DMA mode): %02x"

l_.str.1:                               ; @.str.1
	.asciz	"Unknon IDI Ind: %02x"

	.no_dead_strip	_SuperTraceMessageInput
.subsections_via_symbols
