	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsHub                          ## -- Begin function PsHub
	.p2align	4, 0x90
_PsHub:                                 ## @PsHub
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -96(%rbp)
	leaq	-96(%rbp), %rcx
	movl	$1, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_GetParamStr
	movl	%eax, %edi
	callq	_IsEmptyStr
	testl	%eax, %eax
	je	LBB0_3
## %bb.8:
	cmpq	$0, (%r15)
	je	LBB0_10
## %bb.9:
	movq	(%r14), %r12
	leaq	L_.str.2(%rip), %rdi
	callq	__UU
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	*%r12
	movq	(%r15), %rdi
	callq	_Free
LBB0_10:
	movq	$0, (%r15)
	jmp	LBB0_11
LBB0_1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_12
LBB0_3:
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	(,%r12,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	leaq	-104(%rbp), %rdi
	movl	$4, %esi
	callq	_Zero
	movl	-104(%rbp), %r13d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_GetParamStr
	movl	%r13d, %edi
	movl	$4, %esi
	movl	%eax, %edx
	callq	_StrCpy
	movl	8(%r15), %edi
	leaq	-104(%rbp), %rsi
	callq	_ScGetHubStatus
	movq	%rax, %r13
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_7
## %bb.4:
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_Free
LBB0_6:
	movl	-104(%rbp), %edi
	callq	_CopyStr
	movq	%rax, (%r15)
	shll	$2, %r12d
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movl	-104(%rbp), %ecx
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%rax, %rdx
	callq	_UniFormat
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	*(%r14)
	movq	%r13, %rsp
LBB0_11:
	movq	%rbx, %rdi
	callq	_FreeParamValueList
	xorl	%r13d, %r13d
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movq	%r13, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_CmdPrintError
	movq	%rbx, %rdi
	callq	_FreeParamValueList
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[name]"

	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"CMD_Hub_Selected"

L_.str.2:                               ## @.str.2
	.asciz	"CMD_Hub_Unselected"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsHub                          ; -- Begin function PsHub
	.p2align	2
_PsHub:                                 ; @PsHub
	.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, #64
	mov	x21, x3
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	movi.2d	v0, #0000000000000000
	stur	q0, [x29, #-88]
	stur	q0, [x29, #-104]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	stur	x8, [x29, #-112]
	sub	x3, x29, #112
	mov	w4, #1
	bl	_ParseCommandList
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_GetParamStr
	bl	_IsEmptyStr
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x22, [x20]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x20
	blr	x22
	ldr	x0, [x21]
	bl	_Free
LBB0_4:
	str	xzr, [x21]
	b	LBB0_10
LBB0_5:
Lloh9:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh11:
	ldr	x23, [x8]
	b	LBB0_11
LBB0_6:
	mov	x24, sp
Lloh12:
	adrp	x8, _MAX_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w25, [x8]
	lsl	x8, x25, #2
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	sub	x0, x29, #120
	mov	w1, #4
	bl	_Zero
	ldur	w23, [x29, #-120]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_GetParamStr
	mov	x2, x0
	mov	x0, x23
	mov	w1, #4
	bl	_StrCpy
	ldr	w0, [x21, #8]
	sub	x1, x29, #120
	bl	_ScGetHubStatus
Lloh19:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.7:
	ldr	x0, [x21]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_Free
LBB0_9:
	ldur	w0, [x29, #-120]
	bl	_CopyStr
	str	x0, [x21]
	lsl	w21, w25, #2
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__UU
	mov	x2, x0
	ldur	w3, [x29, #-120]
	mov	x0, x22
	mov	x1, x21
	bl	_UniFormat
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	mov	sp, x24
LBB0_10:
	mov	x0, x19
	bl	_FreeParamValueList
	mov	x23, #0
LBB0_11:
	ldur	x8, [x29, #-72]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.12:
	mov	x0, x23
	sub	sp, x29, #64
	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:
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_CmdPrintError
	mov	x0, x19
	bl	_FreeParamValueList
	mov	sp, x24
	b	LBB0_11
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[name]"

	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"CMD_Hub_Selected"

l_.str.2:                               ; @.str.2
	.asciz	"CMD_Hub_Unselected"

.subsections_via_symbols
