	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pucan_clr_err_counters
_pucan_clr_err_counters:                ## @pucan_clr_err_counters
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_pucan_init_cmd
	movq	_PUCAN_CMD_WR_ERR_CNT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_pucan_add_cmd
	movq	%rax, %rbx
	movq	_PUCAN_WRERRCNT_TE@GOTPCREL(%rip), %rax
	movq	_PUCAN_WRERRCNT_RE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_le16
	movl	%eax, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pucan_write_cmd                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PUCAN_CMD_WR_ERR_CNT,4,2       ## @PUCAN_CMD_WR_ERR_CNT
	.comm	_PUCAN_WRERRCNT_TE,4,2          ## @PUCAN_WRERRCNT_TE
	.comm	_PUCAN_WRERRCNT_RE,4,2          ## @PUCAN_WRERRCNT_RE
	.no_dead_strip	_pucan_clr_err_counters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pucan_clr_err_counters
_pucan_clr_err_counters:                ; @pucan_clr_err_counters
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_pucan_init_cmd
Lloh0:
	adrp	x8, _PUCAN_CMD_WR_ERR_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PUCAN_CMD_WR_ERR_CNT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pucan_add_cmd
	mov	x20, x0
Lloh3:
	adrp	x8, _PUCAN_WRERRCNT_TE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PUCAN_WRERRCNT_TE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PUCAN_WRERRCNT_RE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PUCAN_WRERRCNT_RE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_le16
	str	w0, [x20, #16]
	stp	xzr, xzr, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pucan_write_cmd
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PUCAN_CMD_WR_ERR_CNT,4,2       ; @PUCAN_CMD_WR_ERR_CNT
	.comm	_PUCAN_WRERRCNT_TE,4,2          ; @PUCAN_WRERRCNT_TE
	.comm	_PUCAN_WRERRCNT_RE,4,2          ; @PUCAN_WRERRCNT_RE
	.no_dead_strip	_pucan_clr_err_counters
.subsections_via_symbols
