	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qat_hal_wr_umem                ## -- Begin function qat_hal_wr_umem
	.p2align	4, 0x90
_qat_hal_wr_umem:                       ## @qat_hal_wr_umem
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_USTORE_ADDRESS@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_qat_hal_rd_ae_csr
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_UA_ECS@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	(%r13), %edx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %ecx
	callq	_qat_hal_wr_ae_csr
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movzbl	%r15b, %r13d
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r14,4), %eax
	movl	%eax, %ecx
	andl	$65280, %ecx                    ## imm = 0xFF00
	movzbl	%al, %edx
	leal	(%rdx,%rcx,4), %ecx
	movq	%r12, %r15
	movl	%eax, %r12d
	movzwl	%ax, %edi
                                        ## kill: def $eax killed $eax def $rax
	shll	$4, %eax
	andl	$-1048576, %eax                 ## imm = 0xFFF00000
	addl	%ecx, %eax
	addl	$787200, %eax                   ## imm = 0xC0300
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	shrl	$28, %r12d
	callq	_hweight32
	movl	%eax, %ebx
	andl	$1, %ebx
	shll	$8, %ebx
	orl	%r12d, %ebx
	movq	%r15, %r12
	movzwl	2(%r15,%r14,4), %edi
	callq	_hweight32
                                        ## kill: def $eax killed $eax def $rax
	andl	$1, %eax
	shll	$9, %eax
	leal	(%rax,%rbx), %r15d
	addl	$240, %r15d
	movq	_USTORE_DATA_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_qat_hal_wr_ae_csr
	movq	_USTORE_DATA_UPPER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r15d, %ecx
	callq	_qat_hal_wr_ae_csr
	incq	%r14
	cmpq	%r14, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_3:
	movq	_USTORE_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qat_hal_wr_ae_csr              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USTORE_ADDRESS,4,2             ## @USTORE_ADDRESS
	.comm	_UA_ECS,4,2                     ## @UA_ECS
	.comm	_USTORE_DATA_LOWER,4,2          ## @USTORE_DATA_LOWER
	.comm	_USTORE_DATA_UPPER,4,2          ## @USTORE_DATA_UPPER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qat_hal_wr_umem                ; -- Begin function qat_hal_wr_umem
	.p2align	2
_qat_hal_wr_umem:                       ; @qat_hal_wr_umem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _USTORE_ADDRESS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _USTORE_ADDRESS@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_qat_hal_rd_ae_csr
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
Lloh2:
	adrp	x8, _UA_ECS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UA_ECS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w3, w8, w24
	ldr	w2, [x22]
	mov	x0, x21
	mov	x1, x19
	bl	_qat_hal_wr_ae_csr
	cbz	w23, LBB0_3
; %bb.1:
	mov	w26, #768
	movk	w26, #12, lsl #16
Lloh5:
	adrp	x27, _USTORE_DATA_LOWER@GOTPAGE
Lloh6:
	ldr	x27, [x27, _USTORE_DATA_LOWER@GOTPAGEOFF]
Lloh7:
	adrp	x28, _USTORE_DATA_UPPER@GOTPAGE
Lloh8:
	ldr	x28, [x28, _USTORE_DATA_UPPER@GOTPAGEOFF]
	mov	w25, w23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	lsr	w9, w8, #16
	lsl	w10, w8, #2
	and	w10, w10, #0x3fc00
	bfxil	w10, w8, #0, #8
	bfi	w10, w9, #20, #12
	orr	w23, w10, w26
	lsr	w22, w8, #28
	and	w0, w8, #0xffff
	bl	_hweight32
	mov	x24, x0
	ldrh	w0, [x20, #2]
	bl	_hweight32
	bfi	w22, w24, #8, #1
	bfi	w22, w0, #9, #1
	orr	w24, w22, #0xf0
	ldr	w2, [x27]
	mov	x0, x21
	mov	x1, x19
	mov	x3, x23
	bl	_qat_hal_wr_ae_csr
	ldr	w2, [x28]
	mov	x0, x21
	mov	x1, x19
	mov	x3, x24
	bl	_qat_hal_wr_ae_csr
	add	x20, x20, #4
	subs	x25, x25, #1
	b.ne	LBB0_2
LBB0_3:
Lloh9:
	adrp	x8, _USTORE_ADDRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _USTORE_ADDRESS@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_qat_hal_wr_ae_csr
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_USTORE_ADDRESS,4,2             ; @USTORE_ADDRESS
	.comm	_UA_ECS,4,2                     ; @UA_ECS
	.comm	_USTORE_DATA_LOWER,4,2          ; @USTORE_DATA_LOWER
	.comm	_USTORE_DATA_UPPER,4,2          ; @USTORE_DATA_UPPER
.subsections_via_symbols
