	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_unpack
_php_unpack:                            ## @php_unpack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	negl	%edx
	sbbl	%eax, %eax
	movl	%eax, -4(%rbp)
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	leaq	-1(%rsi), %rdx
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$3, %rdx
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	testq	%r8, %r8
	jne	LBB0_7
	jmp	LBB0_9
LBB0_3:
	andq	$-4, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rdx), %r9d
	movslq	(%rcx,%rdx,4), %rax
	movb	%r9b, -4(%rbp,%rax)
	movzbl	1(%rdi,%rdx), %r9d
	movslq	4(%rcx,%rdx,4), %rax
	movb	%r9b, -4(%rbp,%rax)
	movzbl	2(%rdi,%rdx), %r9d
	movslq	8(%rcx,%rdx,4), %rax
	movb	%r9b, -4(%rbp,%rax)
	movzbl	3(%rdi,%rdx), %r9d
	movslq	12(%rcx,%rdx,4), %rax
	movb	%r9b, -4(%rbp,%rax)
	addq	$4, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_4
## %bb.5:
	addq	%rdx, %rdi
	testq	%r8, %r8
	je	LBB0_9
LBB0_7:
	leaq	(%rcx,%rdx,4), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rdx), %eax
	movslq	(%rcx,%rdx,4), %rsi
	movb	%al, -4(%rbp,%rsi)
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_8
LBB0_9:
	movl	-4(%rbp), %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_php_unpack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_unpack
_php_unpack:                            ; @php_unpack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
	cmp	w2, #0
	csetm	w8, ne
	str	w8, [sp, #12]
	cbz	x1, LBB0_9
; %bb.1:
	cmp	x1, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x9, #0
	mov	x8, x0
	b	LBB0_6
LBB0_3:
	and	x9, x1, #0xfffffffffffffffc
	add	x8, x0, x9
	add	x10, x0, #3
	add	x11, x3, #8
	add	x12, sp, #12
	mov	x13, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w14, [x10, #-3]
	ldurb	w15, [x10, #-2]
	ldurb	w16, [x10, #-1]
	ldrb	w17, [x10], #4
	ldpsw	x0, x2, [x11, #-8]
	ldpsw	x4, x5, [x11], #16
	strb	w14, [x12, x0]
	strb	w15, [x12, x2]
	strb	w16, [x12, x4]
	strb	w17, [x12, x5]
	subs	x13, x13, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x1
	b.eq	LBB0_8
LBB0_6:
	sub	x10, x1, x9
	add	x9, x3, x9, lsl #2
	add	x11, sp, #12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x8], #1
	ldrsw	x13, [x9], #4
	strb	w12, [x11, x13]
	subs	x10, x10, #1
	b.ne	LBB0_7
LBB0_8:
	ldr	w8, [sp, #12]
LBB0_9:
	mov	x0, x8
	add	sp, sp, #16
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_php_unpack
.subsections_via_symbols
