	.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
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subq	(%rax), %r14
	jmp	LBB0_30
LBB0_2:
	movq	%rbx, %r15
	addq	$32, %r15
	movq	%r15, %rdi
	callq	_spin_lock
	xorl	%eax, %eax
	cmpq	$0, -40(%rbp)
	jne	LBB0_4
## %bb.3:
	movl	56(%rbx), %eax
LBB0_4:
	movq	_ETM_MODE_LOAD@GOTPCREL(%rip), %rcx
	movq	_ETM_MODE_STORE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	%edx, 56(%rbx)
	movl	$1, %edi
	callq	_BIT
	movl	%eax, %r12d
	movl	$2, %edi
	callq	_BIT
	orl	%r12d, %eax
	notl	%eax
	andl	%eax, 60(%rbx)
	movq	_ETM_MODE_DATA_TRACE_ADDR@GOTPCREL(%rip), %rax
	movq	_ETM_MODE_DATA_TRACE_VAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, 56(%rbx)
	movl	$16, %edi
	callq	_BIT
	movl	%eax, %r12d
	movl	$17, %edi
	callq	_BIT
	orl	%r12d, %eax
	notl	%eax
	andl	%eax, 60(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rbx)
	cmpl	$0, (%rbx)
	jne	LBB0_6
## %bb.5:
	movl	$8, 80(%rbx)
LBB0_6:
	xorl	%edi, %edi
	callq	_BIT
	orl	%eax, 84(%rbx)
	cmpl	$1, 4(%rbx)
	jne	LBB0_8
## %bb.7:
	movq	_ETM_MODE_VIEWINST_STARTSTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 56(%rbx)
	movl	$9, %edi
	callq	_BIT
	orl	%eax, 84(%rbx)
LBB0_8:
	movq	$0, 88(%rbx)
	cmpl	$2, 8(%rbx)
	jl	LBB0_11
## %bb.9:
	movq	96(%rbx), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%rcx,4)
	incq	%rcx
	movslq	8(%rbx), %rdx
	decq	%rdx
	cmpq	%rdx, %rcx
	jl	LBB0_10
LBB0_11:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 104(%rbx)
	cmpl	$0, 12(%rbx)
	jle	LBB0_14
## %bb.12:
	movq	120(%rbx), %rax
	movq	128(%rbx), %rcx
	movq	136(%rbx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%rsi,4)
	movl	$0, (%rcx,%rsi,4)
	movl	$0, (%rdx,%rsi,4)
	incq	%rsi
	movslq	12(%rbx), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_13
LBB0_14:
	movl	$0, 144(%rbx)
	cmpl	$0, 16(%rbx)
	jle	LBB0_17
## %bb.15:
	movq	152(%rbx), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%rcx,4)
	incq	%rcx
	movslq	16(%rbx), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_16
LBB0_17:
	cmpl	$0, 20(%rbx)
	jle	LBB0_20
## %bb.18:
	movq	160(%rbx), %rax
	movq	168(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%rdx,4)
	movl	$0, (%rcx,%rdx,4)
	incq	%rdx
	movslq	20(%rbx), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_19
LBB0_20:
	movl	$0, 176(%rbx)
	cmpl	$0, 4(%rbx)
	jle	LBB0_23
## %bb.21:
	movq	184(%rbx), %rax
	movq	192(%rbx), %rcx
	movq	248(%rbx), %rdx
	xorl	%esi, %esi
	movq	_ETM_ADDR_TYPE_NONE@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%rsi,4)
	movl	$0, (%rcx,%rsi,4)
	movl	(%r8), %edi
	movl	%edi, (%rdx,%rsi,4)
	incq	%rsi
	movslq	4(%rbx), %rdi
	addq	%rdi, %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_22
LBB0_23:
	movl	$0, 200(%rbx)
	cmpl	$0, 24(%rbx)
	jle	LBB0_26
## %bb.24:
	movq	208(%rbx), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%rcx,4)
	incq	%rcx
	movslq	24(%rbx), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_25
LBB0_26:
	movq	$0, 216(%rbx)
	movl	$0, 224(%rbx)
	cmpl	$0, 28(%rbx)
	jle	LBB0_29
## %bb.27:
	movq	232(%rbx), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%rcx,4)
	incq	%rcx
	movslq	28(%rbx), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_28
LBB0_29:
	movq	$0, 240(%rbx)
	movq	40(%rbx), %rax
	incq	%rax
	movq	%rax, 48(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock
LBB0_30:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_ETM_MODE_LOAD,4,2              ## @ETM_MODE_LOAD
	.comm	_ETM_MODE_STORE,4,2             ## @ETM_MODE_STORE
	.comm	_ETM_MODE_DATA_TRACE_ADDR,4,2   ## @ETM_MODE_DATA_TRACE_ADDR
	.comm	_ETM_MODE_DATA_TRACE_VAL,4,2    ## @ETM_MODE_DATA_TRACE_VAL
	.comm	_ETM_MODE_VIEWINST_STARTSTOP,4,2 ## @ETM_MODE_VIEWINST_STARTSTOP
	.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
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_31
LBB0_2:
	add	x21, x20, #32
	mov	x0, x21
	bl	_spin_lock
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w8, #0
	b	LBB0_5
LBB0_4:
	ldr	w8, [x20, #56]
LBB0_5:
Lloh3:
	adrp	x9, _ETM_MODE_LOAD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETM_MODE_LOAD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _ETM_MODE_STORE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ETM_MODE_STORE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w8, w8, w9
	str	w8, [x20, #56]
	mov	w0, #1
	bl	_BIT
	mov	x22, x0
	mov	w0, #2
	bl	_BIT
	orr	w8, w0, w22
	ldp	w10, w9, [x20, #56]
	bic	w8, w9, w8
Lloh9:
	adrp	x9, _ETM_MODE_DATA_TRACE_ADDR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ETM_MODE_DATA_TRACE_ADDR@GOTPAGEOFF]
Lloh11:
	adrp	x11, _ETM_MODE_DATA_TRACE_VAL@GOTPAGE
Lloh12:
	ldr	x11, [x11, _ETM_MODE_DATA_TRACE_VAL@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	ldr	w11, [x11]
	orr	w9, w11, w9
	bic	w9, w10, w9
	stp	w9, w8, [x20, #56]
	mov	w0, #16
	bl	_BIT
	mov	x22, x0
	mov	w0, #17
	bl	_BIT
	orr	w8, w0, w22
	ldr	w9, [x20, #60]
	bic	w8, w9, w8
	str	w8, [x20, #60]
	stp	xzr, xzr, [x20, #64]
	ldr	w8, [x20]
	cbnz	w8, LBB0_7
; %bb.6:
	mov	w8, #8
	str	w8, [x20, #80]
LBB0_7:
	mov	w0, #0
	bl	_BIT
	ldr	w8, [x20, #84]
	orr	w8, w8, w0
	str	w8, [x20, #84]
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.8:
Lloh15:
	adrp	x8, _ETM_MODE_VIEWINST_STARTSTOP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETM_MODE_VIEWINST_STARTSTOP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x20, #56]
	orr	w8, w9, w8
	str	w8, [x20, #56]
	mov	w0, #9
	bl	_BIT
	ldr	w8, [x20, #84]
	orr	w8, w8, w0
	str	w8, [x20, #84]
LBB0_9:
	str	xzr, [x20, #88]
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.le	LBB0_12
; %bb.10:
	mov	x8, #0
	ldr	x9, [x20, #96]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x10, [x20, #8]
	sub	x10, x10, #1
	cmp	x8, x10
	b.lt	LBB0_11
LBB0_12:
	stp	xzr, xzr, [x20, #104]
	ldr	w8, [x20, #12]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x8, #0
	ldp	x9, x10, [x20, #120]
	ldr	x11, [x20, #136]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	lsl	x12, x8, #2
	str	wzr, [x9, x12]
	str	wzr, [x10, x12]
	str	wzr, [x11, x12]
	add	x8, x8, #1
	ldrsw	x12, [x20, #12]
	cmp	x8, x12
	b.lt	LBB0_14
LBB0_15:
	str	wzr, [x20, #144]
	ldr	w8, [x20, #16]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.16:
	mov	x8, #0
	ldr	x9, [x20, #152]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x10, [x20, #16]
	cmp	x8, x10
	b.lt	LBB0_17
LBB0_18:
	ldr	w8, [x20, #20]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.19:
	mov	x8, #0
	ldp	x9, x10, [x20, #160]
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #2
	str	wzr, [x9, x11]
	str	wzr, [x10, x11]
	add	x8, x8, #1
	ldrsw	x11, [x20, #20]
	cmp	x8, x11
	b.lt	LBB0_20
LBB0_21:
	str	wzr, [x20, #176]
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.22:
	mov	x8, #0
	ldp	x9, x10, [x20, #184]
	ldr	x11, [x20, #248]
Lloh18:
	adrp	x12, _ETM_ADDR_TYPE_NONE@GOTPAGE
Lloh19:
	ldr	x12, [x12, _ETM_ADDR_TYPE_NONE@GOTPAGEOFF]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	lsl	x13, x8, #2
	str	wzr, [x9, x13]
	str	wzr, [x10, x13]
	ldr	w14, [x12]
	str	w14, [x11, x13]
	add	x8, x8, #1
	ldrsw	x13, [x20, #4]
	cmp	x8, x13, lsl #1
	b.lt	LBB0_23
LBB0_24:
	str	wzr, [x20, #200]
	ldr	w8, [x20, #24]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.25:
	mov	x8, #0
	ldr	x9, [x20, #208]
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x10, [x20, #24]
	cmp	x8, x10
	b.lt	LBB0_26
LBB0_27:
	str	xzr, [x20, #216]
	str	wzr, [x20, #224]
	ldr	w8, [x20, #28]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.28:
	mov	x8, #0
	ldr	x9, [x20, #232]
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x10, [x20, #28]
	cmp	x8, x10
	b.lt	LBB0_29
LBB0_30:
	str	xzr, [x20, #240]
	ldr	x8, [x20, #40]
	add	x8, x8, #1
	str	x8, [x20, #48]
	mov	x0, x21
	bl	_spin_unlock
LBB0_31:
	mov	x0, x19
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_ETM_MODE_LOAD,4,2              ; @ETM_MODE_LOAD
	.comm	_ETM_MODE_STORE,4,2             ; @ETM_MODE_STORE
	.comm	_ETM_MODE_DATA_TRACE_ADDR,4,2   ; @ETM_MODE_DATA_TRACE_ADDR
	.comm	_ETM_MODE_DATA_TRACE_VAL,4,2    ; @ETM_MODE_DATA_TRACE_VAL
	.comm	_ETM_MODE_VIEWINST_STARTSTOP,4,2 ; @ETM_MODE_VIEWINST_STARTSTOP
	.comm	_ETM_ADDR_TYPE_NONE,4,2         ; @ETM_ADDR_TYPE_NONE
	.no_dead_strip	_reset_store
.subsections_via_symbols
