	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_hal_reset_timestamp
_qat_hal_reset_timestamp:               ## @qat_hal_reset_timestamp
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_MISC_CONTROL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_GET_GLB_CSR
	movl	%eax, %r14d
	movq	_MC_TIMESTAMP_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%r14d, %edx
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	notl	%edx
	andl	%r14d, %edx
	movq	%r15, %rdi
	callq	_SET_GLB_CSR
LBB0_2:
	movq	(%r15), %rax
	cmpb	$0, (%rax)
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	_TIMESTAMP_LOW@GOTPCREL(%rip), %r13
	movq	_TIMESTAMP_HIGH@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movzbl	%bl, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_qat_hal_wr_ae_csr
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_qat_hal_wr_ae_csr
	incb	%bl
	movq	(%r15), %rax
	cmpb	(%rax), %bl
	jb	LBB0_4
LBB0_5:
	movq	_MISC_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MC_TIMESTAMP_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	%r15, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SET_GLB_CSR                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MISC_CONTROL,4,2               ## @MISC_CONTROL
	.comm	_MC_TIMESTAMP_ENABLE,4,2        ## @MC_TIMESTAMP_ENABLE
	.comm	_TIMESTAMP_LOW,4,2              ## @TIMESTAMP_LOW
	.comm	_TIMESTAMP_HIGH,4,2             ## @TIMESTAMP_HIGH
	.no_dead_strip	_qat_hal_reset_timestamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qat_hal_reset_timestamp
_qat_hal_reset_timestamp:               ; @qat_hal_reset_timestamp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x22, _MISC_CONTROL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MISC_CONTROL@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_GET_GLB_CSR
	mov	x20, x0
Lloh2:
	adrp	x23, _MC_TIMESTAMP_ENABLE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MC_TIMESTAMP_ENABLE@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x22]
	bic	w2, w20, w8
	mov	x0, x19
	bl	_SET_GLB_CSR
LBB0_2:
	ldr	x8, [x19]
	ldrb	w8, [x8]
	cbz	w8, LBB0_5
; %bb.3:
	mov	w24, #0
Lloh4:
	adrp	x25, _TIMESTAMP_LOW@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TIMESTAMP_LOW@GOTPAGEOFF]
Lloh6:
	adrp	x26, _TIMESTAMP_HIGH@GOTPAGE
Lloh7:
	ldr	x26, [x26, _TIMESTAMP_HIGH@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x25]
	and	w21, w24, #0xff
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_qat_hal_wr_ae_csr
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_qat_hal_wr_ae_csr
	add	w24, w24, #1
	ldr	x8, [x19]
	ldrb	w8, [x8]
	cmp	w8, w24, uxtb
	b.hi	LBB0_4
LBB0_5:
	ldr	w1, [x22]
	ldr	w8, [x23]
	orr	w2, w8, w20
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_SET_GLB_CSR
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MISC_CONTROL,4,2               ; @MISC_CONTROL
	.comm	_MC_TIMESTAMP_ENABLE,4,2        ; @MC_TIMESTAMP_ENABLE
	.comm	_TIMESTAMP_LOW,4,2              ; @TIMESTAMP_LOW
	.comm	_TIMESTAMP_HIGH,4,2             ; @TIMESTAMP_HIGH
	.no_dead_strip	_qat_hal_reset_timestamp
.subsections_via_symbols
