	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lace_cpus_together
_lace_cpus_together:                    ## @lace_cpus_together
	.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	_ncnts@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.1:
	movl	$1, %r12d
	xorl	%ebx, %ebx
	movq	_cnts@GOTPCREL(%rip), %r13
	movq	_MAX_CPU@GOTPCREL(%rip), %r14
	jmp	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_printf
	movl	(%r15), %eax
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	incq	%r12
	cmpq	%rcx, %rbx
	jge	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	(%r13), %rcx
	movq	%rbx, %rdx
	shlq	$4, %rdx
	cmpq	$0, 8(%rcx,%rdx)
	jne	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rdx, %rcx
	movslq	(%rcx), %rsi
	cmpl	(%r14), %esi
	jge	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_glob_cpu@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rdx,%rsi,8)
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, (%rdx,%rsi,8)
	leaq	1(%rbx), %rdx
	movslq	%eax, %rdi
	cmpq	%rdi, %rdx
	jge	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	movq	%r12, %rdi
	shlq	$4, %rdi
	addq	(%r13), %rdi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	addq	$16, %rdi
	decq	%rdx
	cmpq	%rdx, %r12
	je	LBB0_12
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 8(%rdi)
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpl	%esi, (%rdi)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	%rdi, 8(%rcx)
	movq	%rdi, %rcx
	jmp	LBB0_11
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ncnts,4,2                      ## @ncnts
	.comm	_cnts,8,3                       ## @cnts
	.comm	_MAX_CPU,4,2                    ## @MAX_CPU
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CPU %d to big\n"

	.comm	_glob_cpu,8,3                   ## @glob_cpu
	.no_dead_strip	_lace_cpus_together
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lace_cpus_together
_lace_cpus_together:                    ; @lace_cpus_together
	.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
Lloh0:
	adrp	x20, _ncnts@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ncnts@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x21, #0
	mov	w22, #1
Lloh2:
	adrp	x23, _cnts@GOTPAGE
Lloh3:
	ldr	x23, [x23, _cnts@GOTPAGEOFF]
Lloh4:
	adrp	x24, _MAX_CPU@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MAX_CPU@GOTPAGEOFF]
Lloh6:
	adrp	x25, _glob_cpu@GOTPAGE
Lloh7:
	ldr	x25, [x25, _glob_cpu@GOTPAGEOFF]
Lloh8:
	adrp	x19, l_.str@PAGE
Lloh9:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_printf
	ldr	w8, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	add	x22, x22, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x9, [x23]
	add	x9, x9, x21, lsl #4
	ldr	x10, [x9, #8]
	cbnz	x10, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x1, [x9]
	ldr	w10, [x24]
	cmp	w1, w10
	b.ge	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x25]
	ldr	x11, [x10, x1, lsl #3]
	cbnz	x11, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x9, [x10, x1, lsl #3]
	add	x10, x21, #1
	cmp	x10, w8, sxtw
	b.ge	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x23]
	mov	w10, w8
	add	x11, x11, x22, lsl #4
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x11, x11, #16
	sub	x10, x10, #1
	cmp	x22, x10
	b.eq	LBB0_3
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x11, #8]
	cbnz	x12, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w12, [x11]
	cmp	w12, w1
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	str	x11, [x9, #8]
	mov	x9, x11
	b	LBB0_9
LBB0_13:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ncnts,4,2                      ; @ncnts
	.comm	_cnts,8,3                       ; @cnts
	.comm	_MAX_CPU,4,2                    ; @MAX_CPU
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CPU %d to big\n"

	.comm	_glob_cpu,8,3                   ; @glob_cpu
	.no_dead_strip	_lace_cpus_together
.subsections_via_symbols
