	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cores_to_range                 ## -- Begin function cores_to_range
	.p2align	4, 0x90
_cores_to_range:                        ## @cores_to_range
	.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	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, (%rsi)
	jne	LBB0_11
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r15
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.3:
	movl	$1, %eax
	movl	$16, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rcx
	leal	1(%rcx), %eax
	addl	$16, %edi
	cmpq	$0, (%r15,%rcx,8)
	jne	LBB0_4
	jmp	LBB0_5
LBB0_2:
	movl	$16, %edi
LBB0_5:
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, (%r12)
	movq	(%r15), %r14
	testq	%r14, %r14
	je	LBB0_6
## %bb.7:
	movq	%r15, -1080(%rbp)               ## 8-byte Spill
	movq	%r12, %r15
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	callq	_strdup
	movq	%rax, 8(%rbx,%r12)
	movl	8(%r14), %edx
	leaq	-1072(%rbp), %rbx
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_strdup
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%r12)
	movq	-1080(%rbp), %rax               ## 8-byte Reload
	movq	8(%rax,%r13,8), %r14
	incq	%r13
	addq	$16, %r12
	movq	(%r15), %rbx
	testq	%r14, %r14
	jne	LBB0_8
## %bb.9:
	movl	%r13d, %eax
	movq	%r15, %r12
	jmp	LBB0_10
LBB0_6:
	xorl	%eax, %eax
LBB0_10:
	shlq	$4, %rax
	movq	$0, 8(%rbx,%rax)
	movq	(%r12), %rcx
	movq	$0, (%rcx,%rax)
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cores_to_range                 ; -- Begin function cores_to_range
	.p2align	2
_cores_to_range:                        ; @cores_to_range
	.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
	sub	sp, sp, #1040
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x8, [x1]
	cbnz	x8, LBB0_11
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w8, #1
	mov	w0, #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, w8, sxtw #3]
	add	w8, w8, #1
	add	w0, w0, #16
	cbnz	x9, LBB0_3
	b	LBB0_5
LBB0_4:
	mov	w0, #16
LBB0_5:
	bl	_malloc
	mov	x20, x0
	str	x0, [x19]
	ldr	x25, [x21]
	cbz	x25, LBB0_9
; %bb.6:
	mov	x22, #0
	mov	x24, #0
	add	x23, x21, #8
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25]
	bl	_strdup
	add	x8, x20, x22
	str	x0, [x8, #8]
	ldr	w2, [x25, #8]
	add	x0, sp, #8
	mov	x1, x21
	bl	_sprintf
	add	x0, sp, #8
	bl	_strdup
	ldr	x8, [x19]
	str	x0, [x8, x22]
	add	x8, x24, #1
	ldr	x25, [x23, x24, lsl #3]
	ldr	x20, [x19]
	add	x22, x22, #16
	mov	x24, x8
	cbnz	x25, LBB0_7
; %bb.8:
	and	x8, x8, #0xffffffff
	b	LBB0_10
LBB0_9:
	mov	x8, #0
LBB0_10:
	lsl	x8, x8, #4
	add	x9, x20, x8
	str	xzr, [x9, #8]
	ldr	x9, [x19]
	str	xzr, [x9, x8]
LBB0_11:
	ldur	x8, [x29, #-72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	add	sp, sp, #1040
	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
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

.subsections_via_symbols
