	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PPC_Convert                    ## -- Begin function PPC_Convert
	.p2align	4, 0x90
_PPC_Convert:                           ## @PPC_Convert
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	cmpq	$4, %rsi
	jae	LBB0_2
## %bb.1:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	addq	$-4, %rsi
	movl	%edx, %r8d
	negl	%edx
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %rax
	addl	$-4, %edx
	cmpq	%rsi, %rax
	ja	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rax,4), %r10d
	movl	%r10d, %r9d
	andl	$-4, %r9d
	cmpl	$72, %r9d
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	12(%rdi,%rax,4), %r9d
	movl	%r9d, %r11d
	andl	$3, %r11d
	cmpl	$1, %r11d
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	andl	$3, %r10d
	shll	$24, %r10d
	movl	4(%rdi,%rax,4), %r11d
	movl	8(%rdi,%rax,4), %ebx
	shll	$16, %r11d
	shll	$8, %ebx
	andl	$-4, %r9d
	orl	%r11d, %r9d
	orl	%r10d, %r9d
	orl	%ebx, %r9d
	leal	(%r8,%rax), %r10d
	testl	%ecx, %ecx
	cmovel	%edx, %r10d
	addl	%r9d, %r10d
	movl	%r10d, %ebx
	shrl	$24, %ebx
	andl	$3, %ebx
	orl	$72, %ebx
	movl	%ebx, (%rdi,%rax,4)
	movl	%r10d, %ebx
	sarl	$16, %ebx
	movl	%ebx, 4(%rdi,%rax,4)
	movl	%r10d, %ebx
	sarl	$8, %ebx
	movl	%ebx, 8(%rdi,%rax,4)
	orl	$1, %r10d
	movl	%r10d, 12(%rdi,%rax,4)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function PPC_Convert
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_PPC_Convert
	.p2align	2
_PPC_Convert:                           ; @PPC_Convert
	.cfi_startproc
; %bb.0:
	subs	x8, x1, #4
	b.hs	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	neg	w9, w2
	add	x10, x0, #12
	mov	w12, #3
Lloh0:
	adrp	x11, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x11, lCPI0_0@PAGEOFF]
	mov	w11, w2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x13, x12, #4
	add	x14, x12, #1
	sub	w9, w9, #4
	add	x10, x10, #16
	mov	x12, x13
	cmp	x14, x8
	b.hi	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w13, [x10, #-12]
	and	w14, w13, #0xfffffffc
	cmp	w14, #72
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x10]
	and	w15, w14, #0x3
	cmp	w15, #1
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ubfiz	w13, w13, #24, #2
	ldp	w15, w16, [x10, #-8]
	and	w14, w14, #0xfffffffc
	orr	w13, w14, w13
	orr	w13, w13, w15, lsl #16
	orr	w13, w13, w16, lsl #8
	add	w14, w11, w12
	sub	w14, w14, #3
	cmp	w3, #0
	csel	w14, w9, w14, eq
	add	w13, w13, w14
	mov	w14, #72
	bfxil	w14, w13, #24, #2
	stur	w14, [x10, #-12]
	dup.2s	v1, w13
	sshl.2s	v1, v1, v0
	stur	d1, [x10, #-8]
	orr	w13, w13, #0x1
	str	w13, [x10]
	b	LBB0_3
LBB0_7:
	sub	x0, x13, #3
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
