	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function topology_parse
_topology_parse:                        ## @topology_parse
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_strdup
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_26
## %bb.1:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str(%rip), %r14
	leaq	-80(%rbp), %r12
	leaq	-44(%rbp), %r13
	leaq	-84(%rbp), %rbx
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	movl	-44(%rbp), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	-84(%rbp), %rax
	cmpb	$0, (%r15,%rax)
	jne	LBB0_26
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_11
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%r15)
	je	LBB0_2
	jmp	LBB0_26
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movl	-44(%rbp), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	jmp	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movl	-44(%rbp), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movl	-44(%rbp), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_12
LBB0_26:
	movq	-80(%rbp), %rdi
	callq	_free
	movl	$-1, %eax
LBB0_27:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	-80(%rbp), %rdi
	callq	_free
	movl	$-1, %eax
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	jle	LBB0_27
## %bb.14:
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_27
## %bb.15:
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	jle	LBB0_27
## %bb.16:
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	testl	%r8d, %r8d
	jle	LBB0_27
## %bb.17:
	movq	_UINT16_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %edi
	jg	LBB0_27
## %bb.18:
	cmpl	%ecx, %ebx
	jg	LBB0_27
## %bb.19:
	cmpl	%ecx, %esi
	jg	LBB0_27
## %bb.20:
	cmpl	%ecx, %r8d
	jg	LBB0_27
## %bb.21:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	cmovel	%edi, %ebx
	movl	%r8d, %edx
	imull	%esi, %edx
	imull	%ebx, %edx
	cmpl	%ecx, %edx
	jg	LBB0_27
## %bb.22:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_24
## %bb.23:
	cmpl	%edx, %edi
	jne	LBB0_27
LBB0_24:
	movq	_guest_ncpus@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	movq	_sockets@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_cores@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	movq	_threads@GOTPCREL(%rip), %rax
	movl	%r8d, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	","

L_.str.1:                               ## @.str.1
	.asciz	"%i%n"

L_.str.2:                               ## @.str.2
	.asciz	"cpus=%i%n"

L_.str.3:                               ## @.str.3
	.asciz	"sockets=%i%n"

L_.str.4:                               ## @.str.4
	.asciz	"cores=%i%n"

L_.str.5:                               ## @.str.5
	.asciz	"threads=%i%n"

	.comm	_UINT16_MAX,4,2                 ## @UINT16_MAX
	.comm	_guest_ncpus,4,2                ## @guest_ncpus
	.comm	_sockets,4,2                    ## @sockets
	.comm	_cores,4,2                      ## @cores
	.comm	_threads,4,2                    ## @threads
	.comm	_m,4,2                          ## @m
	.no_dead_strip	_topology_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function topology_parse
_topology_parse:                        ; @topology_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_strdup
	str	x0, [sp, #16]
	cbz	x0, LBB0_14
; %bb.1:
	mov	w27, #0
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh6:
	adrp	x22, l_.str.3@PAGE
Lloh7:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh8:
	adrp	x23, l_.str.4@PAGE
Lloh9:
	add	x23, x23, l_.str.4@PAGEOFF
	mov	w8, #1
	stp	w8, wzr, [sp, #8]               ; 8-byte Folded Spill
	mov	w28, #1
	mov	w26, #1
	mov	w8, #1
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
Lloh10:
	adrp	x24, l_.str.5@PAGE
Lloh11:
	add	x24, x24, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w28, [sp, #24]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [sp, #28]
	ldrb	w8, [x25, x8]
	cbnz	w8, LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	mov	x1, x19
	bl	_strsep
	cbz	x0, LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	add	x2, sp, #24
	add	x3, sp, #28
	mov	x1, x20
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #24
	add	x3, sp, #28
	mov	x0, x25
	mov	x1, x21
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #24
	add	x3, sp, #28
	mov	x0, x25
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #24
	add	x3, sp, #28
	mov	x0, x25
	mov	x1, x23
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #24
	add	x3, sp, #28
	mov	x0, x25
	mov	x1, x24
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x25]
	cbz	w8, LBB0_4
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #1
	ldr	w26, [sp, #24]
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #1
	ldr	w8, [sp, #24]
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #1
	ldr	w8, [sp, #24]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	b	LBB0_3
LBB0_14:
	ldr	x0, [sp, #16]
	bl	_free
LBB0_15:
	mov	w0, #-1
LBB0_16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_17:
	ldr	x0, [sp, #16]
	bl	_free
	mov	w0, #-1
	cmp	w28, #1
	b.lt	LBB0_16
; %bb.18:
	cmp	w26, #1
	b.lt	LBB0_16
; %bb.19:
	ldr	w11, [sp, #8]                   ; 4-byte Folded Reload
	cmp	w11, #1
	b.lt	LBB0_16
; %bb.20:
	ldr	w12, [sp, #4]                   ; 4-byte Folded Reload
	cmp	w12, #1
	b.lt	LBB0_16
; %bb.21:
Lloh12:
	adrp	x8, _UINT16_MAX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UINT16_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x8]
	cmp	w28, w10
	ccmp	w26, w10, #0, le
	ccmp	w11, w10, #0, le
	ccmp	w12, w10, #0, le
	b.gt	LBB0_15
; %bb.22:
	cmp	w27, #0
	csel	w8, w28, w26, eq
	mul	w9, w12, w11
	mul	w9, w9, w8
	cmp	w9, w10
	b.gt	LBB0_15
; %bb.23:
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	cbz	w10, LBB0_25
; %bb.24:
	cmp	w28, w9
	b.ne	LBB0_15
LBB0_25:
	mov	w0, #0
Lloh15:
	adrp	x10, _guest_ncpus@GOTPAGE
Lloh16:
	ldr	x10, [x10, _guest_ncpus@GOTPAGEOFF]
Lloh17:
	str	w9, [x10]
Lloh18:
	adrp	x9, _sockets@GOTPAGE
Lloh19:
	ldr	x9, [x9, _sockets@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
Lloh21:
	adrp	x8, _cores@GOTPAGE
Lloh22:
	ldr	x8, [x8, _cores@GOTPAGEOFF]
Lloh23:
	str	w11, [x8]
Lloh24:
	adrp	x8, _threads@GOTPAGE
Lloh25:
	ldr	x8, [x8, _threads@GOTPAGEOFF]
Lloh26:
	str	w12, [x8]
	b	LBB0_16
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

l_.str.1:                               ; @.str.1
	.asciz	"%i%n"

l_.str.2:                               ; @.str.2
	.asciz	"cpus=%i%n"

l_.str.3:                               ; @.str.3
	.asciz	"sockets=%i%n"

l_.str.4:                               ; @.str.4
	.asciz	"cores=%i%n"

l_.str.5:                               ; @.str.5
	.asciz	"threads=%i%n"

	.comm	_UINT16_MAX,4,2                 ; @UINT16_MAX
	.comm	_guest_ncpus,4,2                ; @guest_ncpus
	.comm	_sockets,4,2                    ; @sockets
	.comm	_cores,4,2                      ; @cores
	.comm	_threads,4,2                    ; @threads
	.comm	_m,4,2                          ; @m
	.no_dead_strip	_topology_parse
.subsections_via_symbols
