	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cache_change_disk_status
_cache_change_disk_status:              ## @cache_change_disk_status
	.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
	movl	%esi, %ebx
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	movl	%ebx, %r9d
	callq	_vkprintf
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	xorl	%esi, %esi
	callq	_get_disabled_server_f
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	$-1, %esi
	callq	_get_disabled_server_f
	movq	%rax, %rdi
	movl	$8, %esi
	callq	_zfree
	movq	_tot_disabled_servers@GOTPCREL(%rip), %rax
	decl	(%rax)
	jmp	LBB0_4
LBB0_3:
	movl	$1, %esi
	callq	_get_disabled_server_f
	movq	(%rax), %rdi
	movl	$-1, %esi
	movl	$8, %edx
	callq	_memset
LBB0_4:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache_change_disk_status (node_id:%d, server_id:%d, disk_id:%d, enable:%d)\n"

	.comm	_MAX_SERVER_ID,4,2              ## @MAX_SERVER_ID
	.comm	_tot_disabled_servers,4,2       ## @tot_disabled_servers
	.no_dead_strip	_cache_change_disk_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cache_change_disk_status
_cache_change_disk_status:              ; @cache_change_disk_status
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	w2, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	mov	x5, x19
	bl	_vkprintf
	cbz	w19, LBB0_3
; %bb.1:
	mov	w1, #0
	bl	_get_disabled_server_f
	cbz	x0, LBB0_4
; %bb.2:
	mov	w1, #-1
	bl	_get_disabled_server_f
	mov	w1, #8
	bl	_zfree
Lloh2:
	adrp	x8, _tot_disabled_servers@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tot_disabled_servers@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	b	LBB0_4
LBB0_3:
	mov	w1, #1
	bl	_get_disabled_server_f
	ldr	x0, [x0]
	mov	w1, #-1
	mov	w2, #8
	bl	_memset
LBB0_4:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache_change_disk_status (node_id:%d, server_id:%d, disk_id:%d, enable:%d)\n"

	.comm	_MAX_SERVER_ID,4,2              ; @MAX_SERVER_ID
	.comm	_tot_disabled_servers,4,2       ; @tot_disabled_servers
	.no_dead_strip	_cache_change_disk_status
.subsections_via_symbols
