	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diva_maint_trace_notify
_diva_maint_trace_notify:               ## @diva_maint_trace_notify
	.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	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_TraceFilterIdent@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	js	LBB0_15
## %bb.1:
	movq	_TraceFilterChannel@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	js	LBB0_15
## %bb.2:
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	_clients@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jge	LBB0_15
## %bb.3:
	movq	(%r12), %rax
	leaq	(%rbx,%rbx,2), %rcx
	cmpq	%rbx, 16(%rax,%rcx,8)
	jne	LBB0_15
## %bb.4:
	cmpq	%r14, 8(%rax,%rcx,8)
	je	LBB0_5
LBB0_15:
	movq	_TraceFilter@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	jne	LBB0_23
LBB0_16:
	leaq	-80(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_diva_os_get_time
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movslq	%r15d, %r13
	addq	$56, %r13
	movq	_dbg_queue@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_queueAllocMsg
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_21
## %bb.17:
	leaq	-88(%rbp), %r15
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	_queuePeekMsg
	testq	%rax, %rax
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	(%r14), %edi
	callq	_queueFreeMsg
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_queueAllocMsg
	testq	%rax, %rax
	je	LBB0_18
## %bb.20:
	movq	%rax, %rbx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_21:
	leaq	56(%rbx), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
	movq	_dbg_sequence@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	movq	%rcx, 48(%rbx)
	movq	-80(%rbp), %rax
	movq	%rax, 40(%rbx)
	movq	-72(%rbp), %rax
	movq	%rax, 32(%rbx)
	movq	_MSG_TYPE_MLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %eax
	movl	%eax, 20(%rbx)
	movq	(%rcx), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	movl	%r15d, (%rbx)
	movq	%rbx, %rdi
	callq	_queueCompleteMsg
	movl	(%r14), %edi
	callq	_queueCount
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	xorl	%eax, %eax
	callq	_diva_maint_wakeup_read
LBB0_23:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpl	%r13d, (%rax,%rcx,8)
	jne	LBB0_23
## %bb.6:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	2(%rdx), %rcx
	xorl	%eax, %eax
	cmpl	$24, (%rdx)
	cmoveq	%rcx, %rax
	jne	LBB0_16
## %bb.7:
	cmpb	$91, (%rax)
	jne	LBB0_16
## %bb.8:
	leaq	3(%rax), %rcx
	cmpb	$44, 2(%rax)
	je	LBB0_11
## %bb.9:
	cmpb	$44, (%rcx)
	jne	LBB0_16
## %bb.10:
	addq	$4, %rax
	movq	%rax, %rcx
LBB0_11:
	movsbl	(%rcx), %eax
	cmpl	$48, %eax
	jl	LBB0_16
## %bb.12:
	addl	$-48, %eax
	cmpb	$93, 2(%rcx)
	jne	LBB0_14
## %bb.13:
	leal	(%rax,%rax,4), %eax
	movsbl	1(%rcx), %ecx
	leal	(%rcx,%rax,2), %eax
	addl	$-48, %eax
LBB0_14:
	cmpl	%r15d, %eax
	je	LBB0_16
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_TraceFilterChannel,4,2         ## @TraceFilterChannel
	.comm	_TraceFilterIdent,4,2           ## @TraceFilterIdent
	.comm	_clients,8,3                    ## @clients
	.comm	_TraceFilter,8,3                ## @TraceFilter
	.comm	_dbg_queue,4,2                  ## @dbg_queue
	.comm	_dbg_sequence,4,2               ## @dbg_sequence
	.comm	_MSG_TYPE_MLOG,4,2              ## @MSG_TYPE_MLOG
	.no_dead_strip	_diva_maint_trace_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diva_maint_trace_notify
_diva_maint_trace_notify:               ; @diva_maint_trace_notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x4
	mov	x21, x3
	mov	x20, x0
Lloh0:
	adrp	x8, _TraceFilterIdent@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TraceFilterIdent@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	tbnz	w25, #31, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _TraceFilterChannel@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TraceFilterChannel@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	tbnz	w24, #31, LBB0_5
; %bb.2:
	mov	x22, x2
	mov	x23, x1
Lloh6:
	adrp	x26, _clients@GOTPAGE
Lloh7:
	ldr	x26, [x26, _clients@GOTPAGEOFF]
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w25, w0
	b.ge	LBB0_5
; %bb.3:
	ldr	x8, [x26]
	mov	w9, #24
	madd	x9, x25, x9, x8
	ldr	x9, [x9, #16]
	cmp	x9, x25
	b.ne	LBB0_5
; %bb.4:
	mov	w9, #24
	madd	x9, x25, x9, x8
	ldr	x9, [x9, #8]
	cmp	x9, x23
	b.eq	LBB0_13
LBB0_5:
Lloh8:
	adrp	x8, _TraceFilter@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TraceFilter@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_12
LBB0_6:
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_diva_os_get_time
	sxtw	x8, w19
	add	x23, x8, #56
Lloh11:
	adrp	x24, _dbg_queue@GOTPAGE
Lloh12:
	ldr	x24, [x24, _dbg_queue@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	x1, x23
	bl	_queueAllocMsg
	mov	x22, x0
	cbnz	x0, LBB0_10
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x24]
	bl	_queueFreeMsg
	ldr	w0, [x24]
	mov	x1, x23
	bl	_queueAllocMsg
	cbnz	x0, LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	add	x1, sp, #24
	bl	_queuePeekMsg
	cbnz	x0, LBB0_7
	b	LBB0_12
LBB0_9:
	mov	x22, x0
LBB0_10:
	add	x0, x22, #56
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
Lloh13:
	adrp	x8, _dbg_sequence@GOTPAGE
Lloh14:
	ldr	x8, [x8, _dbg_sequence@GOTPAGEOFF]
	ldrsw	x11, [x8]
	add	w10, w11, #1
	str	w10, [x8]
	ldp	x9, x8, [sp, #8]
	stp	x8, x11, [x22, #40]
	str	x9, [x22, #32]
Lloh15:
	adrp	x8, _MSG_TYPE_MLOG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_TYPE_MLOG@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x22, #24]
	ldr	w8, [x20, #8]
	str	w8, [x22, #20]
	ldr	x8, [x20]
	ldr	w8, [x8]
	str	w8, [x22, #16]
	str	xzr, [x22, #8]
	str	w19, [x22]
	mov	x0, x22
	bl	_queueCompleteMsg
	ldr	w0, [x24]
	bl	_queueCount
	cbz	x0, LBB0_12
; %bb.11:
	bl	_diva_maint_wakeup_read
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	mov	w9, #24
	mul	x9, x25, x9
	ldr	w8, [x8, x9]
	cmp	w8, w22
	b.ne	LBB0_12
; %bb.14:
	mov	x8, x21
	ldr	w9, [x8], #2
	cmp	w9, #24
	csel	x9, x8, xzr, eq
	b.ne	LBB0_6
; %bb.15:
	ldrb	w8, [x9]
	cmp	w8, #91
	b.ne	LBB0_6
; %bb.16:
	ldrb	w10, [x9, #2]
	add	x8, x9, #3
	cmp	w10, #44
	b.eq	LBB0_19
; %bb.17:
	ldrb	w8, [x8]
	cmp	w8, #44
	b.ne	LBB0_6
; %bb.18:
	add	x8, x9, #4
LBB0_19:
	ldrsb	w9, [x8]
	subs	w9, w9, #48
	b.lt	LBB0_6
; %bb.20:
	ldrb	w10, [x8, #2]
	cmp	w10, #93
	b.ne	LBB0_22
; %bb.21:
	mov	w10, #10
	ldrsb	w8, [x8, #1]
	madd	w8, w9, w10, w8
	sub	w9, w8, #48
LBB0_22:
	cmp	w9, w24
	b.eq	LBB0_6
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TraceFilterChannel,4,2         ; @TraceFilterChannel
	.comm	_TraceFilterIdent,4,2           ; @TraceFilterIdent
	.comm	_clients,8,3                    ; @clients
	.comm	_TraceFilter,8,3                ; @TraceFilter
	.comm	_dbg_queue,4,2                  ; @dbg_queue
	.comm	_dbg_sequence,4,2               ; @dbg_sequence
	.comm	_MSG_TYPE_MLOG,4,2              ; @MSG_TYPE_MLOG
	.no_dead_strip	_diva_maint_trace_notify
.subsections_via_symbols
