	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prof_sampling_probe_impl
_prof_sampling_probe_impl:              ## @prof_sampling_probe_impl
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	xorl	%r12d, %r12d
	testl	%edi, %edi
	setne	%r12b
	xorl	%eax, %eax
	callq	_prof_bt_count
	leaq	L_.str(%rip), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_assert_zu_eq
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_mallocx
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_assert_ptr_not_null
	xorl	%eax, %eax
	callq	_prof_bt_count
	leaq	L_.str.2(%rip), %rdx
	movl	%eax, %edi
	movq	%r12, %rsi
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_assert_zu_eq
	movq	%rbx, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dallocx                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s():%d: Expected 0 backtraces"

L_.str.1:                               ## @.str.1
	.asciz	"Unexpected mallocx() failure"

L_.str.2:                               ## @.str.2
	.asciz	"%s():%d: Unexpected backtrace count"

	.no_dead_strip	_prof_sampling_probe_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prof_sampling_probe_impl
_prof_sampling_probe_impl:              ; @prof_sampling_probe_impl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	cmp	w0, #0
	cset	w21, ne
	bl	_prof_bt_count
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, #0
	mov	x3, x20
	mov	x4, x19
	bl	_assert_zu_eq
	mov	w0, #1
	mov	w1, #0
	bl	_mallocx
	mov	x22, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_assert_ptr_not_null
	bl	_prof_bt_count
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	bl	_assert_zu_eq
	mov	x0, x22
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dallocx
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s():%d: Expected 0 backtraces"

l_.str.1:                               ; @.str.1
	.asciz	"Unexpected mallocx() failure"

l_.str.2:                               ; @.str.2
	.asciz	"%s():%d: Unexpected backtrace count"

	.no_dead_strip	_prof_sampling_probe_impl
.subsections_via_symbols
