	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diva_get_trace_filter          ## -- Begin function diva_get_trace_filter
	.p2align	4, 0x90
_diva_get_trace_filter:                 ## @diva_get_trace_filter
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_dbg_q_lock@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rdx
	leaq	-36(%rbp), %rsi
	callq	_diva_os_enter_spin_lock
	movq	_TraceFilter@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ebx
	cmpl	%r15d, %eax
	jge	LBB0_2
## %bb.1:
	movq	(%r12), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_memcpy
LBB0_2:
	movq	_dbg_q_lock@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rdx
	leaq	-36(%rbp), %rsi
	callq	_diva_os_leave_spin_lock
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dbg_q_lock,4,2                 ## @dbg_q_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read_filter"

	.comm	_TraceFilter,8,3                ## @TraceFilter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diva_get_trace_filter          ; -- Begin function diva_get_trace_filter
	.p2align	2
_diva_get_trace_filter:                 ; @diva_get_trace_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x0, _dbg_q_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _dbg_q_lock@GOTPAGEOFF]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	add	x1, sp, #12
	bl	_diva_os_enter_spin_lock
Lloh4:
	adrp	x22, _TraceFilter@GOTPAGE
Lloh5:
	ldr	x22, [x22, _TraceFilter@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_strlen
	add	w20, w0, #1
	cmp	w0, w21
	b.ge	LBB0_2
; %bb.1:
	ldr	x1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_memcpy
LBB0_2:
Lloh6:
	adrp	x0, _dbg_q_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _dbg_q_lock@GOTPAGEOFF]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	add	x1, sp, #12
	bl	_diva_os_leave_spin_lock
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_dbg_q_lock,4,2                 ; @dbg_q_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read_filter"

	.comm	_TraceFilter,8,3                ; @TraceFilter
.subsections_via_symbols
