	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function solo_p2m_test
LCPI0_0:
	.quad	2                               ## 0x2
	.quad	3                               ## 0x3
LCPI0_1:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_2:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_3:
	.long	262144                          ## 0x40000
	.long	262144                          ## 0x40000
	.long	262144                          ## 0x40000
	.long	262144                          ## 0x40000
LCPI0_4:
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	5                               ## 0x5
LCPI0_5:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_6:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_7:
	.long	4294705151                      ## 0xfffbffff
	.long	4294705151                      ## 0xfffbffff
	.long	4294705151                      ## 0xfffbffff
	.long	4294705151                      ## 0xfffbffff
LCPI0_8:
	.long	4294967290                      ## 0xfffffffa
	.long	4294967290                      ## 0xfffffffa
	.long	4294967290                      ## 0xfffffffa
	.long	4294967290                      ## 0xfffffffa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_solo_p2m_test:                         ## @solo_p2m_test
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %edi
	callq	_get_order
	movl	%eax, %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	%eax, %esi
	callq	___get_free_pages
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	(%r13), %edi
	movl	%r15d, %esi
	callq	___get_free_pages
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	%r12d, %r9d
	sarl	$3, %r9d
	cmpl	$8, %r12d
	movl	%r14d, %r13d
	jl	LBB0_12
## %bb.5:
	cmpl	$2, %r9d
	movl	$1, %r8d
	cmovgel	%r9d, %r8d
	cmpl	$8, %r8d
	jae	LBB0_7
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_1:
	movl	$-1, %r13d
	jmp	LBB0_34
LBB0_3:
	movl	$-1, %r13d
	movq	%rbx, %rdi
	jmp	LBB0_33
LBB0_7:
	movl	%r8d, %ecx
	andl	$2147483640, %ecx               ## imm = 0x7FFFFFF8
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [2,3]
	movaps	LCPI0_1(%rip), %xmm4            ## xmm4 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [0,1,2,3]
	xorl	%esi, %esi
	movdqa	LCPI0_3(%rip), %xmm8            ## xmm8 = [262144,262144,262144,262144]
	pcmpeqd	%xmm9, %xmm9
	movdqa	LCPI0_4(%rip), %xmm10           ## xmm10 = [5,5,5,5]
	movdqa	LCPI0_5(%rip), %xmm6            ## xmm6 = [8,8]
	movdqa	LCPI0_6(%rip), %xmm7            ## xmm7 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm3, %xmm2
	pslld	$16, %xmm2
	movaps	%xmm4, %xmm1
	shufps	$136, %xmm0, %xmm1              ## xmm1 = xmm1[0,2],xmm0[0,2]
	movaps	%xmm1, %xmm5
	psubd	%xmm9, %xmm5
	por	%xmm2, %xmm5
	paddd	%xmm8, %xmm2
	paddd	%xmm10, %xmm1
	por	%xmm2, %xmm1
	movdqu	%xmm5, (%rbx,%rsi,4)
	movdqu	%xmm1, 16(%rbx,%rsi,4)
	addq	$8, %rsi
	paddq	%xmm6, %xmm4
	paddq	%xmm6, %xmm0
	paddd	%xmm7, %xmm3
	cmpq	%rsi, %rcx
	jne	LBB0_8
## %bb.9:
	cmpq	%r8, %rcx
	je	LBB0_12
LBB0_10:
	movl	%ecx, %esi
	shll	$16, %esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %rdi
	movl	%edi, %edx
	orl	%esi, %edx
	movl	%edx, (%rbx,%rcx,4)
	addl	$65536, %esi                    ## imm = 0x10000
	movq	%rdi, %rcx
	cmpq	%rdi, %r8
	jne	LBB0_11
LBB0_12:
	movl	%r12d, %r14d
	sarl	$2, %r14d
	cmpl	%r14d, %r9d
	jge	LBB0_24
## %bb.13:
	movslq	%r9d, %rcx
	movslq	%r14d, %r11
	movq	%r11, %r10
	subq	%rcx, %r10
	cmpq	$4, %r10
	jb	LBB0_22
## %bb.14:
	movq	%r10, %r8
	andq	$-4, %r8
	movq	%rcx, %xmm0
	pshufd	$68, %xmm0, %xmm5               ## xmm5 = xmm0[0,1,0,1]
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [2,3]
	paddq	%xmm5, %xmm1
	paddq	LCPI0_1(%rip), %xmm5
	movd	%r9d, %xmm2
	pshufd	$0, %xmm2, %xmm4                ## xmm4 = xmm2[0,0,0,0]
	paddd	LCPI0_2(%rip), %xmm4
	leaq	-4(%r8), %rdx
	movq	%rdx, %r9
	shrq	$2, %r9
	incq	%r9
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.16:
	movq	%r9, %rdi
	andq	$-2, %rdi
	leaq	(%rbx,%rcx,4), %rsi
	addq	$16, %rsi
	xorl	%edx, %edx
	pcmpeqd	%xmm3, %xmm3
	movdqa	LCPI0_7(%rip), %xmm8            ## xmm8 = [4294705151,4294705151,4294705151,4294705151]
	movdqa	LCPI0_8(%rip), %xmm9            ## xmm9 = [4294967290,4294967290,4294967290,4294967290]
	movdqa	LCPI0_5(%rip), %xmm6            ## xmm6 = [8,8]
	movdqa	LCPI0_6(%rip), %xmm10           ## xmm10 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm4, %xmm2
	pslld	$16, %xmm2
	movdqa	%xmm5, %xmm0
	shufps	$136, %xmm1, %xmm0              ## xmm0 = xmm0[0,2],xmm1[0,2]
	movdqa	%xmm9, %xmm7
	psubd	%xmm0, %xmm7
	psubd	%xmm3, %xmm0
	por	%xmm2, %xmm0
	pxor	%xmm3, %xmm0
	movdqu	%xmm0, -16(%rsi,%rdx,4)
	movdqa	%xmm8, %xmm0
	psubd	%xmm2, %xmm0
	pand	%xmm7, %xmm0
	movdqu	%xmm0, (%rsi,%rdx,4)
	addq	$8, %rdx
	paddq	%xmm6, %xmm5
	paddq	%xmm6, %xmm1
	paddd	%xmm10, %xmm4
	addq	$-2, %rdi
	jne	LBB0_17
## %bb.18:
	testb	$1, %r9b
	je	LBB0_20
LBB0_19:
	addq	%rcx, %rdx
	pslld	$16, %xmm4
	shufps	$136, %xmm1, %xmm5              ## xmm5 = xmm5[0,2],xmm1[0,2]
	pcmpeqd	%xmm0, %xmm0
	psubd	%xmm0, %xmm5
	por	%xmm4, %xmm5
	pxor	%xmm0, %xmm5
	movdqu	%xmm5, (%rbx,%rdx,4)
LBB0_20:
	cmpq	%r8, %r10
	je	LBB0_24
## %bb.21:
	addq	%r8, %rcx
LBB0_22:
	movl	%ecx, %edx
	shll	$16, %edx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rcx), %rsi
	movl	%esi, %edi
	orl	%edx, %edi
	notl	%edi
	movl	%edi, (%rbx,%rcx,4)
	addl	$65536, %edx                    ## imm = 0x10000
	movq	%rsi, %rcx
	cmpq	%rsi, %r11
	jne	LBB0_23
LBB0_24:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %rdi
	movl	$85, %esi
	movl	%r12d, %edx
	movq	%rax, %r15
	callq	_memset
	movl	$0, (%rsp)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	xorl	%r9d, %r9d
	callq	_solo_p2m_dma
	testq	%rax, %rax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_25
## %bb.26:
	movl	$0, (%rsp)
	movl	%r13d, %ecx
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movl	%r12d, %r8d
	xorl	%r9d, %r9d
	callq	_solo_p2m_dma
	testq	%rax, %rax
	je	LBB0_27
LBB0_25:
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_32:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_free_pages
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_33:
	movl	%r15d, %esi
	callq	_free_pages
LBB0_34:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	cmpl	$4, %r12d
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jl	LBB0_32
## %bb.28:
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$2, %ecx
	movl	$1, %eax
	cmovgel	%ecx, %eax
	xorl	%ecx, %ecx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rcx,4), %edx
	cmpl	(%rsi,%rcx,4), %edx
	jne	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_29
## %bb.31:
	xorl	%r13d, %r13d
	jmp	LBB0_32
LBB0_15:
	xorl	%edx, %edx
	testb	$1, %r9b
	jne	LBB0_19
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_solo_p2m_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function solo_p2m_test
lCPI0_0:
	.quad	2                               ; 0x2
	.quad	3                               ; 0x3
lCPI0_1:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
lCPI0_2:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_solo_p2m_test:                         ; @solo_p2m_test
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	mov	x0, x2
	bl	_get_order
	mov	x19, x0
Lloh3:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	___get_free_pages
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	w0, [x21]
	mov	x1, x19
	bl	___get_free_pages
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	asr	w8, w22, #3
	cmp	w22, #8
	b.lt	LBB0_12
; %bb.3:
	cmp	w8, #1
	csinc	w9, w8, wzr, gt
	cmp	w9, #16
	b.hs	LBB0_7
; %bb.4:
	mov	x10, #0
	b	LBB0_10
LBB0_5:
	mov	w25, #-1
	b	LBB0_28
LBB0_6:
	mov	w25, #-1
	mov	x21, x20
	b	LBB0_27
LBB0_7:
	and	x10, x9, #0x7ffffff0
Lloh5:
	adrp	x11, lCPI0_0@PAGE
Lloh6:
	ldr	q0, [x11, lCPI0_0@PAGEOFF]
Lloh7:
	adrp	x11, lCPI0_1@PAGE
Lloh8:
	ldr	q1, [x11, lCPI0_1@PAGEOFF]
	add	x11, x20, #32
Lloh9:
	adrp	x12, lCPI0_2@PAGE
Lloh10:
	ldr	q2, [x12, lCPI0_2@PAGEOFF]
	movi.4s	v3, #16
	movi.4s	v4, #4, lsl #16
	movi.4s	v5, #8, lsl #16
	movi.4s	v6, #12, lsl #16
	movi.4s	v7, #1
	movi.4s	v16, #5
	movi.4s	v17, #9
	movi.4s	v18, #13
	mov	w12, #16
	dup.2d	v19, x12
	mov	x12, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	shl.4s	v20, v2, #16
	add.4s	v21, v20, v4
	add.4s	v22, v20, v5
	add.4s	v23, v20, v6
	uzp1.4s	v24, v1, v0
	add.4s	v25, v24, v7
	add.4s	v26, v24, v16
	add.4s	v27, v24, v17
	add.4s	v24, v24, v18
	orr.16b	v20, v20, v25
	orr.16b	v21, v21, v26
	orr.16b	v22, v22, v27
	orr.16b	v23, v23, v24
	stp	q20, q21, [x11, #-32]
	stp	q22, q23, [x11], #64
	add.2d	v0, v0, v19
	add.2d	v1, v1, v19
	add.4s	v2, v2, v3
	subs	x12, x12, #16
	b.ne	LBB0_8
; %bb.9:
	cmp	x10, x9
	b.eq	LBB0_12
LBB0_10:
	lsl	w11, w10, #16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x12, x10, #1
	orr	w13, w11, w12
	str	w13, [x20, x10, lsl #2]
	add	w11, w11, #16, lsl #12          ; =65536
	mov	x10, x12
	cmp	x9, x12
	b.ne	LBB0_11
LBB0_12:
	neg	w25, w25
	asr	w26, w22, #2
	cmp	w8, w26
	b.ge	LBB0_19
; %bb.13:
	sxtw	x13, w8
	sxtw	x9, w26
	sub	x11, x9, x13
	mov	x10, x13
	cmp	x11, #16
	b.lo	LBB0_17
; %bb.14:
	and	x12, x11, #0xfffffffffffffff0
	add	x10, x12, x13
	dup.2d	v1, x13
Lloh11:
	adrp	x14, lCPI0_0@PAGE
Lloh12:
	ldr	q0, [x14, lCPI0_0@PAGEOFF]
	add.2d	v0, v1, v0
Lloh13:
	adrp	x14, lCPI0_1@PAGE
Lloh14:
	ldr	q2, [x14, lCPI0_1@PAGEOFF]
	dup.4s	v3, w8
	add.2d	v1, v1, v2
Lloh15:
	adrp	x8, lCPI0_2@PAGE
Lloh16:
	ldr	q2, [x8, lCPI0_2@PAGEOFF]
	add.4s	v2, v3, v2
	add	x8, x20, x13, lsl #2
	add	x8, x8, #32
	movi.4s	v3, #16
	movi.4s	v4, #1
	mvni.4s	v5, #4, lsl #16
	mvni.4s	v6, #5
	mvni.4s	v7, #8, lsl #16
	mvni.4s	v16, #9
	mvni.4s	v17, #12, lsl #16
	mvni.4s	v18, #13
	mov	w13, #16
	dup.2d	v19, x13
	mov	x13, x12
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	shl.4s	v20, v2, #16
	uzp1.4s	v21, v1, v0
	add.4s	v22, v21, v4
	orr.16b	v22, v20, v22
	mvn.16b	v22, v22
	sub.4s	v23, v5, v20
	sub.4s	v24, v6, v21
	and.16b	v23, v23, v24
	sub.4s	v24, v7, v20
	sub.4s	v25, v16, v21
	and.16b	v24, v24, v25
	sub.4s	v20, v17, v20
	sub.4s	v21, v18, v21
	and.16b	v20, v20, v21
	stp	q22, q23, [x8, #-32]
	stp	q24, q20, [x8], #64
	add.2d	v0, v0, v19
	add.2d	v1, v1, v19
	add.4s	v2, v2, v3
	subs	x13, x13, #16
	b.ne	LBB0_15
; %bb.16:
	cmp	x11, x12
	b.eq	LBB0_19
LBB0_17:
	lsl	w8, w10, #16
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x11, x10, #1
	orr	w12, w8, w11
	mvn	w12, w12
	str	w12, [x20, x10, lsl #2]
	add	w8, w8, #16, lsl #12            ; =65536
	mov	x10, x11
	cmp	x9, x11
	b.ne	LBB0_18
LBB0_19:
	mov	x0, x21
	mov	w1, #85
	mov	x2, x22
	bl	_memset
	mov	x0, x24
	mov	w1, #1
	mov	x2, x20
	mov	x3, x23
	mov	x4, x22
	mov	w5, #0
	mov	w6, #0
	bl	_solo_p2m_dma
	cbnz	x0, LBB0_26
; %bb.20:
	mov	x0, x24
	mov	w1, #0
	mov	x2, x21
	mov	x3, x23
	mov	x4, x22
	mov	w5, #0
	mov	w6, #0
	bl	_solo_p2m_dma
	cbnz	x0, LBB0_26
; %bb.21:
	cmp	w22, #4
	b.lt	LBB0_25
; %bb.22:
	cmp	w26, #1
	csinc	w8, w26, wzr, gt
	mov	x9, x20
	mov	x10, x21
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	ldr	w12, [x10]
	cmp	w11, w12
	b.ne	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	add	x10, x10, #4
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_23
LBB0_25:
	mov	w25, #0
LBB0_26:
	mov	x0, x20
	mov	x1, x19
	bl	_free_pages
LBB0_27:
	mov	x0, x21
	mov	x1, x19
	bl	_free_pages
LBB0_28:
	mov	x0, x25
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpAdrp	Lloh11, Lloh13
	.loh AdrpLdr	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_solo_p2m_test
.subsections_via_symbols
