	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pincpu_parse
_pincpu_parse:                          ## @pincpu_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-12(%rbp), %rdx
	leaq	-16(%rbp), %rcx
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_9
## %bb.1:
	movl	-12(%rbp), %edx
	movq	_VM_MAXCPU@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%edx, %edx
	js	LBB0_10
## %bb.2:
	cmpl	%ecx, %edx
	jge	LBB0_10
## %bb.3:
	movl	-16(%rbp), %eax
	movq	_CPU_SETSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:
	cmpl	%ecx, %eax
	jge	LBB0_11
## %bb.5:
	movq	_vcpumap@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cmpq	$0, (%rcx,%rdx,8)
	jne	LBB0_8
## %bb.6:
	movl	$4, %edi
	callq	_malloc
	movq	(%rbx), %rdx
	movslq	-12(%rbp), %rcx
	movq	%rax, (%rdx,%rcx,8)
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movq	(%rbx), %rax
	movq	(%rax,%rcx,8), %rdi
	callq	_CPU_ZERO
	movl	-16(%rbp), %eax
	movq	(%rbx), %rcx
	movl	-12(%rbp), %edx
LBB0_8:
	movslq	%edx, %rdx
	movq	(%rcx,%rdx,8), %rsi
	movl	%eax, %edi
	callq	_CPU_SET
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_13
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	decl	%ecx
	leaq	L_.str.2(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_12
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	decl	%ecx
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
LBB0_12:
	xorl	%eax, %eax
	callq	_fprintf
LBB0_13:
	movl	$-1, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str.4(%rip), %rdi
	callq	_perror
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d:%d"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"invalid format: %s\n"

	.comm	_VM_MAXCPU,4,2                  ## @VM_MAXCPU
L_.str.2:                               ## @.str.2
	.asciz	"vcpu '%d' outside valid range from 0 to %d\n"

	.comm	_CPU_SETSIZE,4,2                ## @CPU_SETSIZE
L_.str.3:                               ## @.str.3
	.asciz	"hostcpu '%d' outside valid range from 0 to %d\n"

	.comm	_vcpumap,8,3                    ## @vcpumap
L_.str.4:                               ## @.str.4
	.asciz	"malloc"

	.no_dead_strip	_pincpu_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pincpu_parse
_pincpu_parse:                          ; @pincpu_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #20
	add	x3, sp, #24
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_9
; %bb.1:
	ldur	w8, [x29, #-20]
Lloh2:
	adrp	x9, _VM_MAXCPU@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VM_MAXCPU@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tbnz	w8, #31, LBB0_10
; %bb.2:
	cmp	w8, w9
	b.ge	LBB0_10
; %bb.3:
	ldr	w0, [sp, #24]
Lloh5:
	adrp	x9, _CPU_SETSIZE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CPU_SETSIZE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tbnz	w0, #31, LBB0_11
; %bb.4:
	cmp	w0, w9
	b.ge	LBB0_11
; %bb.5:
Lloh8:
	adrp	x19, _vcpumap@GOTPAGE
Lloh9:
	ldr	x19, [x19, _vcpumap@GOTPAGEOFF]
	ldr	x9, [x19]
	ldr	x10, [x9, x8, lsl #3]
	cbnz	x10, LBB0_8
; %bb.6:
	mov	w0, #4
	bl	_malloc
	ldr	x9, [x19]
	ldursw	x8, [x29, #-20]
	str	x0, [x9, x8, lsl #3]
	cbz	x0, LBB0_15
; %bb.7:
	ldr	x9, [x19]
	ldr	x0, [x9, x8, lsl #3]
	bl	_CPU_ZERO
	ldr	w0, [sp, #24]
	ldr	x9, [x19]
	ldur	w8, [x29, #-20]
LBB0_8:
	ldr	x1, [x9, w8, sxtw #3]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_CPU_SET
	mov	w0, #0
	b	LBB0_14
LBB0_9:
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x10, _stderr@GOTPAGE
Lloh16:
	ldr	x10, [x10, _stderr@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x10]
	sub	w9, w9, #1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x8, x9, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh20:
	adrp	x8, _stderr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	sub	w9, w9, #1
	stp	x0, x9, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x8
LBB0_12:
	bl	_fprintf
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_15:
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_perror
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d:%d"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"invalid format: %s\n"

	.comm	_VM_MAXCPU,4,2                  ; @VM_MAXCPU
l_.str.2:                               ; @.str.2
	.asciz	"vcpu '%d' outside valid range from 0 to %d\n"

	.comm	_CPU_SETSIZE,4,2                ; @CPU_SETSIZE
l_.str.3:                               ; @.str.3
	.asciz	"hostcpu '%d' outside valid range from 0 to %d\n"

	.comm	_vcpumap,8,3                    ; @vcpumap
l_.str.4:                               ; @.str.4
	.asciz	"malloc"

	.no_dead_strip	_pincpu_parse
.subsections_via_symbols
