	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function xpc_allocate_recv_msg_slot_uv
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_3:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_5:
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
LCPI0_6:
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
LCPI0_7:
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
LCPI0_8:
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_xpc_allocate_recv_msg_slot_uv:         ## @xpc_allocate_recv_msg_slot_uv
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r13d
	movq	_xpNoMemory@GOTPCREL(%rip), %r14
	testl	%r13d, %r13d
	jle	LBB0_23
## %bb.1:
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%r15), %rax
	movslq	%r13d, %rdi
	imulq	%rax, %rdi
	movl	(%r12), %esi
	callq	_kzalloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	decq	%r13
	leal	1(%r13), %eax
	cmpl	$1, %eax
	jg	LBB0_2
	jmp	LBB0_23
LBB0_3:
	movl	4(%r15), %edx
	movslq	%edx, %r8
	xorl	%ecx, %ecx
	cmpl	$8, %r13d
	jb	LBB0_13
## %bb.4:
	cmpl	$1, %edx
	jne	LBB0_13
## %bb.5:
	movl	%r13d, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rdx
	movq	%rdx, %r9
	shrq	$3, %r9
	incq	%r9
	cmpq	$24, %rdx
	jae	LBB0_7
## %bb.6:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%r11d, %r11d
	jmp	LBB0_9
LBB0_7:
	movq	%r8, %r10
	shlq	$7, %r10
	movl	%r13d, %r14d
	andl	$-8, %r14d
	addq	$-8, %r14
	shrq	$3, %r14
	incq	%r14
	andq	$-4, %r14
	movq	%r8, %rdi
	shlq	$5, %rdi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%r11d, %r11d
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [16,16,16,16]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [20,20,20,20]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [24,24,24,24]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [28,28,28,28]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [32,32,32,32]
	movq	%rax, %rdx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddd	%xmm8, %xmm2
	movdqu	%xmm0, (%rdx)
	movdqu	%xmm2, 16(%rdx)
	movdqa	%xmm0, %xmm2
	paddd	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm10, %xmm3
	leaq	(%rdx,%rdi), %rsi
	movdqu	%xmm2, (%rdx,%rdi)
	movdqu	%xmm3, 16(%rdx,%rdi)
	movdqa	%xmm0, %xmm2
	paddd	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm5, %xmm3
	leaq	(%rsi,%rdi), %r12
	movdqu	%xmm2, (%rdi,%rsi)
	movdqu	%xmm3, 16(%rdi,%rsi)
	movdqa	%xmm0, %xmm2
	paddd	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm7, %xmm3
	movdqu	%xmm2, (%rdi,%r12)
	movdqu	%xmm3, 16(%rdi,%r12)
	addq	$32, %r11
	paddd	%xmm1, %xmm0
	addq	%r10, %rdx
	addq	$-4, %r14
	jne	LBB0_8
LBB0_9:
	testb	$3, %r9b
	je	LBB0_12
## %bb.10:
	imulq	%r8, %r11
	leaq	(%rax,%r11,4), %rdx
	addq	$16, %rdx
	movq	%r8, %rsi
	shlq	$5, %rsi
	movl	%r13d, %ebx
	andb	$24, %bl
	addb	$-8, %bl
	shrb	$3, %bl
	incb	%bl
	movzbl	%bl, %edi
	andl	$3, %edi
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddd	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rdx)
	movdqu	%xmm3, (%rdx)
	paddd	%xmm2, %xmm0
	addq	%rsi, %rdx
	decq	%rdi
	jne	LBB0_11
LBB0_12:
	cmpq	%rcx, %r13
	je	LBB0_19
LBB0_13:
	movq	%rcx, %r9
	notq	%r9
	addq	%r13, %r9
	testb	$3, %r13b
	je	LBB0_16
## %bb.14:
	movq	%rcx, %rdx
	imulq	%r8, %rdx
	leaq	(%rax,%rdx,4), %rsi
	leaq	(,%r8,4), %rdi
	movzbl	%r13b, %edx
	andl	$3, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rsi)
	incq	%rcx
	addq	%rdi, %rsi
	decq	%rdx
	jne	LBB0_15
LBB0_16:
	cmpq	$3, %r9
	jb	LBB0_19
## %bb.17:
	leaq	3(%rcx), %r9
	imulq	%r8, %r9
	movq	%r8, %r10
	shlq	$4, %r10
	leaq	2(%rcx), %rdi
	imulq	%r8, %rdi
	movq	%rcx, %rdx
	imulq	%r8, %rdx
	leaq	1(%rcx), %rsi
	imulq	%r8, %rsi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rax,%rdx,4)
	leal	1(%rcx), %ebx
	movl	%ebx, (%rax,%rsi,4)
	leal	2(%rcx), %ebx
	movl	%ebx, (%rax,%rdi,4)
	leal	3(%rcx), %ebx
	movl	%ebx, (%rax,%r9,4)
	addq	$4, %rcx
	addq	%r10, %rax
	cmpq	%rcx, %r13
	jne	LBB0_18
LBB0_19:
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	(%r15), %r13d
	jge	LBB0_21
## %bb.20:
	movl	%r13d, (%r15)
LBB0_21:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_xpSuccess@GOTPCREL(%rip), %r14
LBB0_23:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_xpSuccess,4,2                  ## @xpSuccess
	.comm	_xpNoMemory,4,2                 ## @xpNoMemory
	.no_dead_strip	_xpc_allocate_recv_msg_slot_uv
.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 xpc_allocate_recv_msg_slot_uv
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_xpc_allocate_recv_msg_slot_uv:         ; @xpc_allocate_recv_msg_slot_uv
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w21, [x0]
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	adrp	x20, _xpNoMemory@GOTPAGE
Lloh3:
	ldr	x20, [x20, _xpNoMemory@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x19, #4]
	sxtw	x9, w21
	mul	x0, x8, x9
	ldr	w1, [x22]
	bl	_kzalloc
	str	x0, [x19, #16]
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x21, x21, #1
	add	w8, w21, #1
	cmp	w8, #1
	b.gt	LBB0_2
	b	LBB0_15
LBB0_4:
Lloh4:
	adrp	x20, _xpNoMemory@GOTPAGE
Lloh5:
	ldr	x20, [x20, _xpNoMemory@GOTPAGEOFF]
	b	LBB0_15
LBB0_5:
	mov	x8, #0
	ldr	w10, [x19, #4]
	sxtw	x9, w10
	cmp	w21, #16
	b.lo	LBB0_10
; %bb.6:
	cmp	w10, #1
	b.ne	LBB0_10
; %bb.7:
	and	x8, x21, #0xfffffff0
	add	x10, x0, #32
	lsl	x11, x9, #6
	ubfx	x12, x21, #4, #28
Lloh6:
	adrp	x13, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x13, lCPI0_0@PAGEOFF]
	lsl	x12, x12, #4
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	movi.4s	v4, #16
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v5, v0, v1
	add.4s	v6, v0, v2
	add.4s	v7, v0, v3
	stp	q0, q5, [x10, #-32]
	stp	q6, q7, [x10]
	add.4s	v0, v0, v4
	add	x10, x10, x11
	subs	x12, x12, #16
	b.ne	LBB0_8
; %bb.9:
	cmp	x21, x8
	b.eq	LBB0_12
LBB0_10:
	mul	x10, x8, x9
	add	x10, x0, x10, lsl #2
	lsl	x9, x9, #2
	sub	x11, x21, x8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	w8, [x10]
	add	w8, w8, #1
	add	x10, x10, x9
	subs	x11, x11, #1
	b.ne	LBB0_11
LBB0_12:
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x19]
	cmp	w21, w8
	b.ge	LBB0_14
; %bb.13:
	str	w21, [x19]
LBB0_14:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh8:
	adrp	x20, _xpSuccess@GOTPAGE
Lloh9:
	ldr	x20, [x20, _xpSuccess@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_xpSuccess,4,2                  ; @xpSuccess
	.comm	_xpNoMemory,4,2                 ; @xpNoMemory
	.no_dead_strip	_xpc_allocate_recv_msg_slot_uv
.subsections_via_symbols
