	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sw_init_prio_rate
_sw_init_prio_rate:                     ## @sw_init_prio_rate
	.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
	movq	_TOTAL_PORT_NUM@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_19
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %r12
	xorl	%r13d, %r13d
	movq	_PRIO_QUEUES@GOTPCREL(%rip), %rbx
	xorps	%xmm0, %xmm0
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_sw_dis_prio_rate
	xorps	%xmm0, %xmm0
	incq	%r13
	movslq	(%r15), %rax
	cmpq	%rax, %r13
	jge	LBB0_19
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
	movl	(%rbx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	movq	%r13, %rdx
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rcx
	movq	8(%rax,%rdx), %rdx
	cmpl	$4, %r8d
	jb	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, %rax
	subq	%rcx, %rax
	movl	$0, %esi
	cmpq	$32, %rax
	jb	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %esi
	andl	$-4, %esi
	leaq	-4(%rsi), %rax
	movq	%rax, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$12, %rax
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_14
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	andq	$-4, %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	%xmm0, (%rcx,%rax,8)
	movups	%xmm0, 16(%rcx,%rax,8)
	movups	%xmm0, (%rdx,%rax,8)
	movups	%xmm0, 16(%rdx,%rax,8)
	movups	%xmm0, 32(%rcx,%rax,8)
	movups	%xmm0, 48(%rcx,%rax,8)
	movups	%xmm0, 32(%rdx,%rax,8)
	movups	%xmm0, 48(%rdx,%rax,8)
	movups	%xmm0, 64(%rcx,%rax,8)
	movups	%xmm0, 80(%rcx,%rax,8)
	movups	%xmm0, 64(%rdx,%rax,8)
	movups	%xmm0, 80(%rdx,%rax,8)
	movups	%xmm0, 96(%rcx,%rax,8)
	movups	%xmm0, 112(%rcx,%rax,8)
	movups	%xmm0, 96(%rdx,%rax,8)
	movups	%xmm0, 112(%rdx,%rax,8)
	addq	$16, %rax
	addq	$-4, %rdi
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r9, %r9
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rdx,%rax,8), %rdi
	addq	$16, %rdi
	leaq	(%rcx,%rax,8), %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	%xmm0, -16(%rax,%rbx)
	movups	%xmm0, (%rax,%rbx)
	movups	%xmm0, -16(%rdi,%rbx)
	movups	%xmm0, (%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r8, %rsi
	movq	_PRIO_QUEUES@GOTPCREL(%rip), %rbx
	je	LBB0_18
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %rax
	notq	%rax
	addq	%r8, %rax
	movq	%r8, %rdi
	andq	$3, %rdi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	$0, (%rcx,%rsi,8)
	movq	$0, (%rdx,%rsi,8)
	incq	%rsi
	decq	%rdi
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$3, %rax
	jb	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	$0, (%rcx,%rsi,8)
	movq	$0, (%rdx,%rsi,8)
	movq	$0, 8(%rcx,%rsi,8)
	movq	$0, 8(%rdx,%rsi,8)
	movq	$0, 16(%rcx,%rsi,8)
	movq	$0, 16(%rdx,%rsi,8)
	movq	$0, 24(%rcx,%rsi,8)
	movq	$0, 24(%rdx,%rsi,8)
	addq	$4, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_17
	jmp	LBB0_18
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOTAL_PORT_NUM,4,2             ## @TOTAL_PORT_NUM
	.comm	_PRIO_QUEUES,4,2                ## @PRIO_QUEUES
	.no_dead_strip	_sw_init_prio_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sw_init_prio_rate
_sw_init_prio_rate:                     ; @sw_init_prio_rate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x21, _TOTAL_PORT_NUM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TOTAL_PORT_NUM@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	ldr	x22, [x0]
Lloh2:
	adrp	x23, _PRIO_QUEUES@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PRIO_QUEUES@GOTPAGEOFF]
	movi.2d	v0, #0000000000000000
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_sw_dis_prio_rate
	movi.2d	v0, #0000000000000000
	add	x20, x20, #1
	ldrsw	x8, [x21]
	cmp	x20, x8
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, #0
	ldr	x10, [x22]
	add	x11, x10, x20, lsl #4
	ldp	x10, x11, [x11]
	cmp	w8, #8
	b.lo	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x12, x11, x10
	cmp	x12, #64
	b.lo	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	and	x9, x8, #0xfffffff8
	add	x12, x11, #32
	add	x13, x10, #32
	mov	x14, x9
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x13, #-32]
	stp	q0, q0, [x13], #64
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	subs	x14, x14, #8
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x9, x8
	b.eq	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	x12, x9, #3
	add	x11, x11, x12
	add	x10, x10, x12
	sub	x8, x8, x9
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	xzr, [x10], #8
	str	xzr, [x11], #8
	subs	x8, x8, #1
	b.ne	LBB0_10
	b	LBB0_2
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TOTAL_PORT_NUM,4,2             ; @TOTAL_PORT_NUM
	.comm	_PRIO_QUEUES,4,2                ; @PRIO_QUEUES
	.no_dead_strip	_sw_init_prio_rate
.subsections_via_symbols
