	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hisi_zip_set_acomp_cb
_hisi_zip_set_acomp_cb:                 ## @hisi_zip_set_acomp_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HZIP_CTX_Q_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_8
## %bb.1:
	movq	(%rdi), %rcx
	leaq	-1(%rdx), %rdi
	movl	%edx, %r8d
	andl	$7, %r8d
	cmpq	$7, %rdi
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	jmp	LBB0_5
LBB0_3:
	andl	$-8, %edx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdi,8), %rax
	movq	%rsi, (%rax)
	movq	8(%rcx,%rdi,8), %rax
	movq	%rsi, (%rax)
	movq	16(%rcx,%rdi,8), %rax
	movq	%rsi, (%rax)
	movq	24(%rcx,%rdi,8), %rax
	movq	%rsi, (%rax)
	movq	32(%rcx,%rdi,8), %rax
	movq	%rsi, (%rax)
	movq	40(%rcx,%rdi,8), %rax
	movq	%rsi, (%rax)
	movq	48(%rcx,%rdi,8), %rax
	movq	%rsi, (%rax)
	movq	56(%rcx,%rdi,8), %rax
	movq	%rsi, (%rax)
	addq	$8, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_4
LBB0_5:
	testq	%r8, %r8
	je	LBB0_8
## %bb.6:
	leaq	(%rcx,%rdi,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rax
	movq	%rsi, (%rax)
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZIP_CTX_Q_NUM,4,2             ## @HZIP_CTX_Q_NUM
	.no_dead_strip	_hisi_zip_set_acomp_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hisi_zip_set_acomp_cb
_hisi_zip_set_acomp_cb:                 ; @hisi_zip_set_acomp_cb
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HZIP_CTX_Q_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZIP_CTX_Q_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x0]
	cmp	w8, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_6
LBB0_3:
	and	x10, x8, #0xfffffffc
	add	x11, x9, #16
	mov	x12, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x13, x14, [x11, #-16]
	ldp	x15, x16, [x11], #32
	str	x1, [x13]
	str	x1, [x14]
	str	x1, [x15]
	str	x1, [x16]
	subs	x12, x12, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x8
	b.eq	LBB0_8
LBB0_6:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	str	x1, [x10]
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HZIP_CTX_Q_NUM,4,2             ; @HZIP_CTX_Q_NUM
	.no_dead_strip	_hisi_zip_set_acomp_cb
.subsections_via_symbols
