	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StSetHubLog                    ## -- Begin function StSetHubLog
	.p2align	4, 0x90
_StSetHubLog:                           ## @StSetHubLog
	.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	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_LockHubList
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_GetHub
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_UnlockHubList
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	cmpl	$0, (%r12)
	je	LBB0_3
LBB0_5:
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ALog
	xorl	%edx, %edx
	cmpl	$0, (%r12)
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_GetHubAdminOption
	xorl	%edx, %edx
	testq	%rax, %rax
	setne	%dl
LBB0_7:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_SetHubLogSettingEx
	incl	(%r13)
	movq	%r13, %rdi
	callq	_SiHubUpdateProc
	movq	%r13, %rdi
	callq	_ReleaseHub
	movq	%r14, %rdi
	callq	_IncrementServerConfigRevision
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_GetHubAdminOption
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	callq	_ReleaseHub
	movq	_ERR_NOT_ENOUGH_RIGHT@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECK_RIGHT,4,2                ## @CHECK_RIGHT
	.comm	_ERR_HUB_NOT_FOUND,4,2          ## @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no_change_log_config"

	.comm	_ERR_NOT_ENOUGH_RIGHT,4,2       ## @ERR_NOT_ENOUGH_RIGHT
L_.str.1:                               ## @.str.1
	.asciz	"LA_SET_HUB_LOG"

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

	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StSetHubLog                    ; -- Begin function StSetHubLog
	.p2align	2
_StSetHubLog:                           ; @StSetHubLog
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x22, x0
	ldr	x19, [x0, #8]
	ldr	x23, [x19]
	mov	x0, x23
	bl	_LockHubList
	ldr	w1, [x21, #4]
	mov	x0, x23
	bl	_GetHub
	mov	x20, x0
	mov	x0, x23
	bl	_UnlockHubList
	cbz	x20, LBB0_4
; %bb.1:
	ldr	w8, [x22]
	cbz	w8, LBB0_5
LBB0_2:
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x20
	bl	_ALog
	ldr	w8, [x22]
	cbz	w8, LBB0_7
; %bb.3:
	mov	w2, #0
	b	LBB0_8
LBB0_4:
Lloh2:
	adrp	x8, _ERR_HUB_NOT_FOUND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_HUB_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_GetHubAdminOption
	cbz	x0, LBB0_2
; %bb.6:
	mov	x0, x20
	bl	_ReleaseHub
Lloh6:
	adrp	x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_GetHubAdminOption
	cmp	x0, #0
	cset	w2, ne
LBB0_8:
	mov	x0, x20
	mov	x1, x21
	bl	_SetHubLogSettingEx
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	x0, x20
	bl	_SiHubUpdateProc
	mov	x0, x20
	bl	_ReleaseHub
	mov	x0, x19
	bl	_IncrementServerConfigRevision
Lloh10:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECK_RIGHT,4,2                ; @CHECK_RIGHT
	.comm	_ERR_HUB_NOT_FOUND,4,2          ; @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no_change_log_config"

	.comm	_ERR_NOT_ENOUGH_RIGHT,4,2       ; @ERR_NOT_ENOUGH_RIGHT
l_.str.1:                               ; @.str.1
	.asciz	"LA_SET_HUB_LOG"

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

	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
.subsections_via_symbols
