	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_uclo_wr_uimage_raw_page
_qat_uclo_wr_uimage_raw_page:           ## @qat_uclo_wr_uimage_raw_page
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	-68(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.1:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movzbl	%r14b, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %r8
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	callq	_qat_hal_wr_uwords
	addl	%r15d, %ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%r15d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	subl	%r15d, %ecx
	movq	%r14, %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	_UWORD_CPYBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	cmovbl	%ecx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	movq	%rbx, %r14
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	shlq	$2, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rdx
	addq	%r15, %rdx
	movl	-68(%rbp), %r9d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	callq	_qat_uclo_fill_uwords
	incl	%r13d
	incl	%r12d
	addq	$4, %r15
	cmpq	%r15, -96(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UWORD_CPYBUF_SIZE,4,2          ## @UWORD_CPYBUF_SIZE
	.no_dead_strip	_qat_uclo_wr_uimage_raw_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qat_uclo_wr_uimage_raw_page
_qat_uclo_wr_uimage_raw_page:           ; @qat_uclo_wr_uimage_raw_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x2
	mov	x19, x1
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x21, [x0]
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	add	x0, sp, #28
	mov	w2, #4
	bl	_memcpy
	ldr	w27, [x19, #4]
	cbz	w27, LBB0_6
; %bb.1:
	mov	w28, #0
	ldr	w22, [x19]
	and	w8, w23, #0xff
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x4, [x21]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	x2, x22
	mov	x3, x24
	bl	_qat_hal_wr_uwords
	add	w22, w24, w22
	add	w28, w24, w28
	subs	w27, w27, w24
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
Lloh0:
	adrp	x8, _UWORD_CPYBUF_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UWORD_CPYBUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w27, w8
	csel	w24, w27, w8, lo
	cbz	w24, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, #0
	lsl	x23, x24, #2
	mov	x25, x22
	mov	x26, x28
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21]
	add	x2, x8, x20
	ldr	w5, [sp, #28]
	mov	x0, x21
	mov	x1, x19
	mov	x3, x25
	mov	x4, x26
	bl	_qat_uclo_fill_uwords
	add	w26, w26, #1
	add	w25, w25, #1
	add	x20, x20, #4
	cmp	x23, x20
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UWORD_CPYBUF_SIZE,4,2          ; @UWORD_CPYBUF_SIZE
	.no_dead_strip	_qat_uclo_wr_uimage_raw_page
.subsections_via_symbols
