	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qat_hal_reset                  ## -- Begin function qat_hal_reset
	.p2align	4, 0x90
_qat_hal_reset:                         ## @qat_hal_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_ICP_RESET@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_GET_GLB_CSR
	movq	(%rbx), %rdx
	movq	_RST_CSR_AE_LSB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_RST_CSR_QAT_LSB@GOTPCREL(%rip), %rsi
	movb	(%rsi), %sil
	movl	(%rdx), %edi
	shll	%cl, %edi
	movl	4(%rdx), %edx
	movl	%esi, %ecx
	shll	%cl, %edx
	orl	%eax, %edi
	orl	%edi, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SET_GLB_CSR                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICP_RESET,4,2                  ## @ICP_RESET
	.comm	_RST_CSR_AE_LSB,4,2             ## @RST_CSR_AE_LSB
	.comm	_RST_CSR_QAT_LSB,4,2            ## @RST_CSR_QAT_LSB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qat_hal_reset                  ; -- Begin function qat_hal_reset
	.p2align	2
_qat_hal_reset:                         ; @qat_hal_reset
	.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
Lloh0:
	adrp	x20, _ICP_RESET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ICP_RESET@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_GET_GLB_CSR
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _RST_CSR_AE_LSB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RST_CSR_AE_LSB@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	ldp	w10, w8, [x8]
	lsl	w9, w10, w9
	orr	w9, w9, w0
Lloh5:
	adrp	x10, _RST_CSR_QAT_LSB@GOTPAGE
Lloh6:
	ldr	x10, [x10, _RST_CSR_QAT_LSB@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w2, w9, w8
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SET_GLB_CSR
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ICP_RESET,4,2                  ; @ICP_RESET
	.comm	_RST_CSR_AE_LSB,4,2             ; @RST_CSR_AE_LSB
	.comm	_RST_CSR_QAT_LSB,4,2            ; @RST_CSR_QAT_LSB
.subsections_via_symbols
