	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scsp_debug_add_instrument      ## -- Begin function scsp_debug_add_instrument
	.p2align	4, 0x90
_scsp_debug_add_instrument:             ## @scsp_debug_add_instrument
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$0, -20(%rbp)
	movl	$0, -24(%rbp)
	movq	_debug_instrument_pos@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_NUM_DEBUG_INSTRUMENTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.1:
	movl	%edi, %ebx
	leaq	-20(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	callq	_scsp_debug_search_instruments
	cmpl	$0, -20(%rbp)
	jne	LBB0_3
## %bb.2:
	movq	_debug_instruments@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r14)
	movl	%ebx, (%rax,%rcx,4)
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug_instrument_pos,8,3       ## @debug_instrument_pos
	.comm	_NUM_DEBUG_INSTRUMENTS,8,3      ## @NUM_DEBUG_INSTRUMENTS
	.comm	_debug_instruments,8,3          ## @debug_instruments
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scsp_debug_add_instrument      ; -- Begin function scsp_debug_add_instrument
	.p2align	2
_scsp_debug_add_instrument:             ; @scsp_debug_add_instrument
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	wzr, [sp, #12]
Lloh0:
	adrp	x20, _debug_instrument_pos@GOTPAGE
Lloh1:
	ldr	x20, [x20, _debug_instrument_pos@GOTPAGEOFF]
	str	wzr, [sp, #8]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _NUM_DEBUG_INSTRUMENTS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NUM_DEBUG_INSTRUMENTS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
	mov	x19, x0
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_scsp_debug_search_instruments
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _debug_instruments@GOTPAGE
Lloh6:
	ldr	x8, [x8, _debug_instruments@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x10, x9, #1
	str	x10, [x20]
	str	w19, [x8, x9, lsl #2]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_debug_instrument_pos,8,3       ; @debug_instrument_pos
	.comm	_NUM_DEBUG_INSTRUMENTS,8,3      ; @NUM_DEBUG_INSTRUMENTS
	.comm	_debug_instruments,8,3          ; @debug_instruments
.subsections_via_symbols
