	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_store
_reset_store:                           ## @reset_store
	.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	%rcx, %r14
	movq	%rdx, %r15
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	cmpq	$0, -40(%rbp)
	je	LBB0_6
## %bb.2:
	leaq	8(%rbx), %r12
	movq	%rbx, %r15
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_ETM_MODE_EXCLUDE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_ETM_DEFAULT_EVENT_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	cmpl	$0, (%rbx)
	jle	LBB0_5
## %bb.3:
	movq	(%r12), %rax
	xorl	%ecx, %ecx
	movq	_ETM_ADDR_TYPE_NONE@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	movl	%esi, (%rax,%rcx,4)
	incq	%rcx
	movslq	(%rbx), %rsi
	cmpq	%rsi, %rcx
	jl	LBB0_4
LBB0_5:
	movq	%r12, %rdi
	callq	_etm_set_default
	movq	%r15, %rdi
	callq	_spin_unlock
LBB0_6:
	movl	%r14d, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETM_MODE_EXCLUDE,4,2           ## @ETM_MODE_EXCLUDE
	.comm	_ETM_DEFAULT_EVENT_VAL,4,2      ## @ETM_DEFAULT_EVENT_VAL
	.comm	_ETM_ADDR_TYPE_NONE,4,2         ## @ETM_ADDR_TYPE_NONE
	.no_dead_strip	_reset_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_store
_reset_store:                           ; @reset_store
	.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, x3
	mov	x21, x2
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #16
	bl	_kstrtoul
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.2:
	add	x22, x20, #8
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock
	mov	x0, x22
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _ETM_MODE_EXCLUDE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETM_MODE_EXCLUDE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ETM_DEFAULT_EVENT_VAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ETM_DEFAULT_EVENT_VAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x8, #0
	ldr	x9, [x22]
Lloh6:
	adrp	x10, _ETM_ADDR_TYPE_NONE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ETM_ADDR_TYPE_NONE@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	str	w11, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x11, [x20]
	cmp	x8, x11
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x22
	bl	_etm_set_default
	mov	x0, x21
	bl	_spin_unlock
LBB0_6:
	mov	x0, x19
LBB0_7:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ETM_MODE_EXCLUDE,4,2           ; @ETM_MODE_EXCLUDE
	.comm	_ETM_DEFAULT_EVENT_VAL,4,2      ; @ETM_DEFAULT_EVENT_VAL
	.comm	_ETM_ADDR_TYPE_NONE,4,2         ; @ETM_ADDR_TYPE_NONE
	.no_dead_strip	_reset_store
.subsections_via_symbols
