	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_prof_reset
_do_prof_reset:                         ## @do_prof_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, -16(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-16(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$8, %r8d
	callq	_mallctl
	leaq	L_.str.1(%rip), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_assert_d_eq
	movq	-16(%rbp), %rbx
	xorl	%eax, %eax
	callq	_get_lg_prof_sample
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_assert_zu_eq
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prof.reset"

L_.str.1:                               ## @.str.1
	.asciz	"Unexpected mallctl failure while resetting profile data"

L_.str.2:                               ## @.str.2
	.asciz	"Expected profile sample rate change"

	.no_dead_strip	_do_prof_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_prof_reset
_do_prof_reset:                         ; @do_prof_reset
	.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	x0, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x1, #0
	mov	x2, #0
	mov	w4, #8
	bl	_mallctl
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #0
	bl	_assert_d_eq
	ldr	x19, [sp, #8]
	bl	_get_lg_prof_sample
	mov	x1, x0
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_assert_zu_eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.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	"prof.reset"

l_.str.1:                               ; @.str.1
	.asciz	"Unexpected mallctl failure while resetting profile data"

l_.str.2:                               ; @.str.2
	.asciz	"Expected profile sample rate change"

	.no_dead_strip	_do_prof_reset
.subsections_via_symbols
